silverwind
276f86082f
move fomantic target, update 'make help' ( #9945 )
I'd like to run webpack without fomantic in the prereqs so move it to
the `generate` target.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
zeripath
ca66f94b68
Make archive prefixing configurable with a global setting ( #9943 )
* Allow archive prefix setting
* Update copyright
* Update copyright
5 years ago
GiteaBot
b5fdd197f4
[skip ci] Updated translations via Crowdin
5 years ago
techknowlogick
176188bd81
Frontport: Fix regression with tag test running ( #9941 ) ( #9942 )
5 years ago
GiteaBot
d23a70cff7
[skip ci] Updated translations via Crowdin
5 years ago
John Olheiser
5b85e69bf8
Changelog 1.11.0-rc2 ( #9853 ) ( #9940 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago
John Olheiser
227ed8d44f
Don't convert ellipsis in markdown ( #9905 )
* Don't convert ellipsis
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Formatting
Co-Authored-By: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
guillep2k
6e08225184
Remove statements not supported by SQLExpress from migration te… ( #9929 )
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
Antoine GIRARD
1799aa77b2
Improve stale message ( #9920 )
* Improve stale nessage
* Update .github/stale.yml
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
Lauris BH
b6a50060c3
Check if diff actually contains sections when rendering ( #9926 )
5 years ago
silverwind
aa27e5ddd9
misc webpack tweaks ( #9924 )
- reduce verbosity during build
- use array form `use` to allow easier extension
- disable uninteresting source maps
- disable symlink resolution for a speedup
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
Lunny Xiao
a45b66b047
Fix wrong hint when status checking is running on pull request view ( #9886 )
* Fix wrong hint when status checking is running on pull request view
* fix lint
* fix test
* fix test
* fix wrong tmpl
* fix import
* rename function name
5 years ago
bobemoe
99856e63e0
add remote ip to the invalid credentials error message ( #9918 )
5 years ago
John Olheiser
73bce7a050
Fix RocketChat ( #9908 )
* Fix RocketChat??
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Don't send attachment for repo create/delete
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Make fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
zeripath
adfdf562bc
Do not try to recreate ldap user if they are already created ( #9900 )
* Do not try to recreate ldap user if they are already created
* just remove autoregister
Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
Lunny Xiao
3d1e50db77
fix wrong font url on semantic-ui ( #9917 )
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
silverwind
3cacb6818c
move jquery and jquery-migrate to npm/webpack ( #9813 )
Currently, this needs to be its own chunk because fomantic depends
on jQuery being present. The next step is to move fomantic to webpack
too after which we can combine the index,fomantic and jquery files into
one.
jquery-migrate is still neccessary because our ancient version of Dropzone
seems to break without it. I imagine it can be removed after a Dropzone
upgrade.
5 years ago
GiteaBot
23e28e1f7b
[skip ci] Updated translations via Crowdin
5 years ago
Antoine GIRARD
c5b6feacbb
Filter locales under 25% ( #9893 )
* Create update-locales.sh
* Update .drone.yml
* fix file perms +x
5 years ago
zeripath
4cdb5dbe01
Update queue_redis.go ( #9910 )
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
guillep2k
26c2729da7
Fix missing defer prepareTestEnv(t)() on some tests ( #9906 )
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
GiteaBot
c46c099e0e
[skip ci] Updated translations via Crowdin
5 years ago
Brad Albright
01cb4ab9c1
Fixed repo link in generated comment for cross repository dependency ( #9863 )
* fixed link to issue in issue comments after adding/removing a dependency, before links assumed the issue was in the same repository. also changed the format of the displayed issue since the issue will not necessarily be in the same repo
* based on pr comments, changed to use HTMLURL instead of piecing together the issue url, and added an if statement around the issue link display as a nil protection
* only showing repo name in dependency comment if the issue is from another repo
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
Lunny Xiao
23e8663ae8
Use npm to manage fomantic and only build needed components ( #9561 )
* Use npm to manage fomantic
* Only build needed semantic components
* Fix make
* Don't import fonts from google sites since we have loaded
* [misc] devendor fomantic-ui and rebuild upon src or config changes only
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* Change sort alphabetically of semantic components
* Fix trailing slash
* fix makefile
* Remove dependency to gulp from package.json
* Fix something
* Simplife the makefile
* add missed fomantic compnent
Co-authored-by: Jakob Ackermann <das7pad@outlook.com>
5 years ago
GiteaBot
4446ca649c
[skip ci] Updated translations via Crowdin
5 years ago
David Svantesson
63242f46b1
Add documentation how to render PlantUML in code blocks. ( #9894 )
* Add documentation how to render plantuml in code blocks.
* Review comments
* Apply suggestions from code review
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
zeripath
a5cf31541c
fix broken link ( #9901 )
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Lunny Xiao
2ac65b66a6
Refactor repository check and sync functions ( #9854 )
Move more general repository functions out of models/repo.go
5 years ago
zeripath
b5fff4bd14
Add documentation to add Mermaid.js to Gitea ( #9872 )
* Add documentation to add mermaid to Gitea
* Update documentation
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
GiteaBot
010dd3162f
[skip ci] Updated translations via Crowdin
5 years ago
guillep2k
96f178abad
Add support for database schema in PostgreSQL ( #8819 )
* Add support for database schema
* Require setting search_path for the db user
* Add schema setting to admin/config.tmpl
* Use a schema different from default for psql tests
* Update postgres scripts to use custom schema
* Update to xorm/core 0.7.3 and xorm/xorm c37aff9b3a
* Fix migration test
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
Lunny Xiao
d2802e50d8
Fix wrong permissions check when issues/prs shared operations ( #9885 )
* Fix wrong permissions check when issues/prs shared operations
* move redirect to the last of the function
* fix swagger
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Lauris BH
f8533a1232
Add top author stats to activity page ( #9615 )
5 years ago
John Olheiser
c1c72eebbb
Issue/PR Context Popups ( #9822 )
* Add data-index attribute to issue anchors
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Init JS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add required data to anchor
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Finish popup
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert changes to html.go
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Better octicon contexts
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Split out popup function for re-use
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Style changes, test fixes, and cross-reference support
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Prefer em to px
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move label margin to base CSS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move JS to separate file.
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move JS to features and fix module
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove query-string and hash
Co-Authored-By: silverwind <me@silverwind.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
zeripath
b882a665c2
Add option to prevent LDAP from deactivating everything on empty search ( #9879 )
* Add option to prevent LDAP from deactivating everything on empty search
* Update options/locale/locale_en-US.ini
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
zeripath
5184f75e38
Give the stdout on temp_repo error ( #9871 )
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
zeripath
5722f14720
Check user != nil before checking values ( #9881 )
* Check user != nil before checking values
* Handle autoAdmin
5 years ago
guillep2k
528bb5ddb9
Add missing columns to repository and user ( #9861 )
5 years ago
zeripath
3f3d808e77
Allow hyphen in language name ( #9873 )
5 years ago
zeripath
18a37b4b2e
Ensure that 2fa is checked on reset-password ( #9857 )
* Ensure that 2fa is checked on reset-password
* Apply suggestions from code review
Co-Authored-By: Lauris BH <lauris@nix.lv>
* Properly manage scratch_code regeneration
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
zeripath
ec612b33bc
Make CertFile and KeyFile relative to CustomPath ( #9868 )
* Make CertFile and KeyFile relative to CustomPath
The current code will absolute CertFile and KeyFile against the current working directory. This is quite unexpected for users. This code makes relative paths absolute against the CustomPath.
Fix #4196
* Improve error reporting when reading certificates
* Apply suggestions from code review
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
GiteaBot
bbb04e0ef4
[skip ci] Updated translations via Crowdin
5 years ago
techknowlogick
a17d7ad8e4
run translations pipeline on arm server ( #9865 )
5 years ago
GiteaBot
f0117eff19
[skip ci] Updated translations via Crowdin
5 years ago
Lunny Xiao
b4bfeea829
Fix issues/pulls dependencies problems ( #9842 )
* Fix issues/pulls dependencies problems
* fix swagger and api param name
* fix js
5 years ago
David Svantesson
225bbdb185
Change won't sign information text to black. ( #9843 )
* Change won't sign information text to black.
* icon and text same color
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
David Svantesson
a2265ca346
Explicitly refer to PR in squash-merge commit message in case of external tracker ( #9844 )
* Explicitly refer to PR in squash-merge commit message in case of external tracker
* documentation
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
6543
48be2140e9
[Docs] add usefull info to REQUIRE_SIGNIN_VIEW ( #9848 )
5 years ago
6543
3042165b0b
Changelog 1.10.3 ( #9832 ) ( #9850 )
5 years ago
GiteaBot
6bcc757cd0
[skip ci] Updated translations via Crowdin
5 years ago