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/gin-gonic/gin/AUTHORS.md
akuma06 5991a21818 First batch of changes for the refactor (#1078)
* First batch of changes for the refactor

Added the support of gin in routes and other services/utils
Begining implementation of JetHTML

* Remove os folder

* Move scrapers to own repo

* Second batch of changes

All .jet.html are the working templates.
You can now test this PR, the index Page and upload works. If you want to complete the other html templates, you're welcome

* Move captcha to util

* Move uploadService to utils

* Use govalidator instead of regex

* Third batch of changes

All the front end should as previously.
I also fixed some minor things unrelated to the refactor (mostly style issues on static pages)
Now errors can be accessed by importing the "errors" helpers and using the `yield errors(name="xxx")` command in templates.
Same for infos.
Templates are now more hierarchized with a base template "base.jet.html" which is extended depending on the context in "index_site" or "index_admin" layouts. Those layouts are extended than in every pages.
Other helpers are captcha to render a captcha `yield captcha(captchaid="xxx")`
And also csrf, with the command `yield csrf_field()`
To translate, you don't have anymore to do `call $.T "xxx"`, you just have to do `T("xxx")`.

Pages for the website part are in folders in the folder "templates/site". Pages for the admin part are in "templates/admin". Layouts are separated in "templates/layouts". Helpers and menu are in "templates/layouts/helpers" and "templates/layouts/menu". Error pages should be put in "templates/errors"

* Added test on templates

When adding a new template, you have to tell to template_test.go, the context of the new template (if it doesn't use the common context)

* Panel admin works

Now the templating part should work. The PR can now be fully tested.

I think we should push the templating PR  and do the routes/controllers/removal of services in another branch. So we know that this one is functional

* Updated dependencies

* Fixed test for modelhelper

* Fix testing for commentlist

* Fix travis :')

* Just renamed router and removed network

* Applying same SEO fix

* Update form_validator.go

* Added back regexp package
2017-06-28 21:42:38 +10:00

4 Kio

List of all the awesome people working to make Gin the best Web Framework in Go.

##gin 0.x series authors

Maintainer: Manu Martinez-Almeida (@manucorporat), Javier Provecho (@javierprovecho)

People and companies, who have contributed, in alphabetical order.

@858806258 (杰哥)

  • Fix typo in example

@achedeuzot (Klemen Sever)

  • Fix newline debug printing

@adammck (Adam Mckaig)

  • Add MIT license

@AlexanderChen1989 (Alexander)

  • Typos in README

@alexanderdidenko (Aleksandr Didenko)

  • Add support multipart/form-data

@alexandernyquist (Alexander Nyquist)

  • Using template.Must to fix multiple return issue
  • ★ Added support for OPTIONS verb
  • ★ Setting response headers before calling WriteHeader
  • Improved documentation for model binding
  • ★ Added Content.Redirect()
  • ★ Added tons of Unit tests

@austinheap (Austin Heap)

  • Added travis CI integration

@andredublin (Andre Dublin)

  • Fix typo in comment

@bredov (Ludwig Valda Vasquez)

  • Fix html templating in debug mode

@bluele (Jun Kimura)

  • Fixes code examples in README

@chad-russell

  • ★ Support for serializing gin.H into XML

@dickeyxxx (Jeff Dickey)

  • Typos in README
  • Add example about serving static files

@donileo (Adonis)

  • Add NoMethod handler

@dutchcoders (DutchCoders)

  • ★ Fix security bug that allows client to spoof ip
  • Fix typo. r.HTMLTemplates -> SetHTMLTemplate

@el3ctro- (Joshua Loper)

  • Fix typo in example

@ethankan (Ethan Kan)

  • Unsigned integers in binding

(Evgeny Persienko)

  • Validate sub structures

@frankbille (Frank Bille)

  • Add support for HTTP Realm Auth

@fmd (Fareed Dudhia)

  • Fix typo. SetHTTPTemplate -> SetHTMLTemplate

@ironiridis (Christopher Harrington)

  • Remove old reference

@jammie-stackhouse (Jamie Stackhouse)

  • Add more shortcuts for router methods

@jasonrhansen

  • Fix spelling and grammar errors in documentation

@JasonSoft (Jason Lee)

  • Fix typo in comment

@joiggama (Ignacio Galindo)

  • Add utf-8 charset header on renders

@julienschmidt (Julien Schmidt)

  • gofmt the code examples

@kelcecil (Kel Cecil)

  • Fix readme typo

@kyledinh (Kyle Dinh)

  • Adds RunTLS()

@LinusU (Linus Unnebäck)

  • Small fixes in README

@loongmxbt (Saint Asky)

  • Fix typo in example

@lucas-clemente (Lucas Clemente)

  • ★ work around path.Join removing trailing slashes from routes

@mattn (Yasuhiro Matsumoto)

  • Improve color logger

@mdigger (Dmitry Sedykh)

  • Fixes Form binding when content-type is x-www-form-urlencoded
  • No repeat call c.Writer.Status() in gin.Logger
  • Fixes Content-Type for json render

@mirzac (Mirza Ceric)

  • Fix debug printing

@mopemope (Yutaka Matsubara)

  • ★ Adds Godep support (Dependencies Manager)
  • Fix variadic parameter in the flexible render API
  • Fix Corrupted plain render
  • Add Pluggable View Renderer Example

@msemenistyi (Mykyta Semenistyi)

  • update Readme.md. Add code to String method

@msoedov (Sasha Myasoedov)

  • ★ Adds tons of unit tests.

@ngerakines (Nick Gerakines)

  • ★ Improves API, c.GET() doesn't panic
  • Adds MustGet() method

@r8k (Rajiv Kilaparti)

  • Fix Port usage in README.

@rayrod2030 (Ray Rodriguez)

  • Fix typo in example

@rns

  • Fix typo in example

@RobAWilkinson (Robert Wilkinson)

  • Add example of forms and params

@rogierlommers (Rogier Lommers)

  • Add updated static serve example

@se77en (Damon Zhao)

  • Improve color logging

@silasb (Silas Baronda)

  • Fixing quotes in README

@SkuliOskarsson (Skuli Oskarsson)

  • Fixes some texts in README II

@slimmy (Jimmy Pettersson)

  • Added messages for required bindings

@smira (Andrey Smirnov)

  • Add support for ignored/unexported fields in binding

@superalsrk (SRK.Lyu)

  • Update httprouter godeps

@tebeka (Miki Tebeka)

  • Use net/http constants instead of numeric values

@techjanitor

  • Update context.go reserved IPs

@yosssi (Keiji Yoshida)

  • Fix link in README

@yuyabee

  • Fixed README