Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/vendor/github.com/jinzhu/gorm
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
..
dialects Add Godep support (#758) 2017-05-26 13:07:22 +02:00
.codeclimate.yml OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
.gitignore OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
association.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
callback.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
callback_create.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
callback_delete.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
callback_query.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
callback_query_preload.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
callback_row_query.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
callback_save.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
callback_update.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
dialect.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
dialect_common.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
dialect_mysql.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
dialect_postgres.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
dialect_sqlite3.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
errors.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
field.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
interface.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
join_table_handler.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
License Add Godep support (#758) 2017-05-26 13:07:22 +02:00
logger.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
main.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
model.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
model_struct.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
README.md OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
scope.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
search.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
test_all.sh OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
utils.go OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00
wercker.yml OAuth API [done] (#1275) 2017-07-28 13:46:40 +10:00

GORM

The fantastic ORM library for Golang, aims to be developer friendly.

Join the chat at https://gitter.im/jinzhu/gorm wercker status GoDoc

Overview

  • Full-Featured ORM (almost)
  • Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
  • Callbacks (Before/After Create/Save/Update/Delete/Find)
  • Preloading (eager loading)
  • Transactions
  • Composite Primary Key
  • SQL Builder
  • Auto Migrations
  • Logger
  • Extendable, write Plugins based on GORM callbacks
  • Every feature comes with tests
  • Developer Friendly

Getting Started

Upgrading To V1.0

Supporting the project

http://patreon.com/jinzhu

Author

jinzhu

Contributors

https://github.com/jinzhu/gorm/graphs/contributors

License

Released under the MIT License.