zeripath
d21dabab4e
When mirroring we should set the remote to mirror ( #6824 ) ( #6834 )
6 years ago
Lauris BH
34ba1c8957
Show scrollbar only when needed ( #6802 ) ( #6803 )
6 years ago
techknowlogick
98d82a7dd9
Service worker js is a missing comma ( #6788 ) ( #6795 )
6 years ago
silverwind
ee163a8af1
Minor CSS cleanup for the navbar ( #6553 ) ( #6781 )
...
* Minor CSS cleanup for the navbar
* move height fix to navbar
Fixes : #6776
6 years ago
ngourdon
ed96b84b2e
Set user search base field optional in DLDAP edit page ( #6779 ) ( #6789 )
6 years ago
ngourdon
7284829962
Fix team edit API panic ( #6785 )
...
* fix team edit API panic
* Change user to a member of the owner team
6 years ago
zeripath
21fb791747
Detect encoding and BOM in content ( #6727 ) ( #6765 )
...
Detect and remove a decoded BOM when showing content.
Restore the previous encoding and BOM when updating content.
On error keep as UTF-8 encoding.
Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years ago
mrsdizzie
8b3aad940e
Stricter domain name pattern in email regex ( #6768 )
...
Backport of #6739
6 years ago
Lunny Xiao
81adf6ad86
Fix org visibility bug when git cloning ( #6743 ) ( #6762 )
...
* fix org visibility bug
* fix permission check
* add integration tests
* fix tests
* change test user name for easier maintainance and fix test
* fix test git repo name
6 years ago
techknowlogick
e6cd4f3276
OAuth2 token can be used in basic auth ( #6747 ) ( #6761 )
6 years ago
Lunny Xiao
30226b4793
fix missing return ( #6751 ) ( #6756 )
6 years ago
Lunny Xiao
aecd9231ba
Fix: Sort repos on org home page with non-admin login ( #6741 ) ( #6746 )
6 years ago
Lanre Adelowo
26c1550643
Drop is_bare IDX only when it exists for MySQL and MariaDB ( #6736 ) ( #6744 )
...
* Drop is_bare IDX only when it exists
* show indexes only on mysql or mariadb
6 years ago
Lunny Xiao
5f6b118007
Fix team members API ( #6714 ) ( #6729 )
6 years ago
John Olheiser
b1cb52e477
[API] Load issue attributes when editing an issue ( #6723 ) ( #6725 )
6 years ago
techknowlogick
799f5e05c9
1.8.0 Changelog ( #6678 )
6 years ago
zeripath
497f37bffd
Unfortunately MemProvider Init does not actually Init properly ( #6692 ) ( #6693 )
...
* Unfortunately MemProvider Init does not actually Init properly
Worse all of its members are private and you cannot update them.
Simple fix copy it in to modules session.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix misspelling
6 years ago
zeripath
d7aa553f1b
Prevent creating empty sessions ( #6677 ) ( #6690 )
...
Backport #6677
Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years ago
techknowlogick
ba12463175
backport #6674 - API OTP Context ( #6676 )
6 years ago
zeripath
0acaa6bd00
Fix 6655 - there is no need to EscapePound .Link as it is already escaped ( #6656 ) ( #6666 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years ago
zeripath
66a3353c31
Properly escape on the redirect from the web editor ( #6657 ) ( #6667 )
6 years ago
Segev Finer
5236d8a936
Fix forking an empty repository ( #6637 ) ( #6653 )
...
Fixes #6633
Signed-off-by: Segev Finer <segev@codeocean.com>
6 years ago
zeripath
5876e37ed4
Fix dropdown icon padding ( #6651 ) ( #6654 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net>
6 years ago
John Olheiser
3c21a0ee80
Add title attributes to all items in the repo list viewer ( #6258 ) ( #6650 )
6 years ago
Antoine GIRARD
f43783f003
[backport] Fix wrong GPG expire date ( #6643 ) ( #6644 )
...
* fix expire of gpg relative to key creation https://tools.ietf.org/html/rfc4880#section-5.2.3.6
* add test
6 years ago
zeripath
b9c5a3acc3
Return a UserList from /api/v1/admin/users ( #6629 ) ( #6642 )
6 years ago
Jonas Franz
c363ef5da0
Add json tags for oauth2 form ( #6627 ) ( #6641 )
...
(cherry picked from commit 62d3f49c28
)
Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
techknowlogick
e8ca2da08f
Fix cross-compile builds ( #6609 ) ( #6615 )
...
* Fix cross-compile builds (#6609 )
* Update Makefile
* remove bash requirement
6 years ago
techknowlogick
f64b8eb009
1.8.0-rc3 changelog & 1.7.6 changelog backport ( #6597 )
6 years ago
zeripath
40f41dc694
Correctly adjust mirror url ( #6593 ) ( #6594 )
6 years ago
John Olheiser
a63b9fbc70
Change summary to full message ( #6591 ) ( #6592 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
Lunny Xiao
4b87aa367c
fix mail notification when close/reopen issue ( #6581 ) ( #6588 )
6 years ago
Jonas Franz
72f4cdf868
Add option to disable refresh token invalidation ( #6584 ) ( #6587 )
...
* Add option to disable refresh token invalidation
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add integration tests and remove wrong todos
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix typo
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix tests and add documentation
Signed-off-by: Jonas Franz <info@jonasfranz.software>
(cherry picked from commit 783cd64927
)
Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
Lunny Xiao
5be1b7df3f
fix bug user search API pagesize didn't obey ExplorePagingNum ( #6579 ) ( #6586 )
6 years ago
John Olheiser
95e12be30f
Fix new repo alignment ( #6583 ) ( #6585 )
...
* Fix new repo alignment (#6583 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Kick Drone
* Make stylesheets again.
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
zeripath
245089b9c9
Prevent server 500 on compare branches with no common history ( #6555 ) ( #6558 )
...
* Prevent server 500 on compare branches with no common history (#6555 )
* Update code.gitea.io/git module
6 years ago
mrsdizzie
2551660f49
Properly escape release attachment URL ( #6512 ) ( #6523 )
...
Make sure file attachments on a release get a properly escaped URL when
linking.
Fixes #6506
6 years ago
Lauris BH
3b28de7d8e
fix bug when user login and want to resend register confirmation email ( #6482 ) ( #6486 )
6 years ago
zeripath
3725eefb7f
Hacky fix for alignment of the create-organization dialog ( #6455 ) ( #6462 )
...
* Hacky fix for alignment of the create-organization dialog
* Mangle the post-scripted red-asterisk back in to follow the Visibility Header
6 years ago
John Olheiser
73ce02400c
Changelog 1.8.0 rc2 ( #6451 )
6 years ago
John Olheiser
197cbd674d
Changelog 1.7.5 ( #6444 ) ( #6448 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
mrsdizzie
4a0f7c1eb4
Change order that PostProcess Processors are run ( #6445 ) ( #6447 )
...
Make sure Processors that work on full links are run first so that
something matching another pattern doesn't alter a link before we get to
it, for example:
https://stackoverflow.com/questions/2896191/what-is-go-used-fore
Fixes #4813
6 years ago
Segev Finer
e54f7a708c
Fix Hook & HookList in Swagger ( #6432 ) ( #6440 )
...
Backport from #6432
6 years ago
mrsdizzie
63f6764dce
Clean up ref name rules ( #6437 ) ( #6439 )
6 years ago
Allen Wild
0bf7ed55be
routers/repo/setting: display correct error for invalid mirror interval ( #6429 )
...
Set Err_Interval in the context data so that the mirror interval box is
highlighted red as expected.
Clear Err_RepoName for the mirror and advanced actions. repo_name is not
set by these forms, causing auth.validate() to set the Err_RepoName
before SettingsPost is called, which would lead to the repository name
box getting erroneously highlighted red.
Fixes: https://github.com/go-gitea/gitea/issues/6396
6 years ago
kolaente
93e8174e4e
Fixed unitTypeCode not being used ( #6419 ) ( #6422 )
6 years ago
Lunny Xiao
c5ec66a8a3
fix dump table name error and add some test for dump database ( #6394 ) ( #6402 )
6 years ago
Lunny Xiao
b6fb082b78
fix migrations 82 to ignore unsynced tags between database and git data and missing is_archived on repository table ( #6387 ) ( #6403 )
6 years ago
mrsdizzie
3ce195115b
Don't Unescape redirect_to cookie value ( #6399 ) ( #6401 )
...
redirect_to holds a value that we want to redirect back to after login.
This value can be a path with intentonally escaped values and we
should not unescape it.
Fixes #4475
6 years ago
Lunny Xiao
00619a04f7
fix bug manifest.json will not request with cookie so that session will created every request ( #6372 ) ( #6382 )
6 years ago