Skip to content

Instantly share code, notes, and snippets.

@kevr
Created October 19, 2021 15:53
Show Gist options
  • Save kevr/d56bd27070019cb383a799d33ac9b50d to your computer and use it in GitHub Desktop.
Save kevr/d56bd27070019cb383a799d33ac9b50d to your computer and use it in GitHub Desktop.

Changelog

All notable changes to this project will be documented in this file.

Branch HEAD Status Coverage
pu 33adf25c pipeline coverage

bug fixes

Commit Message
2e3f69ab Fix git service's update hook
ad3016ef /account/{name}/edit Account Type selection
db2718fc util/fix-coverage sys.stderr typo
ab8a44ce only show comments partial if they exist
3ea515d7 use cert chain for nginx
6afcaf66 Fix aurweb.template warnings
06ec6388 fix flake8 violation
0bbb3cc4 rpc - include other fields with errors
f7818e26 test_rpc.setup() should be a pytest.fixture
4de18d81 voted/notified query efficiency
aee1390e registration sends WelcomeNotification
43808082 add production config overrides
4abbf9a9 use @localhost for dev email addresses
5e95cfbc get_pkgbase -> get_pkg_or_base
59d04d6e comment.html template rendering
6644c429 AnonymousUser.has_credential also takes kwargs
7bfc2bf9 Improve sqlite testing speed
08068e0a use configured letter case for SSH fingerprints
5c179dc4 use consistent ordering on dashboard and request page
9af76a73 include MergeBaseName in merge request type
f392b360 add missing translation filter for request type
1956be0f prefill login fields with entered data
1bce53bb mark user and passwd as required fields
a54a09f6 fix padding on email inputs
889c5b1e pkgbase actions template
e5299b5e pkgbase/package tests
4e7d2295 add package-related missing backref cascades
63498f5e use popupdate when [un]voting
5bbc94f2 add /pkgbase/{name}/flag (get)
4525a11d change a deep copy instead of original
748faca8 translate some untranslated strings
71b3f781 maintainers are allowed to unflag their packages
2d46811c display VCS note when flagging a VCS package
8040ef5a use pkgbase in package actions
27a65633 use CRED_PKGBASE_SET_KEYWORDS credential properly
c572a97d EXPECTATION_FAILED -> BAD_REQUEST
7f72d78d correct HTML tags and indentation
db67e83b use elif statements where appropriate
d22580fa add aurweb-image service
b6dc0a29 PackageRequest's PackageBase relationship should not required

changes

Commit Message
f849e8b6 allow User.notified to accept a Package OR PackageBase
0d8216e8 decouple rendercomment logic from main
8bc1fab7 automate request login requirement
dc11a88e depend on auth_required redirect for pkgbase actions
a756691d user_developer_or_trusted_user always True
2e6f8cb9 @auth_required login kwarg defaulted to True
7b7e571e run test_initdb.py ahead of time in docker
0c372166 add various exclusions
51320ab2 unify all model relationship behavior
56eefabc sanitize cascade backref strings
bfdc85d7 use simplified models package
28c4e969 simplify model imports across code-base

docker

Commit Message
2a3df086 add [c]git, nginx, fastapi, php-fpm, ca
e624e25c Add colored output to tests
565b928a mount codebase volumes
495dd2d8 add missing git link to pytest-sqlite
df161ef3 add .env configurable FASTAPI_BACKEND
61c47340 add ./templates volume mount
d95e4ec4 create missing 'aurweb' DB if needed
9ee7be4a remove web/locale from volume mounts
07c4be0a add .dockerignore
0a3aa40f Fix git sshd
acc100eb Fix installation, remove pip, simplify sshd
3c6b2203 bugfix: /usr/local/bin instead of /aurweb/app/bin
af96be7d move nginx config to its own file
3bacfe6c increase nginx and php-fpm logging
a120af5a remove asset forward to index.php
6c7bb04b Improve mariadb init
f4406ccf Centralize repo dependencies
3f60f504 add scripts/setup-sqlite.sh
427a30ef Remove deprecated links
e0ee881b fix mariadb-entrypoint user host
a6ca345a Fix git clone url in fastapi/php-fpm
bace345d support both '%' and 'localhost' in mariadb
ae0f69a5 remove intervals and timeouts
35851d55 add service 'memcached'
a0be0185 Reorder dependency installation for cache purposes
3f034ac1 Fix incorrect ENV PATH specification
fa07f940 Fix FastAPI db initialization
e93b0a9b expose fastapi (18000) and php-fpm (19000)

documentation

Commit Message
4e4f5855 fix AUR_CONFIG in TESTING
e62d4727 add missing gendummydata.py dependencies in TESTING
db75a552 simplify database setup instructions in TESTING

fastapi

Commit Message
3a74f76f use internal typeahead and remove jquery
91e769f6 add redis integration

features

