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

2852 commits

Auteur SHA1 Message Date
MMP0 34d4400c09 Update ja-jp.all.json (#1291) 2017-07-28 13:47:08 +10:00
Myrmece 5823f3d44b Updated translation. (#1288) 2017-07-28 13:46:54 +10:00
akuma06 03ea72595d OAuth API [done] (#1275)
* Initial Commit for OAuth API

This builds and run and return the right error.
Need to test it and then adding all users as possible client

* Added mising dependency

* just compile already...

* Fixing template test

* Imrpovements

Moved db stuff in models
Added some tests
Added form in modpanel to add/update a client
Added controllers for add/update of client

* Added Forms + speed improvements

Controller oauth client listing + html
Controller oauth client delete + messages
Messages on comment delete
New ES config that disable ES if set to false. Improve load speed on local development
Fix a load config bug
Fix index admin & translation string sign_out broken by @ewhal

* Sanitize empty strig in form array + css

Multiple empty array of strings are sanitized for the oauth client create form
Added some css for the form display

* Upload and Create form works

* Fix splitting response types

* Removing required on secret when updating

* fix travis error

* Fix travis template test

* Update dependency

* Moved to jinzhu instead of azhao

* randomizen secret on creation

* Final touch on oath api

improved display name
fix grant form csrf
fix login csrf on oauth

* Fix gorm test

* fix template test

* Fixing deleted dependency issue

* Make travis faster

* Fix typo

* Fix csrf for api calls

* This shouldn't be exempt

* Removing hard coded hash

@ewhal Don't forget to replace the hash in tokens.go with another one

* Added an example on how to use OAuth middleware

* Renamed fosite utils to oauth2 utils
2017-07-28 13:46:40 +10:00
kilo d5888079f8 Date difference when hovering a torrent date (#1287)
* Update en-us.all.json

* Update main.js

* Update base.jet.html

* Update main.js

* Update main.js
2017-07-26 18:59:48 +10:00
kilo 35905fbe33 Update view.jet.html (#1285) 2017-07-26 18:59:41 +10:00
akuma06 09d7adb0e3 excluding csrf_token from erase cookie 2017-07-26 09:20:11 +02:00
kilo ef25eddfd6 Editing a torrent now redirects to torrent view page (fix #1282) (#1286)
* fix #1282

* Update edit.go

* Update view.go

* Update view.go
2017-07-26 11:59:46 +10:00
kilo 3752efe25f fix flag padding (#1280)
* Update flags.jet.html

* forgot japanese specific css

* Update main.css
2017-07-26 11:59:35 +10:00
PantsuDev af94485dfa Fix travis 2017-07-26 11:59:18 +10:00
kilo 6444636467 fix url parse bug (#1279)
* fix url parse bug

* Update site.jet.html

* Update torrentlist.jet.html
2017-07-25 08:27:42 +10:00
kilo 8ba8ceb46c fix wrong class (#1278) 2017-07-25 08:06:02 +10:00
kilo a3a15db5d3 Update base.jet.html (#1277) 2017-07-25 08:05:49 +10:00
PantsuDev cdabd79c03 Fix more style issues 2017-07-24 15:03:43 +10:00
PantsuDev 18813627be Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-07-24 10:32:50 +10:00
kilo 95d1e9e192 Update main.js (#1274)
* Update main.js

* Update main.js

* Update main.js
2017-07-24 10:20:24 +10:00
kilo f5bd1103c8 More readable code (#1273)
* Update main.js

* fix some variable names here too

* change variable name

* Update main.css

* Update main.js
2017-07-23 19:08:42 +02:00
akuma06 6c98d38870 Fix Portuguese langague name conflict 2017-07-23 16:39:01 +02:00
ewhal cfa343f69d Merge pull request #1272 from Myrmece/patch-4
Updated translation.
2017-07-23 20:51:40 +10:00
ewhal ccafcbe12c Merge pull request #1271 from MMP0/patch-11
Update Japanese translation
2017-07-23 20:51:24 +10:00
Myrmece 11fe71cd18 Updated translation. 2017-07-23 11:01:08 +02:00
MMP0 6621c0a7fd Update ja-jp.all.json 2017-07-23 16:57:56 +09:00
PantsuDev d9142a73c3 Fix most go lint warnings 2017-07-23 15:50:18 +10:00
PantsuDev a931b47bff beautify assets 2017-07-23 15:50:18 +10:00
ewhal 3c34b0a728 Merge pull request #1270 from Kiloutre/patch-4
Fancy "new" text when website is on a new commit
2017-07-23 13:29:56 +10:00
kilo 93d9b930ab add commit id to html tag 2017-07-23 04:14:47 +02:00
kilo e05d2b78cb JS to add ".new" class to commit's <a></a> 2017-07-23 04:14:21 +02:00
kilo e9b2e2841e make commit class into commit ID 2017-07-23 04:12:58 +02:00
kilo 6db6084d82 add CSS for :after 2017-07-23 04:11:44 +02:00
ewhal 61fe21f54c Merge pull request #1269 from NyaaPantsu/yiiTT-golang-image
Update README.md
2017-07-23 11:58:33 +10:00
ewhal 9eeefe4784 Merge pull request #1268 from Kiloutre/patch-3
Version cookie, remove every user cookie if his version cookie is older than current version & js fix for searchbox
2017-07-23 11:58:21 +10:00
yiiT d25657bc08 Update README.md
Updated Requirements
2017-07-22 20:37:48 -05:00
kilo fb06f72139 Update main.js 2017-07-23 02:40:39 +02:00
kilo 02df6b7310 Update main.js 2017-07-23 02:28:09 +02:00
kilo 265eeb9a87 Update base.jet.html 2017-07-23 02:27:47 +02:00
kilo bf695d9b89 Update main.js 2017-07-23 02:22:33 +02:00
kilo 85f9f8b2e4 Update main.js 2017-07-23 01:52:36 +02:00
kilo 00b4439bff Update main.js 2017-07-23 01:41:42 +02:00
kilo 52579448fd Update main.js 2017-07-23 00:00:44 +02:00
kilo 6e5808b2b8 Update main.js 2017-07-22 23:27:02 +02:00
kilo 712ec922bb Update base.jet.html 2017-07-22 23:25:30 +02:00
MMP0 50b6b065c1 Update Japanese translation (#1265)
* Update ja-jp.all.json

* Update ja-jp.all.json

* Update ja-jp.all.json
2017-07-22 21:49:29 +02:00
kilo 8ac3c65868 Update main.css (#1266) 2017-07-22 21:49:20 +02:00
akuma06 69123d53a9 Updated APIdoc + New API endpoint for user profile
Now you can access a user __public__ profile by querying the api endpoint /profile?id=USERID
2017-07-22 17:21:14 +02:00
akuma06 b5746d473f Second fix on api
The api waited for a post value instead of a get one
2017-07-22 16:14:38 +02:00
akuma06 df459594d3 Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-07-22 16:05:42 +02:00
kilo 3807c6937d No results template & image (#1263)
* Create no_results.jet.html

* no_results

* Delete Non Non Biyori Repeat - 10 [BDRip 1920x1080 x264 FLAC].mkv_snapshot_12.37_[2017.07.22_14.16.50].jpg

* Add files via upload

* Delete no_results.png.jpg

* Add files via upload

* Update en-us.all.json

* Update no_results.jet.html

* Update search.go
2017-07-22 16:05:11 +02:00
akuma06 0f0b6584f6 Merge branch 'dev' of https://github.com/NyaaPantsu/nyaa into dev 2017-07-22 16:03:44 +02:00
akuma06 2f1660127b Fix Api login errors not showing 2017-07-22 16:03:41 +02:00
kilo 54b2813e3c Put rules into their own file list flag list (#1259)
* Remove html rules from upload, load rules file and call the rule function

* Update faq.jet.html

* Create rules.jet.html

* forgot to remove old list

* forgot to do that

* remove <br/>

* Update main.css

* Update g.css

* add jav flag keyword

* Update kilo.js

* add h-games keyword
2017-07-22 14:07:57 +02:00
akuma06 caa6d41d06 Forgot to delete log test 2017-07-22 02:42:52 +02:00