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

1848 commits

Auteur SHA1 Message Date
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
tomleb a66e65b561 Merge pull request #762 from tomleb/elasticsearch
Fix deployment issue we had for dev
2017-05-26 09:03:20 -04:00
tomleb 456eac68ec Fix wrong ram amount for pgpool 2017-05-26 08:56:50 -04:00
tomleb 90356b22bc Install firewalld before starting it
Firewalld was installed on vagrant centos by default but not on server.
2017-05-26 08:56:49 -04:00
tomleb 9c81c85325 Index seeders,leechers and completed into es 2017-05-26 08:56:49 -04:00
akuma06 80ab45d81e New profile user menu (#761)
* Fixing user profile page

* Modified css rule word-break to break-word
* Modified torrents table in user page to look like home listing
* Made the button reset api look like a button according to actual
design
* Modified user menu to have the same spacing accross templates
* User menu is in another template file loaded dynamically

* Fixing the access to userprofile variable

* Menu needs to access the user profile with $.UserProfile
* User Notification template variable removed, instead using user
profile variable

* Reverting back theme flickering fix
2017-05-26 14:33:55 +02:00
MMP0 488f2ca476 Fix theme bugs + Reimplement "nyanpassu" and "explosion" (#757)
* Update index.html

* Update main.css

* Update main.js

* Update index.html

* Update index.html

* Update main.css

* Update index.html

* Update main.css

* Update main.css

* Update main.css
2017-05-26 13:13:06 +02:00
akuma06 a41f938cec Add Godep support (#758)
As we have seen, dependencies version can prevent the build. We should
user lock versions on dependencies that we know work:
* Packages are vendored
* Add Godep support
* Added addtional install step in readme
* Fix travis build error
2017-05-26 13:07:22 +02:00
akuma06 6481e90a0c Golint friendly next (#756)
* Gofmt friendly

Keeping Go source code in line with what they preconize

* Golint Friendly Next

So I have made some variables unexported
Added comments in every function that I know what it does
Removed some deprecated stuff that I was sure of
Added a comment on possible deprecated methods "Is it deprecated?"
Changed some variable/method name according to golint recommendations

* Update filelist.go
2017-05-26 12:12:52 +02:00