1
0
Fork 0
mirror of https://github.com/ProjectSynthoria/SynthoriaArchive.git synced 2025-03-12 23:36:54 +02:00
Commit graph

19 commits

Author SHA1 Message Date
nyaadev
a4c7dd7912 Add ReCaptcha to upload page if user is not logged in.
Bring back CSRF to upload form (Use the upload API)
2017-05-21 19:29:21 +02:00
nyaadev
9af778217b DB CHANGE: Add uploader ip address to torrent column and show on torrent view page for superadmins.
Added migration script!: remove sukebei_ lines if your local db does not have those.
Show users ip address on user page for superadmins.
Rename Admin to Moderator internally.
Moderators can now change user level to trusted.
Superadmins can make users moderator.
Improve changing user level.
2017-05-21 19:12:15 +02:00
TheAMM
b9d88e8960 Restructure upload.html and edit.html as well as route logic
Rename variables and reformats user/admin logic
Add an is_trusted field to upload and edit forms

Restructure fields on upload and edit pages
Add simple styling for checkboxes
Add titles (mouseover) for checkboxes with crude explanations
Show Anonymous checkbox during upload and check & disable it for guests
Show Trusted checkbox for users at or above Trusted level
Adjust description field rendering to show field label above it

Add title (mouseover) for edit icon on torrent page
Show uploader for admins on anonymous torrents
Show uploader for admins when editing others' torrents
2017-05-20 22:00:45 +03:00
TheAMM
4b4a7b9830 Support BitComet empty directories (ew)
This will allow most (if not all) torrents that have been rejected by 'Malformed torrent metadata (path part is empty)'

Adjusts _validate_bytes to disable empty check
Adds the empty check to file tree parsing
2017-05-20 10:12:32 +03:00
nyaadev
2a1f8fab87 pep8 2017-05-19 14:36:33 +02:00
A nyaa developer
d936fcf09d Merge pull request #59 from jprandomdev/deprecated_forms
replaced deprecated Classes by their newer versions
2017-05-18 15:20:40 +02:00
tipuch
6765929c7d - replaced deprecated fields by their newer counterparts. 2017-05-17 22:23:36 -04:00
martstern
931b2b0b83 added user class display and editing 2017-05-17 06:02:15 -04:00
Johnny Ding
ad17558ec3 Merge pull request #53 from sharkykh/pep8
Fix PEP8 errors and warnings
2017-05-17 00:08:42 -07:00
UnKnoWn
1f63cdea0a Update forms.py 2017-05-17 05:40:30 +08:00
UnKnoWn
6792716903 Current password required for all profile action
Current password is required for all actions on profile (email change, password change, any to be added later, etc...)
2017-05-17 05:13:55 +08:00
sharkykh
9ac56ba3d7 AutoPEP8 2017-05-16 12:43:55 +03:00
sharkykh
60b7029fcc Remove merge conflict indicators 2017-05-16 12:43:33 +03: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
c1df153e98 Don't enforce site tracker as first, just that it exists on the torrent
Fixes issue #42
Also adds logic for private torrents requiring site tracker as the main tracker (otherwise there's no point on uploading them on the site)
Changes upload.html wording to reflect the requirement to have the tracker, not necessarily as the first one.
2017-05-14 14:22:17 +03:00
nyaadev
064c33ecf4 Fix cookies messing with cache
Change Display name to Torrent display name for clarity
2017-05-13 19:26:43 +02:00
nyaadev
00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00