TheAMM
32fa021f34
Turn comments icon on search result into link to comments
...
Also cleans up torrent.id/torrent.meta.id
2017-05-28 02:46:04 +03:00
shm0o
8b7712b1d0
templates/view.html: use url_for for the 'edit_torrent' endpoint
2017-05-25 19:33:47 -04:00
TheAMM
3f49f17baa
Add simple OG metadata tags to templates
...
Hello, #185
2017-05-26 01:03:59 +03:00
Kfir Hadas
559602d19b
Fix inverted icons in file list
2017-05-25 22:16:12 +03:00
Anna-Maria Meriniemi
0394639954
Calculate comment age clientside, show timestamp in mouseover title ( #191 )
...
Resolves outdated comment ages thanks to caching and will show timestamps in local time.
2017-05-25 21:13:35 +03:00
Kfir Hadas
e91fdb70da
Strip collapse functionality from file list panel
2017-05-25 16:41:07 +03:00
Kfir Hadas
ae4d75ecde
Show first level's items based on amount
...
Currently set to show when list has 20 items or less
2017-05-25 15:16:29 +03:00
Kfir Hadas
a64cac5e5e
Basic collapsible file tree
2017-05-25 12:53:23 +03:00
TheAMM
b09c61980c
Add new route for torrent download, fix Content-Disposition
...
New route is `/download/<torrent_id>.torrent`, which will help people using tools that do not consider headers.
Old torrent download route still works.
Updated one remaining link to use url_for.
Added plain `filename="..."` to `Content-Disposition`, since it is still the most common standard with percent encoded UTF-8.
Fixes part 2 of #45
2017-05-25 11:15:45 +03:00
aldacron
d5e2311c56
Resolves #181
2017-05-24 23:25:21 -07:00
TheAMM
0e89d3f24b
Show torrent hash on torrent page
2017-05-24 17:17:51 +03:00
ReimuHakurei
3418cb6175
More validation.
2017-05-24 06:45:00 +00:00
ReimuHakurei
42928c2a41
More validation.
2017-05-24 06:19:15 +00: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
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
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
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
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
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