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

1756 commits

Auteur SHA1 Message Date
Eliot Whalan
3527f01cc5
Rerun gofmt it again with -s 2017-05-24 17:15:07 +10:00
Eliot Whalan
b4b1b1c26a
go fmt all the code 2017-05-24 17:11:13 +10:00
kipukun
58631c6bd4 Optimized the site (#725)
* Try to optimize site

* lmao woops

* fucking woops again
2017-05-24 16:57:48 +10:00
kipukun
e9825a2683 Frontend rewrite (DONE) (#723)
* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* HOLY FUCK INDEX IS /DONE/

* DO UPLOAD PAGE, DELETE OLD SHITTY CSS

* Complete login page

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* Change layout on torrent table, using grids.

* Remove Bootstrap and Jquery, and create basic nav

* More improvements to navbar, as well as work on _badgemenu

* Complete navbar HTML, obviously it still looks horrendous

* HOLY FUCK INDEX IS /DONE/

* DO UPLOAD PAGE, DELETE OLD SHITTY CSS

* Complete login page

* Begin work on profile page

* fucking git, man

* Damn, that looks sexy

* Complete login and register pages, include very minimal grid system, and delete all of view template

* Do view page!

* Finish view even more

* Fix dates and filesizes in torrent table

* Improve comment/captcha input

* Actually add magnet and torrent buttons

* Add open-iconic instead of fontawesome

* Improve user side-panel

* Rename Category_* to CategoryName

* Beginning to finish up

* Implement themes and add basic mobile support to front page

* Fix some slight color errors

* Fix captcha on dark

* magnet and torrent links on view
2017-05-24 14:20:51 +10:00
yiiT
55c0962bb7 Update README.md
Completed tools for users
2017-05-23 18:01:51 -05:00
yiiT
edfe09d936 Merge pull request #715 from NyaaPantsu/akuma06-patch-1
Added Go Report Card on readme
2017-05-23 17:55:24 -05:00
akuma06
d35c495d59 Removing debug fmt 2017-05-24 00:23:50 +02:00
akuma06
891e385939 Merge pull request #718 from NyaaPantsu/no-more-div-in-db
Fixing insert of unneeded html tags in db
2017-05-24 00:17:04 +02:00
akuma06
21ac12c852 Some updates
* Added support of UGC without div tag for torrents
* Added support of basic html tags for comments (a, img, b, em, u)

Fixed:
* Bug with r *request becoming a nul pointer when loading from contextin
messages.go
2017-05-24 00:08:02 +02:00
akuma06
23e7d33bb6 Fixing insert of unneeded html tags in db
Added a Sanitize function in util
* Possibility to add model in it
* Already a preset default model

Comments shouldn't be allowed html, too difficult to check every comment
for broken html
Torrents are still allowed html tags but I don't think it should since
we use markdown.
2017-05-23 22:09:20 +02:00
akuma06
14e3d61deb Added Go Report Card on readme 2017-05-23 20:49:37 +02:00
akuma06
07623e85ed Merge pull request #698 from NyaaPantsu/revert-692-revert-690-user-torrent-edit
Allow users to edit & delete their torrents
2017-05-23 19:43:09 +02:00
MMP0
96c21c47d5 Fix few small bugs in navbar (#703) 2017-05-23 19:22:59 +02:00
ipatrol
8e7377dcb3 Create model (#702)
Convert to SQL with Parse::Dia::SQL on CPAN.
2017-05-23 18:47:20 +10:00
MMP0
ff26f2a6fb Update ja-jp.all.json (#700) 2017-05-23 13:18:32 +10:00
nopjmp
6cfaca1289 Add err check from GetTorrentById return in ApiViewHandler (#696)
This should give a better response to API users for when something is not found.
2017-05-23 13:18:25 +10:00
nopjmp
af2850518c Implement HEAD for views (#695)
* Implement HEAD for /view/{id}

Implement HEAD for the torrent view route by calling GetRawTorrentById.
Run gofmt on the file while we are here.

* Implement HEAD for /api/view/{id}

Implement HEAD in the same way as /view/{id}
Also run gofmt on the api_handler.go
2017-05-23 13:18:19 +10:00
akuma06
00e0a935a8 Update again 2017-05-23 04:17:40 +02:00
akuma06
b75fc9ce53 update 2017-05-23 04:12:02 +02:00
akuma06
99f2092028 Revert "Revert "New User Edit Panel"" 2017-05-23 04:05:33 +02:00
Ramon Dantas
38f331a32e Make metainfo_fetcher fetch metadata only for new torrents (#694)
Added a flag on the config, that, when set, will only fetch data starting
from torrents with ID > config.LastOldTorrentID. Also updated the query
to use the config's files table, instead of hard-coding it.
2017-05-23 11:19:28 +10:00
Eliot Whalan
2e7392f46e
Fix compile error 2017-05-23 11:19:05 +10:00
Eliot Whalan
b26d788ab9
Generate api tokens on user creation 2017-05-23 11:16:57 +10:00
Eliot Whalan
cd573698b1
Merge branch 'dev' of github.com:NyaaPantsu/nyaa into dev 2017-05-23 11:07:00 +10:00
Eliot Whalan
5a8ae4665d
Remove unused package 2017-05-23 11:06:43 +10:00
alucard0134
1c5ff84614 Merge pull request #692 from NyaaPantsu/revert-690-user-torrent-edit
Revert "New User Edit Panel"
2017-05-22 19:10:21 -05:00
alucard0134
ed5152a4a0 Revert "New User Edit Panel" 2017-05-22 19:10:06 -05:00
Eliot Whalan
8cdf768902
Merge branch 'dev' of github.com:NyaaPantsu/nyaa into dev 2017-05-23 10:07:21 +10:00
Eliot Whalan
991ed4178e
Don't convert hashes to base16 2017-05-23 10:06:55 +10:00
alucard0134
66fe20bab8 Update backup.sh 2017-05-22 19:05:50 -05:00
akuma06
70127702e9 Merge pull request #686 from steindornatorinn/dev
Model diagram (Ready for merge)
2017-05-23 01:54:32 +02:00
bragason
5ea030373b Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-05-22 23:48:41 +00:00
akuma06
a27e961417 Merge pull request #690 from NyaaPantsu/user-torrent-edit
New User Edit Panel
2017-05-23 01:34:06 +02:00
akuma06
e501885cf5 Merge branch 'dev' into user-torrent-edit 2017-05-23 01:27:22 +02:00
akuma06
c8c3dc1980 New User Edit Panel
User can edit torrents
* delete torrents
+ New translation string for mod panel and user edit torrent panel
+ Improvement of messages util with implementation of T (no need to get
Tfunc now, messages util do that for you)
+ Use of @ElegantMonkey GetCategories to generate select of categories
in search and forms
2017-05-23 01:26:09 +02:00
Ramon Dantas
98dba3a3d1 Remove parent categories on upload form. (#688)
* Disable parent categories on upload form

There's no point on leaving them enabled if they shouldn't be
selected.

* Remove parent categories from upload form
2017-05-23 08:41:00 +10:00
bragason
98b5be4abf Merge branch 'dev' of https://github.com/steindornatorinn/nyaa into dev 2017-05-22 22:03:06 +00:00
bragason
cd37afc85f Updated and moved to a docs directory 2017-05-22 22:02:11 +00:00
Steindór
626aa35c2d Delete Nyaapantsu_models_source.html 2017-05-22 21:48:32 +00:00
Steindór
183dee0567 Delete Nyaapantsu_models.html 2017-05-22 21:48:22 +00:00
akuma06
ec0fde9923 Merge pull request #685 from ElegantMonkey/check-if-category-exists
Verify torrent category on upload
2017-05-22 20:34:58 +02:00
ElegantMonkey
aa14a0535b Renamed CategoryID to CategoryName 2017-05-22 15:18:29 -03:00
akuma06
ba93ca2f3b Merge pull request #683 from mitki/patch-8
Update pt-br.all.json
2017-05-22 20:02:27 +02:00
akuma06
4fd19ede83 Merge pull request #684 from Akaahn/dev
Implemented EZTV RSS Spec #569 #451
2017-05-22 20:02:17 +02:00
Steindór
c1fe39876d Add files via upload 2017-05-22 17:54:32 +00:00
Steindór
3270172cf5 Delete Nyaapantsu_models.html 2017-05-22 17:52:42 +00:00
Steindór
5a113db7cb Rename Copy of Nyaapantsu_models.html to Nyaapantsu_models.html 2017-05-22 17:28:29 +00:00
Steindór
759a98e83e added Nyaapantsu_models.html 2017-05-22 17:26:13 +00:00
ElegantMonkey
331143e094 Verify torrent category on upload
Added a new package, "categories", with the valid categories for each
Nyaa and Sukebei. On upload, check if the category is present on
the valid ones. Also changed the template function Category_Nyaa and
Category_Sukebei to reflect this.
2017-05-22 13:25:04 -03:00
Akaahn
41e0575b82 Implemented EZTV RSS Spec #569 #451
github.com/gorilla/feeds pulled in to github.com/NyaaPantsu/nyaa/feeds
and modified to conform to EZTV spec, note: missing tackers tag
2017-05-22 17:28:20 +02:00