Commit graph

296 commits

Author SHA1 Message Date
ReimuHakurei
42928c2a41 More validation. 2017-05-24 06:19:15 +00:00
ReimuHakurei
3efda25f88 Increment css version 2017-05-24 06:11:20 +00:00
ReimuHakurei
8d393f5917 Make our HTML actually valid. Fix indentation. 2017-05-24 06:06:39 +00:00
ReimuHakurei
16cfcff846 Fix broken search. 2017-05-24 05:45:29 +00:00
ReimuHakurei
1eb805120e Merge branch 'master' of https://github.com/nyaadevs/nyaa 2017-05-24 05:28:40 +00:00
ReimuHakurei
0d839eca35 More layout improvements. 2017-05-24 05:28:30 +00:00
ReimuHakurei
428b0bf8c7 Fix search on mobile. 2017-05-24 05:06:51 +00:00
snowfag
aa09191a24 Change guest anon upload glyph. 2017-05-24 00:57:07 -04:00
snowfag
02c7223f09 Move deleted button on edit page. 2017-05-24 00:44:27 -04:00
ReimuHakurei
dfe745c635 Add a wider viewport of 1400px for very wide screens (1600px+). 2017-05-24 04:09:16 +00:00
ReimuHakurei
4fa9972252 Merge branch 'master' of https://github.com/nyaadevs/nyaa 2017-05-24 04:08:16 +00:00
ReimuHakurei
b0b77775d7 Unfuck the layout, and remove the search update info from the about box on the home page to declutter. 2017-05-24 04:04:32 +00:00
snowfag
34fe2c5c67 change glyphs for buttons. 2017-05-23 22:16:05 -04:00
snowfag
fb91b2bbf8 Guest upload visual fix. 2017-05-23 21:32:02 -04:00
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
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
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
eb0fdbfef5 update message. 2017-05-22 18:32:48 -04: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
snowfag
aab3eaccaa Spruce up comments. 2017-05-22 23:20:52 +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
f04c3e1cf3 Remove v1 upload api and update notice 2017-05-22 22:57:37 +03:00
katnyaa
607d9b2c92 Change wording for Downloads heading 2017-05-22 15:00:06 +00:00
TheAMM
a1c024a342 Re-enable CSRF token for upload & fix API CSRF handling 2017-05-22 16:29:14 +03: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
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
nyaazi
92a6074fa2 Merge branch 'master' into reports 2017-05-21 18:48:45 +03:00
nyaazi
e13235fc97 "Unfix" the page 2017-05-20 23:00:42 +03:00
TheAMM
f31efcdaa1 Align fields better, move Anonymous as first flag 2017-05-20 22:50:49 +03: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
nyaazi
1705bfd6ea Using the url_for function 2017-05-20 21:53:23 +03:00
nyaazi
ec0f8000d7 Usage of WTForms for report action 2017-05-20 14:23:29 +03:00
nyaazi
73c84ce5ec Remove duplicate reports for already reviewed torrent 2017-05-20 13:58:58 +03:00
nyaazi
354736720b Implemented report action
Actions: Close report, Hide torrent, Delete torrent
2017-05-20 13:33:58 +03:00
Simon Veit Engmann
cc957ccc96 Changed RSS feed to conform to RSS standards and added a namespace 2017-05-20 01:13:04 +02:00
nyaazi
799d5914d6 Added reports page 2017-05-19 20:52:04 +03:00
TheAMM
68b5bc045b Add "magnets" parameter for RSS, slightly clean up home and view_user 2017-05-19 20:11:20 +03:00
nyaazi
98fbe6efb1 Adding report table, route and view. 2017-05-19 20:03:47 +03:00