Commit Graph

77 Commits

Author SHA1 Message Date
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
katnyaa 607d9b2c92 Change wording for Downloads heading 2017-05-22 15:00:06 +00: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 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 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
nyaazi 799d5914d6 Added reports page 2017-05-19 20:52:04 +03:00
nyaazi 98fbe6efb1 Adding report table, route and view. 2017-05-19 20:03:47 +03:00
Nazo 40d7540058 Handle softbreaks properly with commonmark, fixes #100 2017-05-17 18:54:17 +03:00
Johnny Ding 0093b2bf4f Merge pull request #76 from sharkykh/fix-file-list
Fix padding for single file in torrent file list
2017-05-16 23:53:43 -07:00
Nazo 6f61970559 Switch marked to commonmark 2017-05-16 21:29:22 +03:00
Kfir Hadas 261490daa7 Fix padding for single file in torrent file list 2017-05-16 11:53:13 +03:00
TheAMM 7f767072cf Fix icon spacing in torrent filelist
As noted in #66
2017-05-15 09:50:58 +03:00
sharkykh 6be5326f45 Reformat code some more 2017-05-15 09:37:02 +03:00
sharkykh bd1a9f5cf4 Reformat 2017-05-15 09:34:22 +03:00
sharkykh dd1f1b6834 Nicer looking file list (basic table) 2017-05-15 09:28:48 +03:00
TheAMM 2c013090e0 Replace newlines with html entities in torrent description
Fixes #60
On production, Cloudflare minifies our HTML which removes blank newlines from the source and therefore the description.
Replacing them with HTML entities fixes the problem.
2017-05-14 23:28:22 +03:00
TheAMM cf77b03a6f Convert UTC to local time in JS
Also adds classes to row headers to accurately access them in JS.
Updates the serverside date format in view.html to match YYYY-MM-DD HH:MM
2017-05-14 11:23:02 +03:00
TheAMM 3bdff6246f Fix markdown linebreaks and match preview render options with final 2017-05-14 09:38:19 +03: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 5af55245ec [templates] Add category links to /view, add hover-text to category icons in list 2017-05-13 08:17:22 +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
nyaadev 00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00