]>
git.ipfire.org Git - pbs.git/log
Michael Tremer [Sun, 23 Oct 2022 15:33:52 +0000 (15:33 +0000)]
uploads: Refactor caching the whole thing again...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 15:13:50 +0000 (15:13 +0000)]
distro: Drop old source handlers
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 15:11:44 +0000 (15:11 +0000)]
distros: Refactor editing distributions
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 13:03:26 +0000 (13:03 +0000)]
web: Refactor repository detail page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:51:01 +0000 (12:51 +0000)]
web: Always wrap any custom text into a content div
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:45:59 +0000 (12:45 +0000)]
web: Refactor distro detail page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:38:01 +0000 (12:38 +0000)]
distros: Refactor listing page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:28:49 +0000 (12:28 +0000)]
jobs: Move the UI module to the correct place
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:23:59 +0000 (12:23 +0000)]
web: Drop BuildTable module and dependant modules
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:18:43 +0000 (12:18 +0000)]
distro: Drop some unused update handlers
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:15:14 +0000 (12:15 +0000)]
distros: Drop unused handlers
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:09:00 +0000 (12:09 +0000)]
web: Refactor job queue page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sun, 23 Oct 2022 12:05:47 +0000 (12:05 +0000)]
web: Refactor Text UI module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 21 Oct 2022 13:31:51 +0000 (13:31 +0000)]
JS: Add script to make the burger button on the navbar work
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 18:37:20 +0000 (18:37 +0000)]
web: Refactor users page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 18:16:28 +0000 (18:16 +0000)]
web: Refactor repository listing
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 18:13:15 +0000 (18:13 +0000)]
web: Refactor builds listings
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:51:54 +0000 (17:51 +0000)]
web: auth: Fix Kerberos authentication after changes to users
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:48:08 +0000 (17:48 +0000)]
web: Drop unused BuildStateWarnings module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:45:46 +0000 (17:45 +0000)]
web: Drop the unused Modal module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:41:09 +0000 (17:41 +0000)]
web: Drop unused BuildOffset module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:38:57 +0000 (17:38 +0000)]
web: Drop unused LogFilesTable module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:37:30 +0000 (17:37 +0000)]
web: Drop the unused FileDetail Handler
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:35:31 +0000 (17:35 +0000)]
web: Drop unused FilesTable module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:34:07 +0000 (17:34 +0000)]
web: Use correct tag for headline
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 17:30:34 +0000 (17:30 +0000)]
packages: Refactor the detail page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 16:59:23 +0000 (16:59 +0000)]
JS: Make dropdowns work
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 16:37:51 +0000 (16:37 +0000)]
packages: Move controls above the bug list
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 16:35:59 +0000 (16:35 +0000)]
bugtracker: Implement some hack to filter for only open bugs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 16:27:48 +0000 (16:27 +0000)]
web: Refactor the package detail page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 16:26:51 +0000 (16:26 +0000)]
users: Throw a better error when there are duplicate email addresses
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 15:45:44 +0000 (15:45 +0000)]
builds: Improve fail email
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 15:40:50 +0000 (15:40 +0000)]
tests: build: Create a case where one job fails
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 15:40:32 +0000 (15:40 +0000)]
jobs: Improve the fail email (and include some parts of the log)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 15:21:22 +0000 (15:21 +0000)]
jobs: Fix wrong function call to send an email
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 15:14:22 +0000 (15:14 +0000)]
jobs: Add log handler to stream the log to the browser
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 15:14:01 +0000 (15:14 +0000)]
jobs: Fix wrong variable name in log opening function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:58:21 +0000 (14:58 +0000)]
Revert "jobs: Attempt opening logs in text mode"
This reverts commit
b10cea53c3e910adcbd02b9d71c2dfd58e193140 .
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:57:06 +0000 (14:57 +0000)]
jobs: Add a function to tail logs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:36:51 +0000 (14:36 +0000)]
jobs: Attempt opening logs in text mode
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:34:44 +0000 (14:34 +0000)]
tests: Check if we don't have a log file before uploading one
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:33:41 +0000 (14:33 +0000)]
jobs: Add function to open the log file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:33:16 +0000 (14:33 +0000)]
jobs: Fix sending emails to job owner
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:18:43 +0000 (14:18 +0000)]
tests: build: Temporarily disable uploading packages
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:17:13 +0000 (14:17 +0000)]
backend: Add function to create parent directories
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:16:48 +0000 (14:16 +0000)]
jobs: Create log directory before opening file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:15:47 +0000 (14:15 +0000)]
tests: build: Include a log file into finished build
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:14:54 +0000 (14:14 +0000)]
uploads: Fix typo in copyinto() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 14:07:09 +0000 (14:07 +0000)]
tests: Allow faking the distribution
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 13:41:47 +0000 (13:41 +0000)]
jobs: Compress log files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 04:37:40 +0000 (04:37 +0000)]
web: Refactor builder edit page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 04:19:52 +0000 (04:19 +0000)]
web: Refactor builder detail page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 04:11:11 +0000 (04:11 +0000)]
web: Refactor builders index page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:55:45 +0000 (03:55 +0000)]
Drop Foundation Sites
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:54:02 +0000 (03:54 +0000)]
web: Bring back some JS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:50:39 +0000 (03:50 +0000)]
CSS: Use the primary colour for all links
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:49:28 +0000 (03:49 +0000)]
web: Highlight the brand name
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:48:49 +0000 (03:48 +0000)]
web: Make the top navbar dark
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:46:12 +0000 (03:46 +0000)]
web: Show some activity when jobs are running
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:38:15 +0000 (03:38 +0000)]
web: index: Make hero unit larger
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:36:50 +0000 (03:36 +0000)]
web: Refactor events module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 03:27:57 +0000 (03:27 +0000)]
web: Refactor the builds page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 02:49:09 +0000 (02:49 +0000)]
errors: Refactor the error handler and drop any redundant templates
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 02:39:54 +0000 (02:39 +0000)]
web: Refactor the error page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 02:34:24 +0000 (02:34 +0000)]
web: Refactor the package info box
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 02:27:37 +0000 (02:27 +0000)]
web: Refactor bugs list
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 01:59:44 +0000 (01:59 +0000)]
web: Refactor package detail page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 01:46:54 +0000 (01:46 +0000)]
web: Refactor package listing page
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 01:40:30 +0000 (01:40 +0000)]
CSS: Move everything inside the main container
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 01:34:47 +0000 (01:34 +0000)]
web: Refactor jobs list
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 01:21:26 +0000 (01:21 +0000)]
sources: Replace find_maintainer with get_by_email
This is a fast fix to keep pages loading
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 01:03:23 +0000 (01:03 +0000)]
web: Refactor the index page for Bulma
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 00:53:19 +0000 (00:53 +0000)]
CSS: Convert base template to Bulma
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 19 Oct 2022 00:11:17 +0000 (00:11 +0000)]
CSS: Add Bulma
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:55:31 +0000 (18:55 +0000)]
builds: Use correct variable for the distribution
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:55:14 +0000 (18:55 +0000)]
packages: Add forgotten decorator to distro property
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:23:01 +0000 (18:23 +0000)]
errors: Forgot to commit this file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:22:30 +0000 (18:22 +0000)]
hub: Require a repository when a new build is created
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:15:33 +0000 (18:15 +0000)]
repos: Use the correct URL in configuration files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:14:00 +0000 (18:14 +0000)]
repos: Drop summary
This was badly auto-generated.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:13:40 +0000 (18:13 +0000)]
repos: Use the name in the configuration file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:10:33 +0000 (18:10 +0000)]
repos: Fix rendering configuration file
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:09:47 +0000 (18:09 +0000)]
repos: Fix determining the repository size
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:01:50 +0000 (18:01 +0000)]
hub: Extract the distribution from package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:01:31 +0000 (18:01 +0000)]
packages: Fetch distribution from package
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 18:00:35 +0000 (18:00 +0000)]
constants: Remove unused import of os.path
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 17:12:57 +0000 (17:12 +0000)]
jobs: Import packages when the job finishes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 17:06:30 +0000 (17:06 +0000)]
packages: Create packages from uploads only
This avoids a lot of code duplication
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 17:06:13 +0000 (17:06 +0000)]
tests: Fix creating uploads
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 16:56:05 +0000 (16:56 +0000)]
hub: Associate uploads builds with their owner
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 16:55:45 +0000 (16:55 +0000)]
hub: Check permissions for uploads before using them
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 16:41:37 +0000 (16:41 +0000)]
uploads: Improve buffering for smaller chunk sizes
Apache uses a chunk size of 8 KiB which I cannot change.
This results in us creating a lof of overhead when receiving large
uploads because opening and closing the temporary file that often is not
feasible.
Blocking is not feasible either.
Therefore, the Upload class is now implemening another buffer mechanism
so that we will only have to flush the data to disk once we reached a
megabyte.
This patch will increase memory consumption of the hub (especially with
many simultaneous uploads), but it is truly non-blocking.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 14:39:46 +0000 (14:39 +0000)]
tests: uploads: Add a test for quotas
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 14:35:14 +0000 (14:35 +0000)]
tests: uploads: Add some more tests
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 14:34:54 +0000 (14:34 +0000)]
uploads: Refactor so that we won't duplicate any data
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 13:39:44 +0000 (13:39 +0000)]
tests: Test the unlink function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 13:39:26 +0000 (13:39 +0000)]
backend: Make unlink() safer and tidier
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 13:21:49 +0000 (13:21 +0000)]
tests: package: Activate part that checks if a package has been removed
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 13:10:34 +0000 (13:10 +0000)]
tests: packages: Test accessing filelists
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Tue, 18 Oct 2022 12:24:59 +0000 (12:24 +0000)]
web: packages: Update files listing
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>