1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-11-01 05:35:55 +00:00
Commit graph

319 commits

Author SHA1 Message Date
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
Nathan Yam 2faeb51550 Add vendor prefixes 2017-05-16 21:20:12 +10:00
aldacron 1924a2fa85 Updated MOTD for ES enabling 2017-05-16 04:12:55 -07:00
Nathan Yam 0f9336cac5 Format css nicely 2017-05-16 21:12:19 +10:00
Nathan Yam d3a4809cb9 Fix text content length 2017-05-16 20:29:37 +10:00
aldacron 40c34e7df0 add stats as upsert in case of binlog not being sequential 2017-05-16 03:20:38 -07:00
Nathan Yam 51b93004d0 Fix the order to match desktop 2017-05-16 20:01:38 +10:00
Kfir Hadas dbd3229956 PEP8 routes.py (E501) 2017-05-16 12:56:12 +03:00
Nathan Yam 36416a3597 Fix search bar presentation
Need to fix filters and categories though. Looks
terrible.
2017-05-16 19:53:38 +10:00
Kfir Hadas 2c9ed4cb94 PEP8 search.py (E501) 2017-05-16 12:52:48 +03:00
Kfir Hadas 4e9409fb30 AutoPEP8 (after elasticsearch merge) 2017-05-16 12:47:06 +03:00
sharkykh 9ac56ba3d7 AutoPEP8 2017-05-16 12:43:55 +03:00
sharkykh 60b7029fcc Remove merge conflict indicators 2017-05-16 12:43:33 +03:00
sharkykh 571b7f2930 Ignore routes import line 2017-05-16 12:43:33 +03:00
sharkykh 5e60847cb6 More E501 line too long - multiple files
nyaa/backend.py:75
nyaa/forms.py:129,175
nyaa/models.py:88
2017-05-16 12:43:33 +03:00
sharkykh a3be6ee89f PEP8 api_handler.py (E501)
E501 line too long
2017-05-16 12:43:33 +03:00
sharkykh b0325bc681 PEP8 api_handler.py (E265, E266)
E265 block comment should start with '# '
E266 too many leading '#' for block comment
2017-05-16 12:43:33 +03:00
sharkykh beb5be9989 8: PEP8 routes.py (E265, E266, E713)
E265	block comment should start with ‘# ‘
E266	too many leading ‘#’ for block comment
E713	test for membership should be ‘not in’
2017-05-16 12:43:33 +03:00
sharkykh 1b99908283 PEP8 routes.py (E501)
line too long
2017-05-16 12:42:32 +03:00
sharkykh a79c0f8a93 PEP8 (a run of lint.sh) 2017-05-16 12:42:12 +03:00
Kfir Hadas c691087730 Use formatted file size
since that what was used by Nyaa.
2017-05-16 12:34:58 +03:00
sharkykh 837ecde795 Wrap description in a CDATA tag 2017-05-16 12:34:58 +03:00
sharkykh e2eb3fb33c Category (main+sub) 2017-05-16 12:33:44 +03:00
sharkykh d4621a23a7 Add bare torrent hash
lambda is probably not the best way to go,
suggestions for improvement are welcome!
2017-05-16 12:31:35 +03:00
sharkykh 3b87337c71 RSS: Add elements & refactor
description, size, seeders, leechers, downloads
2017-05-16 12:30:49 +03: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
Kfir Hadas 261490daa7 Fix padding for single file in torrent file list 2017-05-16 11:53:13 +03: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
martstern a19666b495 shrink and put user_class menu and button on same line 2017-05-16 03:13:22 -04: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
martstern 8a87ca93a5 styled user info better, show user class on profile 2017-05-16 00:20:40 -04:00