1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-11-18 07:47:50 +00:00
Commit graph

265 commits

Author SHA1 Message Date
snowfag 4a7d8646b6 Update upload/edit buttons. 2017-05-23 21:11:58 -04:00
snowfag 0770822824 Change CRLF to LF. 2017-05-23 21:06:32 -04:00
nyaadev 020a0871bd fix #173 and add avatar to mod user info
add rank color to username everywhere
some other minor changes
2017-05-24 00:28:17 +02:00
nyaadev a88f6a0847 please incease css version when editing it, fix #ad8a5c0d1c0998d808c4af3745cfc9e5c83f547b 2017-05-23 23:37:06 +02:00
nyaadev 1b76eaea35 fix race condition? 2017-05-23 15:18:17 +02:00
katnyaa ba7e0a7c2e routes: Fix invalid call from previous merge 2017-05-23 13:47:47 +01:00
katnyaa 48df88ce71 Merge pull request #140 from FallenWarrior2k/master
Changed RSS feed to conform to RSS standards and added a namespace
2017-05-23 12:44:03 +00:00
katnyaa aa0d7f702f api: Invalid JSON is a client-side error 2017-05-23 13:19:07 +01:00
katnyaa 517f5c48e6 readme: Clean up setup instructions 2017-05-23 11:55:22 +00:00
snowfag ad8a5c0d1c Update buttons and css. 2017-05-23 01:17:55 -04:00
nyaadev f32d1a0c64 use enumerated index for comment anchors 2017-05-23 02:59:31 +02:00
nyaadev af61e5b1e9 some html + css changes around comments 2017-05-23 02:47:20 +02:00
snowfag f76593a3fb Proper sized default avatar. 2017-05-22 19:08:08 -04:00
nyaadev 76812b0ef0 utf8mb4 for database connection 2017-05-23 00:46:26 +02:00
nyaadev c6d4803e90 Merge branch 'comments' of nyaadevgithub:nyaadevs/nyaa 2017-05-23 00:38:18 +02:00
nyaadev 8ef6e915da shameful late edit: change comment text collation to utf8mb4 2017-05-23 00:36:53 +02:00
snowfag eb0fdbfef5 update message. 2017-05-22 18:32:48 -04:00
A nyaa developer c35f136133 Merge pull request #165 from nyaadevs/comments
Comments
2017-05-23 00:13:35 +02:00
nyaadev 3fc347d049 Move posting comments to view_torrent to fix displaying form errors. 2017-05-23 00:04:27 +02:00
nyaadev b7144f80f9 Make comments great again. 2017-05-22 23:38:06 +02:00
A nyaa developer 4549cb4c6b Update trackers.txt 2017-05-22 23:36:34 +02:00
snowfag aab3eaccaa Spruce up comments. 2017-05-22 23:20:52 +02:00
nyaadev fee55c1792 comments can be added+removed. gravatar for user avatar 2017-05-22 23:20:49 +02:00
martstern 9bd71af1b2 only allow logged in users to comment 2017-05-22 23:19:36 +02:00
Sn0wCrack c3a637c8eb Added date column t o comments 2017-05-22 23:19:36 +02:00
Sn0wCrack fe6abf33c1 Added ability for users to leave anonymous comments 2017-05-22 23:19:36 +02:00
Sn0wCrack 1a9ebc19ed Added hard delete functionality 2017-05-22 23:19:36 +02:00
Sn0wCrack 6d608ab2f4 Added comments 2017-05-22 23:19:23 +02:00
TheAMM 1e230584ab Re-add generated torrent tracker count limit
As found out in #164, this feature disappeared somewhere along the line.
2017-05-22 23:59:21 +03:00
TheAMM f04c3e1cf3 Remove v1 upload api and update notice 2017-05-22 22:57:37 +03:00
A nyaa developer b241dd5508 Don't generate empty torrent file for torrents without info dict (has_torrent). 2017-05-22 20:08:41 +02:00
katnyaa 607d9b2c92 Change wording for Downloads heading 2017-05-22 15:00:06 +00:00
katnyaa 34031126ed Merge pull request #160 from nyaadevs/pep8-fixes
Fix lint errors
2017-05-22 14:13:47 +00:00
katnyaa 159d5a5d9e Fix lint errors 2017-05-22 15:12:17 +01:00
TheAMM 7066fb258e Wait, that was no dict at all! Fix v1 api default 2017-05-22 16:54:02 +03:00
TheAMM 0e57378359 API: default to trusted, properly pass CSRF to UploadForm 2017-05-22 16:51:03 +03:00
katnyaa a305df5a8f Merge pull request #95 from sharkykh/travis
Auto python lint check using Travis
2017-05-22 13:30:15 +00:00
TheAMM a1c024a342 Re-enable CSRF token for upload & fix API CSRF handling 2017-05-22 16:29:14 +03:00
katnyaa efb44724e1 Merge pull request #158 from katnyaa/katnyaa-patch-1
Fix typo
2017-05-22 13:21:38 +00:00
katnyaa 1016d5be02 Fix typo 2017-05-22 13:02:02 +00:00
aldacron 29e878a1ec fixed api_uploader and reverted backend.py change 2017-05-22 00:36:01 -07:00
aldacron ec72d8bf3d updated v1 docs 2017-05-21 22:55:42 -07:00
aldacron 8fc81b395e if is_trusted is not sent and user is trusted, torrent will marked as trusted unless specified. this also enable backward compat of v1 2017-05-21 22:53:28 -07:00
aldacron c2438f3913 nyaadev is an idiot and broke apiv2 2017-05-21 22:10:05 -07:00
nyaadev 0a258d59e1 temporary ghetto import, will be removed once importing is done. 2017-05-22 01:49:02 +02:00
A nyaa developer 17d3e1e20d Merge pull request #120 from nyaadevs/anon_upload_captcha
Add ReCaptcha to upload page if user is not logged in.
2017-05-21 19:32:04 +02:00
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
nyaadev 152e547ac5 Add flask-Migrate + alembic for automated database migrations.
Update some dependencies to their latest version.
Make executable scripts executable (chmod +x).
2017-05-21 17:47:16 +02:00
TheAMM 740be1a40a Fix upload api handler: default to '' to conform better to WTForm 2017-05-21 12:41:34 +03:00