Commit graph

266 commits

Author SHA1 Message Date
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
TheAMM
daef4a9c6a Finalize RSS ES fix 2017-05-19 19:25:48 +03:00
TheAMM
e7614bcef1 Merge branch 'update-rss-template' of https://github.com/sharkykh/nyaa into sharkykh-update-rss-template 2017-05-19 18:31:10 +03:00
nyaadev
375dcf15ef Switch to CDN for bootstrap-select and font-awesome css
Remove superfluous static files
2017-05-19 15:23:26 +02:00
A nyaa developer
35f6c8b202 Merge pull request #134 from CounterPillow/cdnfix
Use cdnjs with SRI and HTTPS for all CDN JS files
2017-05-19 15:08:23 +02:00
TheAMM
e554f9ae97 Fix category name on icon titletext, fixes #131
Also reformats the cat_id if-logic
2017-05-19 15:24:09 +03:00
Nicolas F
c31f3d251b Use cdnjs with SRI and HTTPS for all CDN JS files
SRI means that there's a lesser risk for XSS, and CDNJS itself
recommends always requesting them over HTTPS in their "About" page.

This closes #133
2017-05-19 08:43:49 +02:00
Mart
02fa705330 Merge pull request #107 from UnKnoWn-Consortium/patch-2
Make profile page more profile
2017-05-19 00:20:41 -04:00
UnKnoWn
63d01e430f Adjusting margin 2017-05-18 23:17:49 +08:00
UnKnoWn
4bc3abe317 Left aligning the user info 2017-05-18 23:15:17 +08:00
aldacron
ddd4d8e44c Fixed MOTD spacing and changed to core js assets to cdns 2017-05-18 00:38:33 -07:00
aldacron
67758e1eef updated example again 2017-05-18 00:27:27 -07:00
UnKnoWn
0677b121d6 Update profile.html 2017-05-18 04:45:37 +08:00
UnKnoWn
a1e90c96d9 Update profile.html 2017-05-18 04:33:53 +08:00
UnKnoWn
9a4583b87d Update profile.html 2017-05-18 04:33:40 +08:00
UnKnoWn
efff63c5c0 A more structured look for profile 2017-05-18 04:31:42 +08:00
Kfir Hadas
e8885df2b4 Drag&Drog in upload 2017-05-17 20:14:26 +03:00
Nazo
40d7540058 Handle softbreaks properly with commonmark, fixes #100 2017-05-17 18:54:17 +03:00
martstern
931b2b0b83 added user class display and editing 2017-05-17 06:02:15 -04:00
aldacron
08217cee2f changed filter bar for clarity 2017-05-17 01:43:04 -07:00
aldacron
cee5d815d4 fixed line break 2017-05-17 01:33:54 -07:00
aldacron
d0f9481b62 Merge branch 'master' of https://github.com/nyaadevs/nyaa 2017-05-17 01:29:50 -07:00
aldacron
e98b7702d8 updated motd for clarity 2017-05-17 01:29:18 -07:00
TheAMM
8d66d6c82d Include search terms in page title
Fixes #25
2017-05-17 11:27:54 +03:00
aldacron
291789445c memes 2017-05-17 01:06:18 -07:00
aldacron
2590dfcc95 updated motd 2017-05-17 00:59:57 -07:00
aldacron
acc5da09b0 updated MOTD for new search awareness 2017-05-17 00:53:26 -07:00
aldacron
8ffcbca4d5 improved profile page user flow. clears data on success and shows current email. also, flashes success message if successful 2017-05-17 00:53:07 -07:00
Johnny Ding
c61bba8f30 Merge pull request #80 from nathancyam/mobile_search
Issue #35: Mobile search improvements
2017-05-17 00:13:25 -07:00
Johnny Ding
03d658fcef Merge pull request #91 from Open-Anime-Database-Consortium/master
User profile page UI and logic change
2017-05-16 23:58:27 -07:00
UnKnoWn
90c1314b59 Fixing default tab 2017-05-17 14:56:22 +08:00