Commit Graph

250 Commits (81a4fc752833101dd7d6b4f612bccc4b29c98dff)

Author SHA1 Message Date
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath 0b4a8be26b
Ensure that restricted users can access repos for which they are members (#17460) 3 years ago
wxiaoguang 2add8fe9be
Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
6543 3728f1daa0
Add RSS/Atom feed support for user actions (#16002) 3 years ago
wxiaoguang 56362043d3
Frontend refactor: move Vue related code from `index.js` to `components` dir, and remove unused codes. (#17301) 3 years ago
Lunny Xiao d47798ccc7
Upgrade chi to v5 (#17298) 3 years ago
wxiaoguang 7bcbdd0707
Add user status filter to admin user management page (#16770) 3 years ago
a1012112796 bb39359668
Add a simple way to rename branch like gh (#15870) 3 years ago
Lunny Xiao 37b29319aa
Fix bug of get context user (#17169) 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
zeripath 27b351aba5
Make LDAP be able to skip local 2FA (#16954) 3 years ago
6543 77f604a928
Add skip and limit to git.GetTags (#16897) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
zeripath afd88a2418
Allow setting X-FRAME-OPTIONS (#16643) 3 years ago
zeripath 7c4172ef71
Pass down SignedUserName down to AccessLogger context (#16605) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
zeripath d06f9ce274
Redirect on bad CSRF instead of presenting bad page (#14937) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
Lunny Xiao b223d36195
Rework repository archive (#14723) 3 years ago
6543 6ad5d0a306
[API] ListReleases add filter for draft and pre-releases (#16175) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 3 years ago
zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031) 3 years ago
zeripath 17c5c654a5
Prevent double-login for Git HTTP and LFS and simplify login (#15303) 4 years ago
zeripath 2d87a84709
Stop calling WriteHeader in Write (#15862) 4 years ago
silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 4 years ago
zeripath 270aab429e
On open repository open common cat file batch and batch-check (#15667) 4 years ago
a1012112796 3088866531
fix some ui bug about draft release (#15137) 4 years ago
zeripath eedc0c8324
Defer closing the gitrepo until the end of the wrapped context functions (#15653) 4 years ago
zeripath 47fd156936
Use route rather than use thus reducing the number of stack frames (#15301) 4 years ago
KN4CK3R c80d7f33b6
Unified link creation. (#15619) 4 years ago
Kyle D f44543a1bb
Disable Stars config option (#14653) 4 years ago
zeripath 8e2a8efd84
Prevent superfluous response.WriteHeader (#15456) 4 years ago
zeripath 136a20926c
Turn RepoRef and RepoAssignment back into func(*Context) (#15372) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
a1012112796 43fb4921e3
response simple text message for not html request when 404 (#15229) 4 years ago
zeripath 9b261f52f0
Add SameSite setting for cookies (#14900) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago
Lunny Xiao bd9361384a
Fix go get (#14758) 4 years ago
zeripath 65c940f66c
Prevent endless loop if templates missing (#14752) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago