Lunny Xiao
6d6f1d568e
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
81cfe243f9
Add top author stats to activity page ( #9615 )
5 years ago
John Olheiser
7d7ab1eeae
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
c5014a7f2c
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
54c2854cd2
Give the stdout on temp_repo error ( #9871 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
zeripath
dcf7e858cb
Check user != nil before checking values ( #9881 )
...
* Check user != nil before checking values
* Handle autoAdmin
5 years ago
guillep2k
bec99507a4
Add missing columns to repository and user ( #9861 )
5 years ago
zeripath
948dec3d75
Allow hyphen in language name ( #9873 )
5 years ago
zeripath
fb8aea4eeb
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
92d6bca41e
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
1d7b7504d0
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
1803b38efc
[skip ci] Updated translations via Crowdin
5 years ago
techknowlogick
c437e8e930
run translations pipeline on arm server ( #9865 )
5 years ago
GiteaBot
20f6acc585
[skip ci] Updated translations via Crowdin
5 years ago
Lunny Xiao
f540d0ac87
Fix issues/pulls dependencies problems ( #9842 )
...
* Fix issues/pulls dependencies problems
* fix swagger and api param name
* fix js
5 years ago
David Svantesson
0641965860
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
aac8250b47
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
fec1095f17
[Docs] add usefull info to REQUIRE_SIGNIN_VIEW ( #9848 )
5 years ago
6543
6140325e98
Changelog 1.10.3 ( #9832 ) ( #9850 )
5 years ago
GiteaBot
5a02ed5894
[skip ci] Updated translations via Crowdin
5 years ago
Lunny Xiao
b641c68fee
Improve notification pager ( #9821 )
...
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
6543
2f3a602b3c
fix ( #9836 )
5 years ago
Lunny Xiao
737ea6d83c
Fix download file wrong content-type ( #9825 )
...
* Fix download file wrong content-type
* change the error text to be more precise
* fix test
5 years ago
GiteaBot
7c0570d214
[skip ci] Updated translations via Crowdin
5 years ago
Lunny Xiao
088759f180
Fix wrong identify poster on a migrated pull request when submi… ( #9827 )
5 years ago
David Svantesson
3c07d03c03
Add setting to set default and global disabled repository units. ( #8788 )
...
* Add possibility to global disable repo units.
* Add Default Repo Unit app.ini setting.
* Hide units
* Hide disabled repo units
* Minor fixes
* Indicate disabled units in team settings.
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
6543
36943e56d6
Add "Update Branch" button to Pull Requests ( #9784 )
...
* add Divergence
* add Update Button
* first working version
* re-use code
* split raw merge commands and db-change functions (notify, cache, ...)
* use rawMerge (remove redundant code)
* own function to get Diverging of PRs
* use FlashError
* correct Error Msg
* hook is triggerd ... so remove comment
* add "branch2" to "user2/repo1" because it unit-test "TestPullView_ReviewerMissed" use it but dont exist jet :/
* move GetPerm to IsUserAllowedToUpdate
* add Flash Success MSG
* imprufe code
- remove useless js chage
* fix-lint
* TEST: add PullRequest ID:5
Repo: user2/repo1
Base: branch1
Head: pr-to-update
* correct comments
* make PR5 outdated
* fix Tests
* WIP: add pull update test
* update revs
* update locales
* working TEST
* update UI
* misspell
* change style
* add 1s delay so rev exist
* move row up (before merge row)
* fix lint nit
* UI remove divider
* Update style
* nits
* do it right
* introduce IsSameRepo
* remove useless check
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Lunny Xiao
9f40bb020e
fix dump non-exist log directory ( #9818 )
5 years ago
silverwind
cc2916dc5a
remove promise-polyfill ( #9812 )
...
promises are polyfilled by babel, it's no longer needed.
5 years ago
David Svantesson
18e0447b3f
Fix admin handling at merge of PR ( #9749 )
...
* Admin shall be able to bypass merge checks.
* Repository admin should not bypass if merge whitelist is set.
* Add code comment about checks that PR are ready
* notAllOverrideableChecksOk->notAllOverridableChecksOk
* Fix merge, require signed currently not overridable.
* fix
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
Lunny Xiao
d3468ed79f
Fix compare ( #9808 )
...
Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
Antoine GIRARD
8dd5ab2a14
ci: simplify tag/release by always running coverage ( #9774 )
...
* ci: simplify tag/release by always running coverage
* use mod and vendor for unit test coverage
* remove not needed lfs for unit test
5 years ago
zeripath
c76c70a16c
Move mailer to use a queue ( #9789 )
...
* Move mailer to use a queue
* Make sectionMap map[string]bool
* Ensure that Message is json encodable
5 years ago
6543
06cd3e03a2
[refactor] notify remove unused praram ( #9804 )
5 years ago
Antoine GIRARD
11885daaa0
tests: configure github remaining limit + read token ( #9800 )
...
* ci: configure remaining github limmit
* prepend with github since package is common to all migrations
* add RefreshRate
* Update github.go
* add missing space
* go fmt
* Read env variable GITHUB_READ_TOKEN for token
* Update .drone.yml
5 years ago
GiteaBot
fdb32ab0f8
[skip ci] Updated translations via Crowdin
5 years ago
Lunny Xiao
dbd89acf98
Remove unnecessary permissions load ( #9796 )
...
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
Moritz
f740943df4
Fix markdown anchor links ( #9673 )
...
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Damien Cassou
c6a32ddb47
Update go-org to 0.1.9 ( #9782 )
...
* Update go-org to 0.1.9
What I did to generate this commit:
$ go get github.com/niklasfasching/go-org
* make vendor
5 years ago
6543
3ae5f8ef11
[Docs] Update Feature 'Reject unsigned commits' ( #9793 )
...
* update docs
* add link to feature
5 years ago
John Olheiser
176e7fb5d5
Fix push-to-create ( #9772 )
...
* Fix push-to-create
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Check URL path and service
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Send dummy payload on receive-pack GET
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* The space was actually a NUL byte
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Use real bare repo instead of manufactured payload
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
silverwind
8716752d22
update supported browsers and add a few more ( #9734 )
...
Now includes Firefox ESR, Opera and a few more browser with usages
between 0.5% and 1%. defaults resolves to > 0.5%, last 2 versions, Firefox ESR, not dead.
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
6543
665d7e91a8
Fix signing info on PR view if not signed in ( #9788 )
5 years ago
zeripath
e7923c4bc0
Fix missing unlock in uniquequeue ( #9790 )
5 years ago
Lunny Xiao
9343d2fc85
Fix missing msteam webhook on organization ( #9781 )
5 years ago
David Svantesson
f162a32604
Fix #9662 ( #9767 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
GiteaBot
3ac79b7101
[skip ci] Updated translations via Crowdin
5 years ago
Lunny Xiao
2b3e931cde
Migrate reactions when migrating repository from github ( #9599 )
...
* Migrate reactions when migrating repository from github
* fix missed sleep
* fix tests
* update reactions when external user binding
* Fix test
* fix tests
* change the copy head
* fix test
* fix migrator add/delete reaction
5 years ago
GiteaBot
4e566df1c6
[skip ci] Updated translations via Crowdin
5 years ago
Bagas Sanjaya
3f1e062d21
err_admin_name_pattern_not_allowed String Clarification ( #9731 )
...
* err_admin_name_pattern_not_allowed clarification edit
* Apply suggestion from @zeripath
Context: username that provided as admin
Co-Authored-By: zeripath <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago