This project is mirrored from https://gitlab.archlinux.org/archlinux/aurweb.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Nov 30, 2023
-
-
Mario Oenning authored
Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Best practice for web-apps is to have a session per web request. Instead of having a per worker-thread, we add a middleware that generates a unique ID per request, utilizing scoped_sessions scopefunc (custom function for defining a session scope) in combination with a ContextVar. With this we create a new session per request. Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Bump sqlalchemy to version 2.0.22 There are quite some changes that happened with v2. We are currently relying on the "auto-commit" feature which was removed. For the moment we can use a wrapper class to mimic the auto-commit behavior allowing us to move to v2. Ultimately, the (db) session management needs some overhaul though. Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Migrate from MariaDB to PostgreSQL. Signed-off-by:
moson <moson@archlinux.org>
-
- Nov 27, 2023
-
-
Mario Oenning authored
Disable prometheus multiprocess mode in tests to avoid global state: Depending on the workers which are processing a testfile, we might run into race issues where tests might influence each other. We also need to make sure to clear any previously collected values in case the same worker/process is executing different tests which evaluate prometheus values. Signed-off-by:
moson <moson@archlinux.org>
-
- Nov 25, 2023
-
-
Mario Oenning authored
Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
* Updating idna (3.4 -> 3.6) * Updating annotated-types (0.5.0 -> 0.6.0) * Updating pydantic-core (2.10.1 -> 2.14.5) * Updating certifi (2023.7.22 -> 2023.11.17) * Updating greenlet (3.0.0 -> 3.0.1) * Updating pydantic (2.4.2 -> 2.5.2) * Updating charset-normalizer (3.3.0 -> 3.3.2) * Updating cryptography (41.0.4 -> 41.0.5) * Updating fastapi (0.103.2 -> 0.104.1) * Updating mako (1.2.4 -> 1.3.0) * Updating parse (1.19.1 -> 1.20.0) * Updating prometheus-client (0.17.1 -> 0.19.0) * Updating urllib3 (2.0.6 -> 2.1.0) Fix type annotation for new test function Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
* Allow additional html tags: <del> and <details/summary> * Convert markdown double-tilde (~~) to <del> tags Signed-off-by:
moson <moson@archlinux.org>
-
- Nov 24, 2023
-
-
Jelle van der Waa authored
Instead of showing your own projects, show the Arch Linux namespace where all our bugs/projects are.
-
- Nov 12, 2023
-
-
Jelle van der Waa authored
Flyspray is no more and all projects are now on our own GitLab instance.
-
- Oct 21, 2023
-
-
Mario Oenning authored
Support setting the timezone as well as the language via query params: The timezone parameter previously only worked on certain pages. While we're at it, let's also add the language as a param. Refactor code for timezone and language functions. Remove unused AURTZ cookie. Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Users can (accidentally) override context vars with query params. This may lead to issues when rendering templates (e.g. "comments="). Signed-off-by:
moson <moson@archlinux.org>
-
- Oct 20, 2023
-
-
Mario Oenning authored
We should not try to create issue reports for internal server errors from a sandbox/review-app environment. Signed-off-by:
moson <moson@archlinux.org>
-
- Oct 18, 2023
-
-
Hanabishi Recca authored
Avoid using special characters and use '<sup>' HTML tag instead. To not rely on user's fonts Unicode coverage. Closes: #490 Signed-off-by:
Hanabishi <1722-hanabishi@users.noreply.gitlab.archlinux.org>
-
- Oct 15, 2023
-
-
Mario Oenning authored
Signed-off-by:
moson <moson@archlinux.org>
-
- Oct 12, 2023
-
-
Mario Oenning authored
When setting up a context with user provided variables, we should not override any existing values previously set. Signed-off-by:
moson <moson@archlinux.org>
-
- Oct 05, 2023
-
-
Mario Oenning authored
* Updating typing-extensions (4.5.0 -> 4.8.0) * Installing annotated-types (0.5.0) * Updating anyio (3.6.2 -> 3.7.1) * Installing pydantic-core (2.10.1) * Updating certifi (2023.5.7 -> 2023.7.22) * Updating cffi (1.15.1 -> 1.16.0) * Updating greenlet (2.0.2 -> 3.0.0) * Updating markupsafe (2.1.2 -> 2.1.3) * Updating packaging (23.1 -> 23.2) * Updating pluggy (1.0.0 -> 1.3.0) * Updating pydantic (1.10.7 -> 2.4.2) * Updating charset-normalizer (3.1.0 -> 3.3.0) * Updating click (8.1.3 -> 8.1.7) * Updating coverage (7.2.7 -> 7.3.2) * Updating cryptography (40.0.2 -> 41.0.4) * Updating dnspython (2.3.0 -> 2.4.2) * Updating execnet (1.9.0 -> 2.0.2) * Updating fastapi (0.100.1 -> 0.103.2) * Updating httpcore (0.17.0 -> 0.17.3) * Updating parse (1.19.0 -> 1.19.1) * Updating prometheus-client (0.16.0 -> 0.17.1) * Updating pytest (7.4.0 -> 7.4.2) * Updating redis (4.6.0 -> 5.0.1) * Updating urllib3 (2.0.2 -> 2.0.6) * Updating aiofiles (23.1.0 -> 23.2.1) * Updating alembic (1.11.2 -> 1.12.0) * Updating fakeredis (2.17.0 -> 2.19.0) * Updating filelock (3.12.2 -> 3.12.4) * Updating orjson (3.9.2 -> 3.9.7) * Updating protobuf (4.23.4 -> 4.24.4) * Updating pygit2 (1.12.2 -> 1.13.1) * Updating werkzeug (2.3.6 -> 3.0.0) Signed-off-by:
moson <moson@archlinux.org>
-
- Oct 02, 2023
-
-
Mario Oenning authored
Wrong config option was used to display the minimum length error msg. (username_min_len instead of passwd_min_len) Signed-off-by:
moson <moson@archlinux.org>
-
- Sep 30, 2023
-
-
Mario Oenning authored
Fix some more test functions Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
TU_VoteInfo -> VoteInfo TU_Votes -> Votes TU_VoteInfo.ActiveTUs -> VoteInfo.ActiveUsers script: tuvotereminder -> votereminder Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Changes to comments, function descriptions, etc. Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Rename tests: Function names, variables, etc. Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Change /tu to /package-maintainer Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Rename all UI elements and translations. Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
Renaming of symbols. Functions, variables, values, DB values, etc. Basically everything that is not user-facing. This only covers "Trusted User" things: tests, comments, etc. will covered in a following commit.
-
- Sep 26, 2023
-
-
Mario Oenning authored
Signed-off-by:
moson <moson@archlinux.org>
-
- Sep 03, 2023
-
-
Mario Oenning authored
Dependencies might reside in the AUR or official repositories. Add "AUR" as superscript letters to indicate if a package/provider is present in the AUR. Signed-off-by:
moson <moson@archlinux.org>
-
- Sep 01, 2023
-
-
Mario Oenning authored
It could happen that test data is already generated by a previous test. (running in the same worker) Make sure we clear everything before performing our checks. Signed-off-by:
moson <moson@archlinux.org>
-
Mario Oenning authored
All tests within a file run in the same worker and out test DB names are unique per file as well. We don't really need a locking mechanism here. Same is valid for the test-emails. The only potential issue is that it might try to create the same directory multiple times and thus run into an error. However, that can be covered by specifying "exist_ok=True" with os.makedirs such that those errors are ignored. Signed-off-by:
moson <moson@archlinux.org>
-
- Aug 27, 2023
-
-
Mario Oenning authored
Clone infrastructure repository and run playbook to provision our VM with aurweb. Signed-off-by:
moson <moson@archlinux.org>
-
Kristian Klausen authored
Also removed the logic for deploying to the long gone aur-dev box. Ansible will be added in a upcoming commit for configurating and deploying aurweb on the VM. [1] https://docs.gitlab.com/ee/ci/review_apps/
-
- Aug 18, 2023
-
-
Mario Oenning authored
The current "cleanup" function that is removing orphan prometheus files is actually never invoked. We move this to a default gunicorn config file to register our hook(s). https://docs.gunicorn.org/en/stable/configure.html https://docs.gunicorn.org/en/stable/settings.html#child-exit Signed-off-by:
moson <moson@archlinux.org>
-
- Aug 04, 2023
-
-
Leonidas Spyropoulos authored
Signed-off-by:
Leonidas Spyropoulos <artafinde@archlinux.org>
-
Mario Oenning authored
We should check if a user (target) exists before validating permissions. Otherwise things crash when a TU is trying to edit an account that does not exist. Fixes: aurweb-errors#529 Signed-off-by:
moson <moson@archlinux.org>
-
- Jul 27, 2023
-
- Jul 25, 2023
-
- Jul 24, 2023
-