Commit graph

  • 923e924497 restore TU_VoteInfo -> utf8mb4_general_ci Kevin Morris 2021-06-06 16:30:16 -07:00
  • 01a731062c [db] fix schema and migration for case insensitivity Kevin Morris 2021-06-05 02:26:03 -07:00
  • 9009966eec Adds Alembic migration for DB/Tables conversion to utf8mb4 Leonidas Spyropoulos 2021-05-17 19:12:05 +01:00
  • 2ef223bd97 Conditionally apply SSOAccountId migration to support misaligned databases Leonidas Spyropoulos 2021-05-18 13:04:20 +01:00
  • b03dbc1164 alembic: fix ef39fcd6e1cd downgrade Kevin Morris 2021-05-18 02:44:59 -07:00
  • 401e7081d2 Add SSO account ID in table Users Frédéric Mangano-Tarumi 2020-06-08 20:16:27 +02:00
  • 4f09e939ae bugfix: gendummydata.py was producing invalid usernames Kevin Morris 2021-06-06 21:34:42 -07:00
  • 83887b97df Merge branch 'php_fix' into pu Kevin Morris 2021-06-06 21:44:11 -07:00
  • 25937d9543 Merge branch 'master' into pu Kevin Morris 2021-06-06 17:21:57 -07:00
  • f9f41dc99b restore TU_VoteInfo -> utf8mb4_general_ci Kevin Morris 2021-06-06 16:30:16 -07:00
  • 889d358a6d
    Add missing ) for addvote.php Jelle van der Waa 2021-06-06 21:49:27 +02:00
  • 1874e821f5 add case [in]sensitivity tests + add OfficialProvider model Kevin Morris 2021-06-05 18:13:10 -07:00
  • e865a6347f .gitlab-ci.yml: enforce isort and flake8 compliance Kevin Morris 2021-06-05 21:28:26 -07:00
  • 5ceeb88bee remove unused imports, rectify isort violations Kevin Morris 2021-06-05 21:19:20 -07:00
  • 4d1faca447 test both mysql and sqlite in .gitlab-ci.yml Kevin Morris 2021-06-05 01:07:56 -07:00
  • 62e58b122f fix test_accounts_routes test coverage Kevin Morris 2021-06-04 23:13:05 -07:00
  • 228bc8fe7c fix aurweb.auth test coverage Kevin Morris 2021-06-04 23:09:38 -07:00
  • aecb649473 use mysql backend in config.dev Kevin Morris 2021-06-04 00:43:57 -07:00
  • d7481b9649 modify schema primary keys to be nullable+defaulted Kevin Morris 2021-06-04 00:31:15 -07:00
  • e5df083d45 use String(max_len) for DECIMAL types with sqlite Kevin Morris 2021-06-03 22:56:47 -07:00
  • a65a60604a add ApiRateLimit SQLAlchemy ORM model Kevin Morris 2021-06-03 10:51:46 -07:00
  • 2b83d2fb6b add PackageRelation SQLAlchemy ORM model Kevin Morris 2021-06-01 07:52:22 -07:00
  • a9cfbce11e add RelationType SQLAlchemy ORM model Kevin Morris 2021-06-01 07:37:05 -07:00
  • e401b92acb add PackageDependency (PackageDepends) ORM model Kevin Morris 2021-06-01 07:21:54 -07:00
  • 068c8ba638 add DependencyType SQLAlchemy ORM model Kevin Morris 2021-06-01 06:44:24 -07:00
  • 4201348dea add PackageGroup SQLAlchemy ORM model Kevin Morris 2021-06-01 05:34:27 -07:00
  • a8a9c28783 Jinja bugfix: add xmlns + xml:lang to <html> Kevin Morris 2021-06-01 05:21:01 -07:00
  • 75cc0be189 add PackageLicense SQLAlchemy ORM model Kevin Morris 2021-06-01 05:06:38 -07:00
  • 943d97efac add License SQLAlchemy ORM model Kevin Morris 2021-06-01 04:48:49 -07:00
  • 38dc2bb99d Sanitize and modernize pytests Kevin Morris 2021-06-01 03:26:14 -07:00
  • f2121fb833 simplify test_package_keyword.py Kevin Morris 2021-06-01 00:26:32 -07:00
  • 15b1332656 add Package SQLAlchemy ORM model Kevin Morris 2021-06-01 00:25:49 -07:00
  • 621e459dfb aurweb.models.user: Remove session.commit() from construction Kevin Morris 2021-05-31 22:45:30 -07:00
  • f8a6049de2 aurweb.db.session: Use autoflush=True for Sessions Kevin Morris 2021-05-31 22:43:28 -07:00
  • 794868b20f aurweb.testing.setup_test_db: Expunge objects Kevin Morris 2021-05-31 22:41:06 -07:00
  • b692b11f62 add Group SQLAlchemy ORM model Kevin Morris 2021-05-30 23:05:16 -07:00
  • e1ab02c2bf Fix database initialization in test_term.py Kevin Morris 2021-05-30 23:06:33 -07:00
  • 718fa48a5c add AcceptedTerm SQLAlchemy ORM model Kevin Morris 2021-05-30 22:29:01 -07:00
  • 29db2ee513 add Term SQLAlchemy ORM model Kevin Morris 2021-05-30 22:28:43 -07:00
  • fb21015811 add PackageKeyword SQLAlchemy ORM model Kevin Morris 2021-05-30 18:12:46 -07:00
  • a7e5498197 add PackageBase SQLAlchemy ORM model Kevin Morris 2021-05-30 16:38:16 -07:00
  • 822905be7d bugfix: relax next verification Kevin Morris 2021-05-24 05:19:57 -07:00
  • 32abdbafae fastapi: Jinja contextfilter renamed to pass_context Leonidas Spyropoulos 2021-05-24 12:42:57 +01:00
  • 4f928b4577 add account (view) route Kevin Morris 2021-01-29 23:40:38 -08:00
  • 4e9ef6fb00 add account edit (settings) routes Kevin Morris 2021-01-28 20:34:27 -08:00
  • d323c1f95b add python-lxml to dependencies Kevin Morris 2021-01-30 02:09:34 -08:00
  • c94793b0b1 add user registration routes Kevin Morris 2021-01-28 20:26:34 -08:00
  • 19b4a896f1 add openssh to test dependencies Kevin Morris 2021-01-30 02:08:59 -08:00
  • df0a637d2b add aurweb.captcha, a CAPTCHA utility module Kevin Morris 2021-01-28 16:52:56 -08:00
  • 7a6a38592e add python-email-validator dependency Kevin Morris 2021-01-27 18:36:06 -08:00
  • a5be6fc9be aurweb.templates: add make_variable_context Kevin Morris 2021-01-27 18:30:57 -08:00
  • 9052688ed2 add aurweb.time module Kevin Morris 2021-01-25 16:52:14 -08:00
  • 07d5907ecd aurweb.auth: add user credentials and matcher functions Kevin Morris 2021-01-25 16:30:47 -08:00
  • 670f711b59 add SSHPubKey ORM model Kevin Morris 2021-01-13 06:46:30 -08:00
  • 9fdbe3f775 add authenticated User LangPreference tracking Kevin Morris 2021-01-08 20:10:45 -08:00
  • a33d076d8b add passreset routes Kevin Morris 2021-01-06 21:00:12 -08:00
  • 4423326cec add the request parameter to render_template Kevin Morris 2021-01-08 20:24:22 -08:00
  • 5d4a5deddf implement login + logout routes and templates Kevin Morris 2020-12-31 20:44:59 -08:00
  • 56f2798279 add aurweb.auth and authentication to User Kevin Morris 2020-12-25 20:54:53 -08:00
  • 137c050f99 add python-bcrypt dependency Kevin Morris 2021-01-30 16:43:35 -08:00
  • 1922e5380d add aurweb.models.session.Session ORM database object Kevin Morris 2020-12-25 20:55:43 -08:00
  • adc9fccb7d add aurweb.models.ban.Ban ORM mapping Kevin Morris 2020-12-26 19:29:19 -08:00
  • a836892cde aurweb.db: add query, create, delete helpers Kevin Morris 2021-01-14 21:06:41 -08:00
  • 5185df629e move aurweb.testing to its own package Kevin Morris 2020-12-24 20:48:35 -08:00
  • 64bc93926f Add support for configuring database with port instead of socket Leonidas Spyropoulos 2021-05-18 13:15:47 +01:00
  • ac31f520ea Add coverage report for "Test Coverage Visualization"[1] Kristian Klausen 2021-05-10 22:34:19 +02:00
  • 7b7c3abbe2 Conditionally apply SSOAccountId migration to support misaligned databases Leonidas Spyropoulos 2021-05-18 13:04:20 +01:00
  • 72f755817c Adds Alembic migration for DB/Tables conversion to utf8mb4 Leonidas Spyropoulos 2021-05-17 19:12:05 +01:00
  • 66189c4460 alembic: restore logging, fix pytest conflicts Kevin Morris 2021-05-18 02:46:56 -07:00
  • 3f1f03e03c aurweb.db: only pass check_same_thread with sqlite Kevin Morris 2021-05-16 01:40:19 -07:00
  • e0eb6b0e76 test_db: remove use of mkdtemp and os.removedirs Kevin Morris 2021-05-16 06:26:38 -07:00
  • 1d5827007f Adding route tests Marcus Andersson 2021-05-13 22:02:50 +02:00
  • f6744d3e39 Adding error 503 catcher Marcus Andersson 2021-05-13 00:08:15 +02:00
  • cdf75ced9a Adding error 404 catcher Marcus Andersson 2021-05-13 00:08:15 +02:00
  • 82f3871a83 Support SQLAlchemy 1.4 URL.create recommendation Kevin Morris 2021-05-13 21:11:57 -07:00
  • 81856f3b64 Fix incorrect construction of MySQL SQLAlchemy URL Kevin Morris 2021-05-13 21:05:34 -07:00
  • 02311eab76 add test_initdb.py Kevin Morris 2021-03-29 15:20:34 -07:00
  • 8a47afd2ea add aurweb.models.user.User Kevin Morris 2021-03-29 15:20:32 -07:00
  • e860d828b6 add aurweb.testing, a module with testing utilities Kevin Morris 2021-03-29 15:20:28 -07:00
  • 32f2893095 add aurweb.models.account_type.AccountType Kevin Morris 2021-03-29 15:20:26 -07:00
  • 4238a9fc68 add aurweb.db.session Kevin Morris 2021-03-29 15:20:23 -07:00
  • 7c65604dad move off env.py's active code to __name__ == "__main__" Kevin Morris 2021-03-29 15:20:19 -07:00
  • 2df90ce280 port over base HTML layout from PHP to FastAPI+Jinja2 Kevin Morris 2021-03-29 15:20:04 -07:00
  • 1ff822bb14 Use the clipboard API for copy paste Jelle van der Waa 2021-05-11 00:01:13 +02:00
  • bda9256ab1 Add error color when package is orphaned Marcus Andersson 2021-05-07 18:50:41 +02:00
  • c1e29e90ca aurweb: Globalize a Translator instance, add more utility Kevin Morris 2021-03-29 15:17:17 -07:00
  • 21140e28a8 Filter out current username from co-maintainers list. Leonidas Spyropoulos 2021-04-07 09:56:16 +01:00
  • cd3e880264 add Dockerfile Kevin Morris 2020-12-23 16:11:40 -08:00
  • 52ab056e18 update documentation for FastAPI tests and deps. Kevin Morris 2020-12-21 22:33:46 -08:00
  • 57c11ae13f install aurweb package & init db on GitLab CI Kevin Morris 2021-01-20 14:08:39 -08:00
  • 6d08789ac1 add test_popupdate.py Kevin Morris 2020-12-31 22:00:15 -08:00
  • 4b7609681d add test_exceptions.py Kevin Morris 2020-12-26 18:26:32 -08:00
  • e800cefe95 Makefile: run pytest units Kevin Morris 2020-12-21 00:49:15 -08:00
  • 4230772e3b add .coveragerc, update .gitignore Kevin Morris 2020-12-25 21:10:02 -08:00
  • bac38edd48 [db] fix schema and migration for case insensitivity Kevin Morris 2021-06-05 02:26:03 -07:00
  • b1121dc6ca Adds Alembic migration for DB/Tables conversion to utf8mb4 Leonidas Spyropoulos 2021-05-17 19:12:05 +01:00
  • 0d68b914bf Conditionally apply SSOAccountId migration to support misaligned databases Leonidas Spyropoulos 2021-05-18 13:04:20 +01:00
  • 82f6d2ce75 alembic: fix ef39fcd6e1cd downgrade Kevin Morris 2021-05-18 02:44:59 -07:00
  • b41422450a aurweb.db: only pass check_same_thread with sqlite Kevin Morris 2021-05-16 01:40:19 -07:00
  • 25393dc326 Fix incorrect construction of MySQL SQLAlchemy URL Kevin Morris 2021-05-13 21:05:34 -07:00