- 03 Oct, 2021 1 commit
-
-
Kevin Morris authored
Along with this initial requests metric implementation, we also now serve the `/metrics` route, which grabs request metrics out of cache and renders them properly for Prometheus. **NOTE** Metrics are only enabled when the aurweb system admin has enabled caching by configuring `options.cache` correctly in `$AUR_CONFIG`. Otherwise, an error is logged about no cache being configured. New dependencies have been added which require the use of `composer`. See `INSTALL` for the dependency section in regards to composer dependencies and how to install them properly for aurweb. Metrics are in the following forms: aurweb_http_requests_count(method="GET",route="/some_route") aurweb_api_requests_count(method="GET",route="/rpc",type="search") This should allow us to search through the requests for specific routes and queries. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 04 Sep, 2021 2 commits
-
-
Kevin Morris authored
This was already in the repository in ./COPYING This reverts commit 1b452d12.
-
Kevin Morris authored
This was missing from the project and really needs to be here. Closes #107 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 01 Sep, 2021 1 commit
-
-
Kevin Morris authored
With FastAPI starting to come closer to a close, we've got to advertise this deprecation so that users have some time to adjust before making the changes. We have not specified a specific time here, but we'd like this message to reach users of the RPC API for at least a month before any modifications are made to the interface. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 27 Jul, 2021 1 commit
-
-
Kevin Morris authored
With a recent curl update, it now rejects URLs with spaces in it. We should probably fix this so that we can sanitize urls with spaces to be used properly, but for now, just remove spaces in the directory. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 15 Jul, 2021 1 commit
-
-
Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 11 Jul, 2021 1 commit
-
-
Eli Schwartz authored
If the person running the tests has a global configuration to sign git commits, this breaks the testsuite which looks for a key capable of committing dummy data under a dummy author Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 30 Jun, 2021 1 commit
-
-
Kevin Morris authored
-
- 25 Jun, 2021 3 commits
-
-
Jelle van der Waa authored
Use a pure vanilla JavaScript typeahead implementation to finally deprecate the old jQuery version and typeahead library.
-
Jelle van der Waa authored
- 23 Jun, 2021 1 commit
-
-
Kristian Klausen authored
All the arch-x@archlinux.org -> arch-x@lists.archlinux.org aliases will be dropped soon[1]. [1] https://lists.archlinux.org/pipermail/arch-dev-public/2021-June/030462.html
-
- 21 Jun, 2021 3 commits
-
-
Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
Use a CSS animation for jQuery.Animate and replace the rest with pure vanilla JavaScript. Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
The Document.execCommand API is deprecated and no longer recommended to be used. It's replacement is the much simpler navigator.clipboard API which is supported in all browsers except internet explorer. Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 13 Jun, 2021 3 commits
-
-
- 10 Jun, 2021 2 commits
-
-
Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 06 Jun, 2021 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 05 Jun, 2021 1 commit
-
-
Kevin Morris authored
Some of the columns that were changed still want to be case insensitive. Good thing our tables have nice separation. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 18 May, 2021 5 commits
-
-
MySql defaults to `utf8` and case insensitive collation so migrate these to case sensitive and `utf8mb4` Closes #21 Signed-off-by:
Leonidas Spyropoulos <artafinde@gmail.com>
-
Closes: #34 Signed-off-by:
Leonidas Spyropoulos <artafinde@gmail.com>
-
Kevin Morris authored
op.drop_constraint requires a valid field to drop the constraint on. Without this, downgrade cannot occur. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 13 May, 2021 1 commit
-
-
Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 11 May, 2021 2 commits
-
-
Eli Schwartz authored
I've seen this happen a bunch of times now. Someone cannot push to the AUR, and the error report is some traceback with a KeyError which is difficult to understand without context: remote: Traceback (most recent call last): remote: File "/srv/http/aurweb/aur.git/hooks/update", line 33, in <module> remote: sys.exit(load_entry_point('aurweb==5.0.0', 'console_scripts', 'aurweb-git-update')()) remote: File "/usr/lib/python3.9/site-packages/aurweb-5.0.0-py3.9.egg/aurweb/git/update.py", line 306, in main remote: KeyError: 'pkgbase' Eventually it turns out that their .SRCINFO file is... badly corrupted. Generally, they managed to accidentally commit an *empty* file instead of a .SRCINFO, and in all cases, the problem was on the very first lookup for 'pkgbase'. Point people to the actual failing commit, and have a nicely formatted message indicating that the .SRCINFO is completely invalid. Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
uvicorn is subjectively nicer to play with for local dev work, but hypercorn is required in order to do HTTP/2 which is fairly performance-important. Signed-off-by:
Kevin Morris <kevr@0cost.org> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org> Co-authored-by:
Eli Schwartz <eschwartz@archlinux.org> Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 09 May, 2021 1 commit
-
-
Done with: find -type f -exec sed -Ee ':wiki.archlinux.org: s:(wiki.archlinux.org)/index.php/:\1/title/:g' -i {} \; Fixes #16 [1] archlinux/infrastructure!335 Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 03 May, 2021 1 commit
-
-
Eli Schwartz authored
Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 28 Apr, 2021 1 commit
-
-
https://EditorConfig.orgEli Schwartz authored
Mostly here to make sure people continue to use tabbed indents for php and the TAP tests, since that is what they are currently using. Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org>
-
- 29 Mar, 2021 1 commit
-
-
The account deletion code tries to remove user from PackageNotifications using the wrong column UsersID to identify the user by id. In the PackagePackageNotifications table the foreign key is called UserID. In the future ideally this would be unified into UserID for all tables. Closes: #12 Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 20 Feb, 2021 6 commits
-
-
jsdelivr is another free CDN service for open source projects. The main motivation for this change is that it is the only one that works fairly well across the globe. The Google CDN service is known to be hardly accessible in mainland China, unfortunately. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
https://www.transifex.comLukas Fleischer authored
Fixes GitLab issue #3 . Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
I think after 10-15 years we might want to adjust those values. With a 30min cache and 20 items per creation I would bet some new AUR packages might be swept under the carpet. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-