Commit Message
b59601a8 add paginate==0.5.6
6298b122 add templates/partials/widgets/pager.html
5cf70620 add /packages (get) search
7e589863 add util/adduser.py database tooling script
fbd91f34 add /pkgbase/{name}/voters (get)
ad9997c4 build aurweb:latest via docker-compose build
3b1809e2 allow custom certificates for fastapi/nginx
7961fa93 add templates.render_raw_template
fc28aad2 add pkgbase comments (new, edit)
40cd1b90 add /pkgbase/{name}/comments/{id}/delete (post)
bb45ae7a add /pkgbase/{name}/comments/{id}/undelete (post)
0895dd07 add /pkgbase/{name}/comments/{id}/pin (post)
2efd2549 add /pkgbase/{name}/comments/{id}/unpin (post)
4d191b51 add /pkgbase/{name}/comaintainers (get, post)
c164abe2 add Requests navigation item
99482f99 added /requests (get) route
1cf94209 allow reporters to cancel their own requests (1/2)
ad836939 add /pkgbase/{name}/request (get)
1c031638 add /pkgbase/{name}/request (post)
f6141ff1 add /requests/{id}/close (get, post)
b5f8e69b use SQLAlchemy's scoped_session
33b18907 add CRED_PKGBASE_MERGE
75c49e4f support {named} fmt in auth_required redirect
8eadb425 add /pkgbase/{name}/[un]flag (post)
0dfff2bc add /pkgbase/{name}/[un]notify (post)
0a02df36 add /pkgbase/{name}/[un]vote (post)
16d516c2 add /pkgbase/{name}/disown (get, post)
c8d01cc5 add aurweb.util.apply_all(iterable, fn)
ed68fa2b add aurweb.db.delete_all(iterable)
0ddc969b add package_delete helper
d38abd78 add /pkgbase/{name}/delete (get, post)
305d0779 add /pkgbase/{name}/adopt (post)
27fbda5e add get_(errors
6d59a979 include all models in aurweb.models package
927f5e85 add gunicorn support & production default
058c9e64 add 'suggest-pkgbase' type
a2bea317 add /pkgbase/{name}/merge (get)
33adf25c add /pkgbase/{name}/merge (post)

makefile

Commit Message
e800cefe run pytest units

packagebase

Commit Message
ec38d2f5 automatically cast Popularity to float
d57dfd4d test Popularity conversion

packagecomment

Commit Message
c05fafea default RenderedComment to str()

packagedependency

Commit Message
b4e46450 fix primary key relationships

packagerelation

Commit Message
13b4dbf5 fix primary key relationships

packagerequest

Commit Message
eb8ea53a add status_display()

rpc

Commit Message
b52059d4 add deprecation warning for v1-v4 usage

rss

Commit Message
568e0d2f Add atom self link
78dbbd3d Set proper content type header
1d0c6ffe Make sure image title matches channel title
eb11943f Always provide a GUID
d5d33300 Decrease cache time and increase item count
18ec8e3c Add ability to specify isPermaLink="false" for GUID
e7db894e Add ability to specify isPermaLink="false" for GUID

refactor

Commit Message
0fd31b8d New mariadb_init service

requesttype

Commit Message
5bd3a7bb add name_display() and record constants

sso

Commit Message
4bf82283 Explain the rationale behind prompt=login
d12ea08f Add an SSO option in the login page
0e08b151 Port IP ban checking
e3231569 Port account suspension

tuvoteinfo

Commit Message
8c345a04 generalize Quorum

user

Commit Message
cec07c76 use aurweb.config options.salt_rounds
af51b5c4 add several utility methods

add

Commit Message
a3cb8196 added aur_request_ml setting to config.dev
d3be3074 comment pytest.fixture

alembic

Commit Message
82f6d2ce fix ef39fcd6e1cd downgrade
66189c44 restore logging, fix pytest conflicts

aurweb

Commit Message
c1e29e90 Globalize a Translator instance, add more utility

auth

Commit Message
741cbfaa add several AnonymousUser method stubs

bugfix

Commit Message
822905be relax next verification
4f09e939 gendummydata.py was producing invalid usernames
7ae95ac9 removed extra space in " My Account" nav link
a26e7033 use empty string if backup_email is None
28300ee8 populate context on invalid password (account edit)
dbbafc15 PackageKeyword should have two PKs
4442ba67 return null if config key doesn't exist
04d1c81d fix extra dependency annotations

ci

Commit Message
db02227c add gitlab ci
23f6dd16 add cache to gitlab ci
48b58b1c remove Travis CI

cleanup

Commit Message
6ddf888b remove int(...) casts on HTTPStatus usage

config

Commit Message
d8556b0d add options.salt_rounds

fastapi

Commit Message
32abdbaf Jinja contextfilter renamed to pass_context

gendummydata

Commit Message
201a04ff employ a salted hash for users
eb563050 lower record counts

isort

Commit Message
8f47b8d7 add initial config

rendercomment

Commit Message
4959f62c move Repository init to init

sharness

Commit Message
53391bec do not use spaces in trash directory

spawn

Commit Message
83d228d9 expand AUR_CONFIG to the full path

templates

Commit Message
2d3d03e0 Translate pkgbase.html and partials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment