Commit Graph

50 Commits

Author SHA1 Message Date
aldacron c5d77f996b Resolve #57 2017-05-14 17:43:56 -07: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 16c30413dc Remove extra b'e' in torrent generation
Fixes #45
Flexget checks for trailing data after bdecoding, which most decoders don't do - so this went unnoticed.
2017-05-14 20:14:49 +03:00
TheAMM c1df153e98 Don't enforce site tracker as first, just that it exists on the torrent
Fixes issue #42
Also adds logic for private torrents requiring site tracker as the main tracker (otherwise there's no point on uploading them on the site)
Changes upload.html wording to reflect the requirement to have the tracker, not necessarily as the first one.
2017-05-14 14:22:17 +03:00
Anna-Maria Meriniemi 22cea7af17 Merge pull request #54 from sharkykh/footer-commit-hash
Display the site's commit hash
2017-05-14 13:55:55 +03:00
Anna-Maria Meriniemi 8d0d7cfac8 Merge pull request #52 from bittebitte/patch-1
Autofocus username field
2017-05-14 13:24:20 +03:00
sharkykh 2a71fd8158 Display the site's commit hash 2017-05-14 12:02:39 +03:00
aldacron a7d3c5a4de Merge branch 'master' of https://github.com/nyaadevs/nyaa 2017-05-14 01:40:10 -07:00
aldacron 1c1a4747c8 Resolves #48 2017-05-14 01:39:28 -07:00
TheAMM 675edb08c3 Oops, remove debug log 2017-05-14 11:25:09 +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
bittebitte 60f11b54ff Autofocus username field 2017-05-14 03:06:13 -05:00
Yara Naika b147cfeb81 Ghetto migrate solution, in case you re-run db_create, it won't add categories again 2017-05-13 23:51:29 -07:00
TheAMM 3bdff6246f Fix markdown linebreaks and match preview render options with final 2017-05-14 09:38:19 +03:00
Anna-Maria Meriniemi 46682861d0 Merge pull request #46 from nathancyam/markdown_preview
Adds a client-side markdown preview for upload.html and edit.html
2017-05-14 09:25:02 +03:00
Nathan Yam d45c9dca43 Add markdown editor when editing own torrents 2017-05-14 16:21:20 +10:00
Nathan Yam de4891dfc6 Add well styling to preview content 2017-05-14 16:14:18 +10:00
Nathan Yam fabe0f6fec Issue #10 Add markdown preview editor
These changes add a macro that creates the relevant HTML markup for a
markdown editor. In the main.js file, we bind the relevant elements with
the marked library, so users can see their contents in a HTML format.
2017-05-14 15:33:08 +10:00
Nathan Yam d3ad2503ae Add markdown editor macro 2017-05-14 15:33:08 +10:00
TheAMM bc430d06b7 Add issue template (and remind people we know about the search thankyouverymuch) 2017-05-14 06:42:09 +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
Ricardo Ribeiro 03bac92088 Revert c14649b because it "breaks" nightmode (#29)
* Fix layout on long torrent names

before: http://i.imgur.com/cI1pZrF.png
after: http://i.imgur.com/BIC722K.png

* change space to tab

* Revert bg color on odd numbered torrents on list

Breaks nightmode. Find some other way to do it.
2017-05-13 22:19:22 +02:00
A nyaa developer 787569ab2b Merge pull request #33 from adsko/test-26
Fixed problem with saving filter after reloading (#26)
2017-05-13 22:18:38 +02:00
Adam 8d244675a0 Fixed problem with saving filter after reloading (#26) 2017-05-13 21:51:24 +02:00
nyaadev 064c33ecf4 Fix cookies messing with cache
Change Display name to Torrent display name for clarity
2017-05-13 19:26:43 +02:00
Ricardo Ribeiro 4571b55fc9 Fix layout on long torrent names (#23) (For now)
* Fix layout on long torrent names

before: http://i.imgur.com/cI1pZrF.png
after: http://i.imgur.com/BIC722K.png

* change space to tab
2017-05-13 19:26:03 +02:00
A nyaa developer 7420e94318 Merge pull request #17 from Ricardo1991/master
Small CSS tweaks to the torrent listing and torrent view on mobile
2017-05-13 16:34:11 +02:00
nyaadev a3422ce068 RSS: Fix #2 #5 and #12 2017-05-13 16:14:00 +02:00
nyaadev 7e25e6d9b8 Our main tracker first, then user trackers, then trackers.txt 2017-05-13 15:46:08 +02:00
Ricardo Ribeiro c14649bfb4 Remove torrent list bg color for odd rows 2017-05-13 14:06:58 +01:00
Ricardo Ribeiro 2e30a7be84 Improve torrent view readibility on mobile 2017-05-13 14:06:32 +01:00
Anna-Maria Meriniemi 799e9dea87 Merge pull request #4 from erengy/rss-links
Remove whitespace from RSS links
2017-05-13 09:31:43 +03:00
Eren Okka 1e66fe0f77 Remove whitespace from RSS channel description 2017-05-13 09:06:31 +03:00
TheAMM f7d14ee19f Update WIP message with big promises 2017-05-13 08:59:31 +03:00
TheAMM 43406fb831 Don't use a keyword as a variable name! 2017-05-13 08:20:14 +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
Eren Okka 60c3d7c7cd Remove whitespace from RSS links 2017-05-13 06:23:58 +03:00
TheAMM b2106089b6 [backend] Move upload handling from routes.py into backend.py
Preparing for a better api
2017-05-13 03:38:38 +03:00
TheAMM 6990effaf7 [upload] Send 400 if POSTed at with a bad form 2017-05-13 03:15:34 +03:00
nyaadev b2b8ae9722 S T O P H A R D C O D I N G U R L S 2017-05-13 01:59:52 +02:00
TheAMM 38a3ba277c Make sure torrent backup directory exists before writing torrent 2017-05-13 02:41:52 +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
TheAMM 517d3e8e32 [templates, config] Add SITE_FLAVOR for selecting nyaa/sukebei, update templates
By default TABLE_PREFIX is derived from flavor.
Added back Date column, adjusted column widths
2017-05-13 02:41:52 +03:00
A nyaa developer 1eaaf08e8a Merge pull request #1 from Nalapl3/patch-1
Openbittorrent -> Opentrackr
2017-05-13 01:36:34 +02:00
Nazo 98418a63f4 Add license (GPLv3) 2017-05-13 01:03:42 +03:00
Nala_Alan 5e75a6a594 Opentracker
Just another udp tracker.
2017-05-12 22:44:49 +02:00
Nala_Alan 3ada71fb9f Remove openbittorrent
It's dead for long time already.
2017-05-12 22:41:32 +02:00
nyaadev 131bdaa11c Add .gitignore
Add github link to welcome banner
2017-05-12 22:12:00 +02:00
TheAMM 4f9ddfd7bc [templates] Clean up row headers to use a common macro, add title for s/l/d icons 2017-05-12 22:24:45 +03:00
nyaadev 00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00