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

1739 commits

Auteur SHA1 Message Date
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
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
Mitki 607d4684c2 Update pt-br.all.json 2017-05-22 11:45:50 -03:00
Mitki a1d2b3e1a7 Update pt-br.all.json 2017-05-22 11:43:32 -03:00
Ramon Dantas 69b1a7f13e Make navbar RSS link to user RSS on the profile page. (#681)
Also removed the RSS button from the profile page, as it would be
redundant.
2017-05-22 23:45:17 +10:00
Myrmece bb6b47d913 Updated translation. (#680) 2017-05-22 23:39:36 +10:00
akuma06 5c29c36410 Removed debug mess 2017-05-22 10:15:51 +02:00
akuma06 4411c5d731 Fix #679
Parsing template.HTML into string and then use Sprintf make a bug.
2017-05-22 10:15:18 +02:00
akuma06 efe6ea833a Fix 2 2017-05-22 09:28:08 +02:00
akuma06 ced8f1ed87 Fix 2017-05-22 09:18:18 +02:00
akuma06 7bda7d1538 Fixing routes URL
fix of "user/id/-" #676
2017-05-22 09:10:15 +02:00
MMP0 dafc485d4d Update Japanese translations (#677)
* Update ja-jp.all.json

* Fix typo

* Fix typo

* Undo
2017-05-22 16:25:50 +10:00
sisimouto b4811cd9bd Update th-th.all.json (#675) 2017-05-22 15:36:24 +10:00
akuma06 50c8f52ee8 Fix 2017-05-22 00:52:07 +02:00
akuma06 d4f622a0f6 Merge pull request #674 from ElegantMonkey/user-rss-button
Add RSS button to user profile
2017-05-22 00:26:18 +02:00
akuma06 6500aece22 Merge pull request #673 from NyaaPantsu/user-setttings-notification
User settings notification
2017-05-22 00:25:47 +02:00
akuma06 07c120407e Finished 2017-05-22 00:22:42 +02:00
ElegantMonkey 0ca447b25d Add RSS button to user profile 2017-05-21 19:13:25 -03:00
akuma06 a4c23dda1f wiiiip 2017-05-21 20:20:40 +02:00