Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

1856 commits

Auteur SHA1 Message Date
John Smith 92c92e09c1
Prevent race condition.
It is possible for an os.Interrupt signal to be raised after
signals.RegisterCloser() and before startup of goroutine signals.Handle().

Race is prevented by synchronously calling signal.Notify().
2017-05-28 19:57:07 +10:00
Eliot Whalan 57980a8ebc
make rss feeds properly validate 2017-05-27 22:05:24 +10:00
Eliot Whalan c6988ccad1
Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-05-27 18:18:34 +10:00
Eliot Whalan db50865d48
optipng small logo 2017-05-27 18:14:47 +10:00
MMP0 4ecdf2394a CSS import fixes (#780)
* Fix layout of Markdown editor

* Update upload.html

* Update index.html

* Update upload.html
2017-05-27 17:50:35 +10:00
MMP0 e528179ea1 Fix layout of Markdown editor (#779)
* Fix layout of Markdown editor

* Update upload.html
2017-05-27 17:17:49 +10:00
MMP0 7d43358cc1 Disable spelling checker in Markdown editor (#778) 2017-05-27 17:17:09 +10:00
MMP0 68f63196d1 Update Japanese translations (#776)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-05-27 17:17:03 +10:00
ipatrol 2109c1be7d Add a UML diagram for the present API (#774)
* Create model

Convert to SQL with Parse::Dia::SQL on CPAN.

* Document current API
2017-05-27 17:16:51 +10:00
Steindór 9286653905 Nav fixes (#766)
* Update README.md

Added a link to the db dump and IRC channels.

* Minor fix

* Update README.md

* disabling email links

* Killed github autolinking

* Update README.md

* Removed database link

* fixed a FF only bug with the carets

* added a static size to pagination

* worked on the pagination widget

* fixed the arrow buttons too

* fixed appearance on pages over 1000
2017-05-27 17:16:43 +10:00
Eliot Whalan dd0736f8b4
increment assets 2017-05-27 15:34:21 +10:00
Eliot Whalan 5041bd1de1
Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-05-27 11:56:28 +10:00
sfan5 dfaabdc4b2 CSS fixes (#764)
* Revert status indication colors to original nyaa ones (others look washed out)

* Move "no files" comment into filelist <div> where it belongs

* Fix alignment issue on view page

* Make infohash monospace

* Make more strings translatable
2017-05-27 11:55:46 +10:00
akuma06 b191bd3286 Fix User Reset API (#772)
* Added a new function to only update columns of table user (less
useless query)
* Changed method to GET instead of POST because it is a link not a
button anymore
* Display of user profile if changes are successful
2017-05-27 11:54:54 +10:00
tomleb d6c50f5640 TorrentJSON.ID is uint now, fix weird page sorting (#769)
* TorrentJSON.ID is uint now, fix weird page sorting

The bug was that ES would sort by ID in a weird manner because the id
was a string. The id is now a uint.

* Resolved the conflict for future merging
2017-05-27 11:54:41 +10:00
Eliot Whalan 75ec79b4e1
Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-05-27 11:51:36 +10:00
Eliot Whalan fe77845ebf
Hopefully fix memleak 2017-05-27 11:50:31 +10:00
Eliot Whalan 04ce9e4a83
Fix bug adding torrents via magnet links 2017-05-27 11:08:18 +10:00
akuma06 113f81b9cc Merge pull request #771 from Myrmece/patch-8
Updated translation.
2017-05-27 00:48:25 +02:00
akuma06 0f66ec9340 Trackers in Torrents + Missing comments + Function renaming (#768)
* Missing comments and Function renaming

* Added some missing comments
* Renamed functions to get user followers/following
* GetFollowers to get followers
* GetLikings to get who the user is following

* Renaming + Add support of previous trackers

* Renaming user.Likings in user.Followers
* Renaming user.Liked in user.Likings
* Add a new string field Trackers in torrent model
* Trackers from torrent file are now populated to the databse
* Needed trackers are added to the torrent trackers if not provided or
if trackers is empty in DB (backward compatibility)

* New check and url encoding

* No more regex for verifying tracker url
* Encodes tracker url for "&" & "?" character possibly existing in
tracker url and breaking magnet link

* Improvements

* Trackers are now encoded in torrent.ParseTrackers
* Faster check by using the for loop of checktrackers
* No more boolean, we need to check len of array returned
* torrent.Trackers can be directly used in url as they are encoded like
: tr=tracker1&tr=tracker2&tr=...
2017-05-27 00:45:18 +02:00
Myrmece a58d0abd26 Updated translation. 2017-05-26 23:41:54 +02:00
tomleb 075b51e43c Merge pull request #767 from tomleb/never_down_again
Activate the never_go_down again switch (fix slowdown issue)
2017-05-26 16:20:44 -04:00
tomleb d165c431d3 Fix build failure with sqlite test 2017-05-26 16:15:00 -04:00
tomleb 4d87ba3b3e Decrease idle time on pgpool 2017-05-26 16:15:00 -04:00
tomleb ea2d7a7165 Activate the never-go-down-ever-again switch
Don't retain idle connections because they block everybody else.
Increase maximum number of connections to the db.
2017-05-26 16:15:00 -04:00
tomleb 05e8106997 Merge pull request #765 from kipukun/frontend-bugs
Frontend polish
2017-05-26 16:08:04 -04:00
kipukun 74c6e0d6b3 slightly tweak profile edit page 2017-05-26 16:02:32 -04:00
kipukun 568bc3e801 basic search on mobile 2017-05-26 15:57:53 -04:00
kipukun 35d01112f8 Remove alt rows on other themes as well 2017-05-26 15:17:09 -04:00
kipukun 8eabd52c34 make pagination in front of mascot 2017-05-26 12:40:07 -04:00
kipukun bc6cfaf48f actually fix mascot 2017-05-26 12:37:27 -04:00
kipukun b9356e3f72 Merge branch 'frontend-bugs' of https://github.com/kipukun/nyaa into frontend-bugs 2017-05-26 12:31:23 -04:00
kipukun aaa2dce4d3 mascot works yay 2017-05-26 12:31:14 -04:00
kipukun 3a6aa1f71a fix view template more aaaaaaaa 2017-05-26 12:31:14 -04:00
kipukun a72c4cc437 Fix view page overflowing, also img in description scales 2017-05-26 12:31:14 -04:00
kipukun 9bc3d3c907 Fix table head color and minor alignments 2017-05-26 12:31:14 -04:00
kipukun 533b90cd7a Remove alternating torrent row's background 2017-05-26 12:31:14 -04:00
kipukun e953283bcf fix the fucking icons christ almighty 2017-05-26 12:31:14 -04:00
kipukun 1f867601b8 mascot works yay 2017-05-26 12:30:09 -04:00
kipukun 21bf6ec11c fix view template more aaaaaaaa 2017-05-26 12:16:45 -04:00
kipukun 0d996c065d Fix view page overflowing, also img in description scales 2017-05-26 11:56:40 -04:00
kipukun fe6fe17d33 Fix table head color and minor alignments 2017-05-26 11:35:55 -04:00
kipukun 668c8c44fb Remove alternating torrent row's background 2017-05-26 11:31:52 -04:00
kipukun cf1fce5275 fix the fucking icons christ almighty 2017-05-26 11:29:36 -04:00
Steindór 5ae6a4282b Minor css fixes (#763)
* Update README.md

Added a link to the db dump and IRC channels.

* Minor fix

* Update README.md

* disabling email links

* Killed github autolinking

* Update README.md

* Removed database link

* fixed a FF only bug with the carets

* added a static size to pagination
2017-05-26 17:04:17 +02:00
akuma06 21a06f7a0d Fix bug where we can't go back to default when changing pages after theme changed
Just a for loop on load to select the right option
2017-05-26 17:02:19 +02:00
akuma06 71d757bf4c Showing markdown import js and css only on upload page 2017-05-26 16:12:52 +02:00
MMP0 3bb7b94dd4 Reimplement Markdown editor (#760)
* Update index.html

* Update upload.html

* Update main.css

* Update tomorrow.css

* Update tomorrow.css

Remove !important

* Update tomorrow.css

Revert
2017-05-26 16:02:19 +02:00
akuma06 566e0b7f21 Just added some comments 2017-05-26 15:57:25 +02:00
akuma06 06ddecd977 Fixing navigation not clickable
* Just commented out point-events: none; in #content
* Can someone explain and fix it if necessary?
2017-05-26 15:44:46 +02:00