Commit graph

116 commits

Author SHA1 Message Date
Kevin Morris
e3fff9e357
Merge branch 'feat-csrf-login-check' into pu 2021-11-15 12:00:07 -08:00
Kevin Morris
85ebc72e8a
fix(fastapi): only elevated users are allowed to suspend accounts
Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-11-08 18:51:39 -08:00
Steven Guikal
020409ef46 fix(FastAPI): prevent CSRF forging login requests
Signed-off-by: Steven Guikal <void@fluix.one>
2021-11-04 14:34:14 -04:00
Kevin Morris
65be8b8e07
fix(fastapi): support "Account Type:" input for account edit
Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-25 22:05:23 -07:00
Kevin Morris
60bffa4fb6
feat(FastAPI): add /packages (post) action: 'delete'
Improvements:

- Package deletion now creates a PackageRequest on behalf of
  the deleter if one does not yet exist.
- All package deletions are now logged to keep track of who did what.

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-23 18:23:15 -07:00
Kevin Morris
13b344d238
feat(FastAPI): add /packages (post) action: 'disown'
Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-22 19:38:14 -07:00
Kevin Morris
f1ad1b9aed
feat(FastAPI): add /packages (post) action: 'adopt'
Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-22 19:01:13 -07:00
Kevin Morris
d5520c9ed2
feat(FastAPI): add /packages (post) action: 'unnotify'
Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-21 17:38:44 -07:00
Kevin Morris
b277d94e0b
feat(FastAPI): add /packages (post) action: 'notify'
Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-21 16:52:04 -07:00
Kevin Morris
2d46811c45
fix(FastAPI): display VCS note when flagging a VCS package
Closes: #131

Signed-off-by: Kevin Morris <kevr@0cost.org>
2021-10-15 16:16:11 -07:00
Lukas Fleischer
a09c4d8168 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2020-03-27 08:31:46 -04:00
Lukas Fleischer
d4632aaffa Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2020-02-10 11:05:27 +01:00
Lukas Fleischer
8ff21fd39c Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2020-02-02 12:12:43 +01:00
Lukas Fleischer
b922811061 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2019-10-19 00:20:09 -04:00
Lukas Fleischer
2aa78d75d3 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2018-07-07 16:08:33 +02:00
Lukas Fleischer
840ee20f7b Rename translation resources from aur to aurweb
* Rename the aur project to aurweb on Transifex.
* Rename aur.pot to aurweb.pot.
* Update documentation and Makefile.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2018-07-07 16:05:12 +02:00
Lukas Fleischer
d24737f3f5 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2018-05-17 22:58:54 +02:00
Lukas Fleischer
f7a57c82bc Localize notification emails
Add support for translating notification emails and send localized
notifications, based on the user's language preferences. Also, update
the translations Makefile to add strings from the notification script
to the message catalog.

Implements FS#31850.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2018-05-17 22:58:54 +02:00
Lukas Fleischer
f44705a640 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2017-12-02 21:30:44 +01:00
Lukas Fleischer
d09ee5fdd7 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2017-11-28 08:52:22 +01:00
Lukas Fleischer
0ba88c4795 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2017-03-09 06:18:06 +01:00
Lukas Fleischer
e4bc2e7af3 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2017-02-26 10:28:03 +01:00
Lukas Fleischer
d0a7a70e2d Update message catalog 2017-02-25 13:41:22 +01:00
Lukas Fleischer
08f56e76d7 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2017-02-23 07:42:25 +01:00
Lukas Fleischer
3f5bf62285 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-10-15 19:45:48 +02:00
Lukas Fleischer
0dce4c4bca Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-10-08 14:59:33 +02:00
Lukas Fleischer
5766a37e4a Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-09-30 17:48:49 +02:00
Lukas Fleischer
d43f8478b4 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-08-14 07:59:32 +02:00
Lukas Fleischer
ac6b091724 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-08-06 11:44:40 +02:00
Lukas Fleischer
0350de4b42 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-06-25 16:10:01 +02:00
Lukas Fleischer
e2632ea6c9 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-02-15 08:17:23 +01:00
Lukas Fleischer
cd1756a4ed Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-02-09 21:58:48 +01:00
Lukas Fleischer
6d6df72183 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2016-01-28 23:04:00 +01:00
Lukas Fleischer
b8c1cd7cc3 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-12-12 21:59:35 +01:00
Lukas Fleischer
34153f41a9 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-10-03 09:26:32 +02:00
Lukas Fleischer
e66595fb92 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-09-26 07:49:27 +02:00
Lukas Fleischer
311c7f0366 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-09-23 21:46:33 +02:00
Lukas Fleischer
046d3e25fa Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-08-08 12:57:23 +02:00
Lukas Fleischer
0abe03c419 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-28 10:10:19 +02:00
Lukas Fleischer
b1e3bfb48f po/Makefile: Add more context to strings in the catalog
Pass the --add-location=file parameter to xgettext(1) when building the
message catalog, such that each string is annotated with the file it
originates from.

Fixes FS#45401.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-27 13:04:03 +02:00
Lukas Fleischer
6852a0c2af Add Arabic translation
Implements FS#45430.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-27 13:04:03 +02:00
Lukas Fleischer
c0b62c52db Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-18 10:16:07 +02:00
Lukas Fleischer
40b7c846c1 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-14 21:58:32 +02:00
Lukas Fleischer
e986ced395 Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-12 17:15:01 +02:00
Lukas Fleischer
bec3dd7efb Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-11 23:46:03 +02:00
Lukas Fleischer
e254a31544 Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-11 15:31:28 +02:00
Lukas Fleischer
9b19f7595e Add Spanish (Latin America) and Asturian translations
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-09 08:52:08 +02:00
Lukas Fleischer
f13160f5cf Add Chinese (Taiwan) translations
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-08 14:26:26 +02:00
Lukas Fleischer
1fa9d4218b Translation updates from Transifex
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-08 09:16:43 +02:00
Lukas Fleischer
cc5871c56f Update message catalog
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-04 13:48:45 +02:00