1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 13:20:01 +00:00
Commit graph

98 commits

Author SHA1 Message Date
UnKnoWn 90c1314b59 Fixing default tab 2017-05-17 14:56:22 +08:00
UnKnoWn cfb3fafd64 Merge remote-tracking branch 'refs/remotes/nyaadevs/master' 2017-05-17 14:51:47 +08:00
Johnny Ding de5a15b9a0 Merge pull request #88 from nyaadevs/commonmark
Switch marked to commonmark
2017-05-16 23:51:23 -07:00
aldacron f27cf17478 added timeout to import and sync es 2017-05-16 23:15:48 -07:00
aldacron 6ad43bbcaa Reverted previous commit for mapping 2017-05-16 22:53:03 -07:00
aldacron b2a7b49757 changed es mapping to disable fields that don't need querying 2017-05-16 22:12:58 -07:00
queue 4a777376a2 import_to_es: fix put_settings not being strings
annoying.
2017-05-16 23:06:07 -06:00
queue c4dbbdae7b import_to_es: munge refresh_interval for speed 2017-05-16 23:00:58 -06:00
queue e38fe2575a sync_es.py: bulk actions per binlog event
mainly helps with the stat updates, that come in
a single INSERT VALUES (...) ON CONFLICT UPDATE event,
which helpfully translates to a bulk index event.

It seems like elasticsearch should still be buffering that up
internally, so maybe the refresh_interval: 30s change will help
more than this.
2017-05-16 22:47:34 -06:00
UnKnoWn 1f63cdea0a Update forms.py 2017-05-17 05:40:30 +08:00
UnKnoWn a0f6f93a80 Include style for the new tabs in profile page 2017-05-17 05:37:06 +08:00
UnKnoWn f044170acb Update profile.html 2017-05-17 05:35:01 +08:00
UnKnoWn 1ac211276e Added tabs to make profile more organized 2017-05-17 05:19:00 +08:00
UnKnoWn 6792716903 Current password required for all profile action
Current password is required for all actions on profile (email change, password change, any to be added later, etc...)
2017-05-17 05:13:55 +08:00
UnKnoWn 1fb249be35 Enforce password check on email change
Updated route handler to enforce current password check on all account details.
2017-05-17 05:10:25 +08:00
Johnny Ding e530e28bbd Merge pull request #77 from nyaadevs/pinned-tab
Add Safari pinned-tab icon
2017-05-16 13:06:12 -07:00
Johnny Ding 033e83562f Merge pull request #79 from nyaadevs/legacy-args
Support legacy arguments in search route
2017-05-16 13:04:52 -07:00
Nazo 2523201757 Use spaces instead of tabs 2017-05-16 21:32:54 +03:00
Nazo 6f61970559 Switch marked to commonmark 2017-05-16 21:29:22 +03:00
UnKnoWn eedc6c170d Added tabs to make profile more organized 2017-05-17 02:00:01 +08:00
Anna-Maria Meriniemi 6cda661554 Merge pull request #81 from Ricardo1991/master
Add full torrent name to link "title"
2017-05-16 17:11:13 +03:00
Ricardo Ribeiro d8ef29755e Remove trailing spacebar on search_results 2017-05-16 15:08:47 +01:00
Ricardo Ribeiro 1f0f8cbeae Add full torrent name to link "title"
Now on ElasticSearch results as well
2017-05-16 14:49:15 +01:00
TheAMM dcad0572c5 RSS: add a simple one-hour Cache-Control 2017-05-16 15:59:03 +03:00
aldacron 99b59e57f5 revert motd, need to fix es 2017-05-16 04:27:36 -07:00
aldacron 1924a2fa85 Updated MOTD for ES enabling 2017-05-16 04:12:55 -07:00
aldacron 40c34e7df0 add stats as upsert in case of binlog not being sequential 2017-05-16 03:20:38 -07:00
nyaadev0 472b78bac1 Support legacy arguments in search route 2017-05-16 04:27:13 -05:00
nyaadev0 a87c192435 Add Safari pinned-tab icon 2017-05-16 04:11:02 -05:00
aldacron 00c768c722 merged elasticsearch, let's hope this doesn't break shit 2017-05-16 01:28:55 -07:00
aldacron 1d0177480e updated time display 2017-05-16 01:04:08 -07:00
aldacron 2005174358 finished up rss, changed rss behavior to include pre-defined trackers only, also cleaned up debug statements 2017-05-16 00:46:25 -07:00
aldacron 899aa01473 hooked up ES... 90% done, need to figure out how to generate magnet URIs 2017-05-15 23:51:58 -07:00
aldacron c2c547e786 some more elasticsearch work, including index mapping and analyzer 2017-05-15 11:14:01 -07:00
Anna-Maria Meriniemi b7a2aa78a4 Merge pull request #68 from sharkykh/fix-link-column-width
Fix 'Link' column header width
2017-05-15 12:16:43 +03:00
sharkykh 5c75424243 Fix 'Link' column header width
Set optimal width of 70px
2017-05-15 11:54:28 +03:00
queue 32b9170a81 es: add sync_es script for binlog maintenance
lightly documented.
2017-05-15 01:32:56 -06:00
TheAMM 7f767072cf Fix icon spacing in torrent filelist
As noted in #66
2017-05-15 09:50:58 +03:00
Anna-Maria Meriniemi 7b78bcc80b Merge pull request #66 from sharkykh/improve-file-list
Improve file list with directories and icons
2017-05-15 09:42:19 +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
queue 85ba16545f es: fix highlighting without query term
I like highlighting.
2017-05-14 22:26:44 -06:00
Johnny Ding 8bca32a626 Merge pull request #50 from qqueue/elasticsearchin
elasticsearch-based search (WIP)
2017-05-14 20:06:33 -07:00
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