Commit Graph

14 Commits

Author SHA1 Message Date
TheAMM 2ccf23a1f3 Clean up models.User.level helpers 2017-05-20 21:56:22 +03:00
TheAMM 95d2bff614 Add cascade to Torrent relationships for entry nuking (debugging purposes)
Doesn't change the schema, only how SQA will handle session.delete(Torrent.by_id(1337))
2017-05-20 10:16:01 +03:00
TheAMM daef4a9c6a Finalize RSS ES fix 2017-05-19 19:25:48 +03:00
nyaadev 2a1f8fab87 pep8 2017-05-19 14:36:33 +02:00
TheAMM 18ebf201b8 Add a function for getting a id->category name map
Redo _create_upload_category_choices to use new function
Also removes (renames) by_id from models.SubCategory (we use composite key)
2017-05-19 15:21:20 +03:00
TheAMM 6bfb65172c Add helper functions to models.User 2017-05-18 15:28:51 +03:00
martstern 931b2b0b83 added user class display and editing 2017-05-17 06:02:15 -04:00
sharkykh 5e60847cb6 More E501 line too long - multiple files
nyaa/backend.py:75
nyaa/forms.py:129,175
nyaa/models.py:88
2017-05-16 12:43:33 +03:00
sharkykh a79c0f8a93 PEP8 (a run of lint.sh) 2017-05-16 12:42:12 +03:00
martstern eb59116429 allow admin to give trusted to users. show users their own info when logged in 2017-05-15 07:49:25 -04:00
TheAMM 00a0327b19 Format information into a link if possible
Fixes issue #24 (am I doing this right?)
Supports HTTP(S) and IRC channels (#channel@server.com)
2017-05-13 23:44:00 +03:00
TheAMM 39230e1f39 [templates] Add JS-calculated hovertext for date ages
On torrent listing and torrent view, mouse over the times to see "X hours Y minutes Z seconds ago" etc
2017-05-13 02:41:52 +03:00
TheAMM 517d3e8e32 [templates, config] Add SITE_FLAVOR for selecting nyaa/sukebei, update templates
By default TABLE_PREFIX is derived from flavor.
Added back Date column, adjusted column widths
2017-05-13 02:41:52 +03:00
nyaadev 00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00