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

55 Révisions

Auteur SHA1 Message Date
akuma06 ee808dc7a1 Fix for Travis and update to Go mod (#1771)
* Removing Vendor folder and go dep files
Adding support to Go mod

* Fixing message format for boolean argument (%t)

* Updating depency versions
Fixing go-i18n to latest v1 release (v1.10.0)
Repairing a test due to golang text update
Fixing logging information messages
Update to latest changes for anacrolix torrent API

* Update .travis.yml

Go dep is not needed anymore

* Update .travis.yml

* Go modules env variable

Adding support for go modules inside travis script

* Moving env variable

* Fixing test issue

* Fixing a format error in previous code
2019-06-17 21:16:31 +00:00
kilo 67d8492380 On-demand stats fetching (#1621)
* Update view.jet.html

* Update router.go

* Create stats.go

* Update view.jet.html

* Update stats.go

* Update stats.go

* rollback

* returns -1 by default

* Update stats.go

* Update stats.go

* Import goscrape & torrent

* copypaste stats.go from scrapers

* travis

* Update stats.go

* Update stats.go

* Put fresh stats into a <span>

* Background-color for freshly fetched stats

* ditto but for tomorrow

* "Loading..." text in case it gets a bit too long

* Stat fetching in controller (missing DB update)

* Update last scraped date too

* update torrent.Scrape tho it doesn't  do anything

* forgot to edit a name

* Update scrape.go

* Update stats.go

* Update stats.go

* flush cache to update stats in listing

* Change function name

* Update stats.go

* Update stats.go

* fix travis

* Update view.jet.html

* Update stats.go

* Update stats.go

* Update stats.go

* Update stats.go

* Update stats.go
2017-10-06 17:06:14 +02:00
ewhal 8a9df81b4f move coveralls shit to after_success (#1411) 2017-08-27 13:24:38 +10:00
akuma06 32e6c8cb88 Don't need repotoken for public repo 2017-07-31 03:20:09 +02:00
akuma06 755016d4e6 forgot "=" 2017-07-31 03:17:54 +02:00
akuma06 f996c7e7c5 Update .travis.yml 2017-07-30 01:28:00 +02:00
akuma06 ebba7ac122 Update .travis.yml 2017-07-30 01:22:41 +02:00
akuma06 10f734276c Update .travis.yml 2017-07-30 01:21:47 +02:00
akuma06 7ca100ac9b Update .travis.yml 2017-07-29 20:01:26 +02:00
akuma06 ef9588b6cd trying this for travis 2017-07-29 15:19:00 +02:00
akuma06 f14bdeec6b trying coverall documentation instead 2017-07-29 14:15:48 +02:00
akuma06 b09808dcb8 Seems that we need another package 2017-07-29 14:04:53 +02:00
akuma06 bdffea5a6c Gocover is documented wrongly 😠 2017-07-29 13:49:40 +02:00
akuma06 2d0a7df6b0 Command for public repo don't need coverage 2017-07-29 13:30:20 +02:00
akuma06 d6f39af46b possible second fix for coveralls
which one is right...
2017-07-29 13:24:40 +02:00
akuma06 047f7c465c fix travis cover 2017-07-29 13:24:01 +02:00
akuma06 c24e7f031b fix travis coverall integration 2017-07-29 13:09:10 +02:00
akuma06 690ab97420 Update travis for coveralls 2017-07-29 12:59:54 +02: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
PantsuDev d9142a73c3 Fix most go lint warnings 2017-07-23 15:50:18 +10:00
akuma06 dd5b2fdef3 Update .travis.yml 2017-06-25 20:39:37 +02:00
tomleb 991fc73c4e Update elasticsearch index playbooks (#892)
* Update elasticsearch index swapping playbooks

* Add ansible syntax check

* Document index swapping

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml
2017-06-04 10:28:26 +10:00
akuma06 3a4feafd91 Forgot an equal sign for travis 2017-05-31 12:26:39 +02:00
akuma06 9e0424ec5e Add Build version
Main version can be set in config/default_config.yml
Build version need to be set by build command: go build -ldflags "-X
main.buildversion=$(date -u +.%Y%m%d.%H%M%S)"
Or by using package.sh
Or by using the godep command: godep go build -ldflags "-X
main.buildversion=$(date -u +.%Y%m%d.%H%M%S)"
2017-05-31 12:20: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
PantsuDev 70f87e7aac finish repo transfer 2017-05-17 15:58:40 +10:00
Atvaark b12e812b36 Add database logmode to the config
This allows users to change the default logging verbosity (errors)
to either *detailed* (prints SQL statements) or *silent*.
Also added support for using a custom logger function.

- Fixed the gorm unit test that checks the automigrations
  They will actually fail if any errors were logged now.
- Added a postgres unit test
  Currently disabled because it would need a running local
  postgres db and  a change to the .travis.yml file to work
  inside the CI build.
2017-05-11 22:28:09 +02:00
Eliot Whalan 997b92dd7e Unbork travis 2017-05-08 07:52:28 +10:00
Eliot Whalan 4cf64f259e Merge branch 'master' into travis-auto-deps 2017-05-07 20:17:28 +10:00
Eliot Whalan 716a1c1f65 Update .travis file 2017-05-07 20:12:52 +10:00
bakape 1a3acbac44 travis: Automatically download deps 2017-05-07 12:40:58 +03:00
bakape a12b177d12 Merge branch 'master' of https://github.com/ewhal/nyaa into captchas 2017-05-07 12:18:09 +03:00
bakape 5a55008a16 Merge branch 'master' of https://github.com/ewhal/nyaa into captchas 2017-05-07 12:08:44 +03:00
Eliot Whalan 7ae782f675 Fix up all go gets 2017-05-07 19:04:51 +10:00
Eliot Whalan fa6ee5ef4c Add missing depend 2017-05-07 19:01:51 +10:00
Eliot Whalan 5981f4df14 Remove unneeded step 2017-05-07 18:58:54 +10:00
Eliot Whalan 760167e8f0 Try new cross-compile package 2017-05-07 18:56:14 +10:00
bakape 8786db1540 Internal IP-specific captchas 2017-05-07 11:25:09 +03:00
Eliot Whalan 137552b61b Forgot sudo 2017-05-07 17:36:32 +10:00
Eliot Whalan 443a850827 Add in cross-compiling support? 2017-05-07 17:34:38 +10:00
Eliot Whalan a1ba91aae3 Fix travis 2017-05-07 17:17:20 +10:00
Eliot Whalan 61b98ebf0b Test releasing for all platforms 2017-05-07 17:07:23 +10:00
tomleb 6d9367222f Merge branch 'master' of https://github.com/ewhal/nyaa into deployment 2017-05-06 19:52:54 -04:00
keo 14dfbc91ca Update .travis.yml 2017-05-07 02:49:20 +03:00
tomleb 4d5adc9402 Merge branch 'master' of https://github.com/ewhal/nyaa into deployment 2017-05-06 19:02:27 -04:00
tomleb 97471bc75d Fix travis build 2017-05-06 19:02:02 -04:00
keo cae4cc6349 will this work? 2017-05-07 01:57:56 +03:00
Anthony D'Alessandro 72bb97e20d update travis file to generate 2017-05-06 18:53:48 -04:00
bakape 069fec2027 Add dependency to Travis 2017-05-07 00:40:21 +03:00
akuma06 773ce60848 Fixed Typo 2017-05-06 21:37:10 +02:00