Richard Bukovansky
1a3a303f8d
locale: better explenation for team membership and granted access ( #4417 )
...
As discussed here https://crowdin.com/translate/gogs/1/enus-cs#378 I'm suggesting this update.
8 years ago
Pablo Saavedra
5906268917
models/org_team: getUserTeams uses includes always -1 in the IN statement ( #4412 )
...
Ensure that the IN clause contains one value at least. The idea is avoid a
syntax error in the SQL sentence and rollbacks in the transactions.
For example:
ERROR: syntax error at or near ")"
LINE 1: ...RE ... and team.id IN ();
We will always add the -1 value in the IN list.
8 years ago
Unknwon
a1d411a018
ldap: minor fix for PR #4398
8 years ago
aboron
dbb7e5464b
ldap: add check for group membership ( #4398 )
...
* Add standard LDAP group membership checking.
* Fix formatting, typo, grammer, and syntax errors
* Debugging done.
Gave up on locale file edits.
8 years ago
Unknwon
11ad64f6cb
backup: use datetime string as default archive name
...
Because unix timestamp is not very human readable.
8 years ago
Unknwon
4e87e62d5c
models/repo_collaboration: cannot change permissions of collaborators ( #4512 )
8 years ago
Unknwon
a5bd095c30
locale: add en-GB
8 years ago
Unknwon
b17995a332
restore: reset table sequences for PostgreSQL ( #4357 )
8 years ago
Unknwon
ce6e8ed8fe
models: remove redundant tags for primary keys
8 years ago
Jon Lundy
1755025e7f
models/login_source: add check for user for create/update on LDAP ( #4405 )
...
* Add check for user for create/update
* Update login_source.go
* Update login_source.go
8 years ago
Gibheer
1a4ba4c390
models/ssh_key: don't run ssh-keygen check if disabled ( #4519 )
...
* don't load key when key size should not be checked
This makes it possible for users with incompatible ssh-keygen versions
to just disable the check completely without running into errors.
* add proper ed25519 constant
The x/crypto/ssh library has support for ed25519 now, so it is possible
to support it.
8 years ago
spacetourist
0a6ceabb9b
Allow configurable HTTPS SSL/TLS version( #4451 )
8 years ago
Unknwon
d71a8fece8
feature/org-mode: fix compile error
8 years ago
Unknwon
5202b7da48
vendor: add github.com/chaseadamsio/goorgeous
8 years ago
Unknwon
1b5a418fd3
modules/markup: initial support for org-mode ( #4373 )
8 years ago
Unknwon
a11044f789
locale: sync from Crowdin
8 years ago
Benjamin
4b2bf41381
locale: added missing word and fixed a typo ( #4490 )
8 years ago
rouzier
07d5badfed
cmd/update: fix typo ( #4492 )
8 years ago
peter zhang
10ee2e0dad
vendor: update xorm version for fix git clone error build with golang 1.8.1 ( #4460 )
8 years ago
Unknwon
6500aafcb8
install: validate port in SMTP host address ( #2243 )
8 years ago
Unknwon
6ebdf91b32
templates/repo: fix README.ipynb not rendered ( #4367 )
8 years ago
Unknwon
91cd350b63
repo/editor: fix wrong context for subdirectory ( #4368 )
8 years ago
Unknwon
6ea9642d64
js: remove Preview, Full Screen and Side-by-side buttons for repository file editing ( #4402 )
8 years ago
Unknwon
65277e47c5
api/repo: add Mirror field ( #4392 )
8 years ago
Unknwon
9e3c83372f
api/repo: improve migration error handling
8 years ago
Unknwon
809db853fa
locale: fix zh-CN
8 years ago
Unknwon
62a20b8a2d
repo/wiki: improve UI
8 years ago
Unknwon
d0612be402
user/setting: improve UI
8 years ago
Unknwon
5f8ec0dc8b
templates/repo: improve symlink file icon in list view ( #4237 )
8 years ago
Unknwon
fda4b1106e
user/setting: simplify code
8 years ago
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
8 years ago
Unknwon
8d0417497b
modes/mirror: make Updated unchanged if no new commits fetched ( #4341 )
...
After sync mirror, get latest commit date and compare to current
repository updated time, only update it if the commit date is newer.
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
8 years ago
Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
8 years ago
Unknwon
3c0de17133
js: set cursor to the end of autofocus input string
8 years ago
Unknwon
bd1f2ccaf8
user/settings/security: add token description about 2FA
8 years ago
Unknwon
ec491b023f
api/repo: fix nil error panic
8 years ago
Unknwon
f191bff0b9
api/repo: check user type of owner for migration
...
Report by MiaoWoo.
8 years ago
Unknwon
1a04da864f
vendor: add github.com/boombuler/barcode/utils
8 years ago
Unknwon
c8c975c99b
vendor: add packages for 2fa
8 years ago
Unknwon
a617d52374
2fa: initial support ( #945 )
8 years ago
Unknwon
624474386a
templates/repo/branches: fix links for mirror repository
...
Also added new pull request button for stale branches.
8 years ago
Unknwon
e0a787b5ee
Update locales
8 years ago
Unknwon
63598688e4
pkg/markup: init default sanitizer.policy
...
App would panic if user has validation error on installation and
the sanitizer is not yet built. Therefore we need a minimal valid
object for sanitizer at start.
8 years ago
Unknwon
497cdc9250
user/setting: reorder navbar
8 years ago
Unknwon
edaf14f2b6
Refactoring: remove tool.TplName
8 years ago
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
8 years ago
Unknwon
ba151eda0a
css: improve fonts under Windows
8 years ago
Unknwon
c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
8 years ago