Lauris BH and Jonas Franz
f096e69e0a
Add default merge options when adding new repository ( #4369 ) ( #4373 )
2018-07-05 16:12:09 +02:00
Lauris BH and Jonas Franz
155caa8e0a
Check that repositories can only be migrated to own user or organizations ( #4366 ) ( #4370 )
...
* Repositories can only migrated to own user or organizations
* Add check for organization that user does not belong to
* Allow admin to migrate repositories for other users
2018-07-05 01:18:06 +02:00
Lauris Bukšis-Haberkorns
280ebcbf7c
Update changelog
...
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-07-03 23:24:48 +03:00
Lauris Bukšis-Haberkorns
1c7f951534
Change 1.5.0 RC1 release date in changelog
...
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-07-03 23:21:44 +03:00
Lauris Bukšis-Haberkorns
5f52178421
Change 1.5.0 RC1 release date in changelog
...
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-07-03 22:57:59 +03:00
Lauris BH and techknowlogick
2b8c0bb5e2
Delete reactions added to issues and comments when deleting repository ( #4232 )
2018-06-12 13:02:51 -04:00
Lauris BH and Lunny Xiao
a89d6253e0
Show only needed values in database configuration section depending on type ( #4164 )
2018-06-06 18:13:42 -05:00
Lauris BH and techknowlogick
1aee261aae
More detailed documentation on how to set up from binary ( #4121 )
...
* More detailed documentation on how to set up from binary
Also change recommended file locations
2018-06-04 22:02:04 -04:00
Lauris BH and Bo-Yi Wu
e74055878f
Update xormstore dependency to fix OAuth2 support for MySQL ( #3955 )
2018-05-13 13:10:50 +08:00
Lauris BH and Lunny Xiao
ff3971b830
Add LDAP integration tests ( #3897 )
...
* Add LDAP service for tests
* Add LDAP login source and test user sign-in
* Add checks to test if user data is correct
* Add LDAP user sync test
* Add failed user sign-in test
2018-05-11 15:55:32 +08:00
Lauris BH and Lunny Xiao
abff697f31
Update less.js to latest version ( #3932 )
2018-05-10 13:36:47 +08:00
Lauris BH and Lunny Xiao
382e7276b8
Fix multiple asssingee table migration ( #3931 )
2018-05-10 09:18:01 +08:00
Lauris BH and GitHub
16b34448d4
Compare git services in docs page ( #3911 )
2018-05-09 12:57:02 +03:00
Lauris BH and GitHub
501fb228e6
Add option to use paged LDAP search when synchronizing users ( #3895 )
2018-05-05 17:30:47 +03:00
Lauris BH and Lunny Xiao
5f4cff6159
Release 1.4.x changelog ( #3894 )
2018-05-04 21:23:39 +08:00
Lauris BH and GitHub
1e1ece8f3d
Do not allow to reuse TOTP passcode ( #3878 )
2018-05-02 18:02:02 +03:00
Lauris BH and GitHub
b66d6b3449
Do not allow inactive users to access repositories using private keys ( #3887 )
2018-05-02 16:22:56 +03:00
Lauris BH and GitHub
9495429982
Add "error" as reserved username ( #3882 )
2018-05-02 11:06:31 +03:00
Lauris BH and GitHub
5ffdf9388b
Fix to use only needed columns from tables to get repository git paths ( #3870 )
2018-05-02 09:10:19 +03:00
Lauris BH and Bo-Yi Wu
181b3a8f09
Fix path cleanup in multiple places ( #3871 )
2018-05-01 09:46:04 +08:00
Lauris BH and Bo-Yi Wu
ff64f188fd
Switch back to upstream goth repository and update govendor to latest goth version ( #3863 )
2018-04-30 09:05:59 +08:00
Lauris BH and GitHub
5a62eb30df
Store OAuth2 session data in database ( #3660 )
...
* Store OAuth2 session data in database
* Rename table to `oauth2_session` and do not skip xormstorage initialization error
2018-04-29 09:09:24 +03:00
Lauris BH and GitHub
5424f75a63
Fix building of docs with latest hugo version ( #3856 )
2018-04-28 23:46:05 +03:00
Lauris BH and Lunny Xiao
ab5cc6f3a9
Correctly check http git access rights for reverse proxy authorized users ( #3721 )
2018-03-29 09:39:51 +08:00
Lauris BH and Kim "BKC" Carlbäcker
7b2b900e13
Refactor and simplify redirect to url ( #3674 )
2018-03-15 22:13:34 +01:00
Lauris BH and Lunny Xiao
c0d41b1b77
Add label descriptions ( #3662 )
...
* Add label descriptions
* Add default descriptions to label template
2018-03-13 10:03:55 +08:00
Lauris BH and GitHub
ad33730dca
Update markbates/goth libary to fix OAuth2 support ( #3661 )
2018-03-13 01:35:46 +02:00
Lauris BH and Bo-Yi Wu
de8a091767
Fix MySQL and PostgreSQL column drop SQL ( #3649 )
2018-03-09 09:20:57 +08:00
Lauris BH and Bo-Yi Wu
dc4afef07f
Fix column removal in MSSQL ( #3638 )
...
* Fix column removal in MSSQL
* Use xorm session in MSSQL drop column operations
* Add transaction as MSSQL alter table is transactional
2018-03-07 14:44:12 +08:00
Lauris BH and GitHub
7b297808ce
Update markbates/goth library ( #3533 )
...
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-02-19 07:10:51 +02:00
Lauris BH and Lunny Xiao
6f751409b4
Document generate commands ( #3532 )
...
* Document generate commands
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
* Fix examples and grammar
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-02-18 21:23:41 -06:00
Lauris BH and Bo-Yi Wu
58893384e8
Add issue closed time column to fix activity closed issues list ( #3537 )
...
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-02-19 10:39:26 +08:00
Lauris BH and GitHub
3a9c698821
Force remove test repo root path in case previous test is still locking it ( #3528 )
...
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-02-18 23:19:40 +02:00
Lauris BH and GitHub
ae30315a62
Fix escaping changed title in comments ( #3530 )
...
* Fix escaping changed title in comments
* Fix escaping of wiki page titile
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-02-18 22:06:37 +02:00
Lauris BH and Bo-Yi Wu
02bc92a5c9
Fix app.ini sample file link in docs ( #3529 )
...
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2018-02-18 22:38:50 +08:00
Lauris BH and GitHub
283e87d814
Fix rendering of wiki page list if wiki repo contains other files ( #3454 )
...
* Fix rendering of wiki page list if wiki repo contains other files
* Improve wiki filename tests
2018-02-05 16:56:30 +02:00
Lauris BH and GitHub
f9a5cc4d8e
Use correct transaltion key for delete email button ( #3422 )
2018-01-31 00:31:06 +02:00
Lauris BH and GitHub
ca4f5c37e6
Fix branch deletion for squash or rebase merged pull requests ( #3425 )
2018-01-30 14:29:39 +02:00
Lauris BH and GitHub
aef30071c9
Fix go-get content type ( #3426 )
2018-01-29 19:50:04 +02:00
Lauris BH and GitHub
28b81899d0
Add doctype to go-get=1 reponse ( #3423 )
2018-01-29 03:12:04 +02:00
Lauris BH and GitHub
e189b06baa
Add mising LOCAL_WIKI_PATH documentation ( #3420 )
2018-01-28 19:16:28 +02:00
Lauris BH and GitHub
a0c397df08
Recognize more characters in crossreferenced repo name ( #3413 )
2018-01-27 14:33:32 +02:00
Lauris BH and GitHub
ca306985d3
Change how merged PR commit info are prepared ( #3368 )
...
* Change how merged PR commits and diff are made
* Update code.gitea.io/git dependency
* Fix typo
* Remove unneeded local variable
2018-01-19 08:18:51 +02:00
Lauris BH and GitHub
a68bf746a4
Change reserved avatar name to correct - avatars ( #3375 )
2018-01-16 00:45:13 +02:00
Lauris BH and Kim "BKC" Carlbäcker
be1330ec89
Remove hardcoded paths to fix randomly failing tests ( #3347 )
...
* Remove hardcoded paths to fix randomly failing tests
* Use correct function for merge path
2018-01-11 00:46:59 +01:00
Lauris BH and GitHub
d8dff304c0
Fix randomly failing LFS lock tests in drone ( #3346 )
2018-01-11 00:09:56 +02:00
Lauris BH and GitHub
8ac1501ad7
Add Pull Request merge options - Ignore white-space for conflict checking, Rebase, Squash merge ( #3188 )
...
* Pull request options migration and UI in settings
* Add ignore whitespace functionality
* Fix settings if pull requests are disabled
* Fix migration transaction
* Merge with Rebase functionality
* UI changes and related functionality for pull request merging button
* Implement squash functionality
* Fix rebase merging
* Fix pull request merge tests
* Add squash and rebase tests
* Fix API method to reuse default message functions
* Some refactoring and small fixes
* Remove more hardcoded values from tests
* Remove unneeded check from API method
* Fix variable name and comment typo
* Fix reset commit count after PR merge
2018-01-05 20:56:50 +02:00
Lauris BH and GitHub
c06cc740de
Reorder migrations, skip errors if running migration again ( #3160 )
...
* Reorder migrations, skip errors if running migration again
* Rename migration file names to match migration version
* Add note about ingored error
2017-12-13 16:52:18 +02:00
Lauris BH and Lunny Xiao
d3c5911ffc
Fix wiki page list not rendering after updatedunix changes ( #3175 )
2017-12-13 21:46:56 +08:00
Lauris BH and Kim "BKC" Carlbäcker
b82519cadc
Move build without gcc step up so that it's binary is not used in docker ( #3147 )
2017-12-11 10:42:13 +01:00
Lauris BH and Kim "BKC" Carlbäcker
d5d28721e2
Backport changelog for 1.3 release ( #3120 )
2017-12-08 18:20:48 +01:00
Lauris BH and Lunny Xiao
c7fb6e3087
Fix reaction possition when there is attachments ( #3099 )
2017-12-06 11:17:50 +08:00
Lauris BH and GitHub
f1d8dda5b4
Tests for reactions ( #3083 )
...
* Unit tests for reactions
* Fix import order
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv >
2017-12-05 22:57:01 +02:00
Lauris BH and GitHub
5dc37b187c
Add reactions to issues/PR and comments ( #2856 )
2017-12-04 01:14:26 +02:00
Lauris BH and GitHub
0d4c63fd70
Fix go-get, src and raw urls to new scheme ( #2978 )
2017-11-27 02:58:54 +02:00
Lauris BH and Lunny Xiao
b23cf16981
Fix govendor for x/crupto curve25519 ( #2925 )
2017-11-17 11:16:47 +08:00
Lauris BH and Lunny Xiao
7c3e605698
Fix memcache support when value is returned as string always ( #2924 )
2017-11-16 15:06:34 +08:00
Lauris BH and GitHub
3138417c63
Update golang x/crypto dependencies ( #2923 )
2017-11-16 07:53:23 +02:00
Lauris BH and Lunny Xiao
a6f337046f
Update go-ini dependency and remove semicolon hack in translations ( #2913 )
2017-11-15 11:34:42 +08:00
Lauris BH and GitHub
fb6348976e
Backport 1.2.x changelog to master ( #2904 )
2017-11-15 01:39:17 +02:00
Lauris BH and GitHub
134958fd9f
Fix localization texts that contain semicolon ( #2900 )
2017-11-13 09:56:10 +02:00
Lauris BH and Bo-Yi Wu
0a9fd454da
Fix new branch creation to new url scheme ( #2884 )
2017-11-10 19:32:46 -06:00
Lauris BH and GitHub
ba2e0240c6
Add LFS object verification step after upload ( #2868 )
...
* Add LFS object verification step after upload
* Fix file verification condition and small refactor
* Fix URLs
* Remove newline and return status 422 on failed verification
* Better error hadling
2017-11-08 15:04:19 +02:00
Lauris BH and GitHub
57de1ff991
Fix API raw file content access for default branch ( #2849 )
2017-11-04 19:26:38 +02:00
Lauris BH and GitHub
bd6f24b4ab
Add deleted_branch table fixture ( #2832 )
...
* Add deleted_branch table fixture
* Fix deleted branches tests
* Remove unneeded global variable
2017-11-04 15:31:59 +02:00
lafriks
dcb009aa86
'[skip ci] Updated translations via Crowdin'
2017-11-03 23:24:26 +00:00
Lauris BH and GitHub
08b124dd47
Fix API raw requests for commits and tags ( #2841 )
2017-11-04 01:23:59 +02:00
Lauris BH and Lunny Xiao
240609432b
Issue content should not be updated when closing with comment ( #2833 )
2017-11-03 17:23:17 +08:00
Lauris BH and GitHub
2e08f230ca
Use different directories for session files in integration tests ( #2834 )
2017-11-03 02:48:47 +02:00
lafriks
3ee7248970
'[skip ci] Updated translations via Crowdin'
2017-11-02 23:33:59 +00:00
Lauris BH and GitHub
9500ad1e92
Fix removing backslash before quotes in translations ( #2831 )
2017-11-03 01:33:43 +02:00
Lauris BH and Lunny Xiao
266ebf8200
Revert en-US locale ( #2821 )
2017-11-02 00:03:10 +08:00
Lauris BH and Lunny Xiao
82fc50f4ee
Fix Git LFS object/repo link storage in database and small refactoring ( #2803 )
2017-10-30 20:11:56 +08:00
Lauris BH and Lunny Xiao
762f1d7237
Add wrapping to long diff lines ( #2789 )
...
* Add wrapping to long diff lines to fix #1827
* Fix css class and make changes to source (less) files
* Fix wrong space indentation
* Fix indentation inconsistencies and remove very old WebKit workaround
2017-10-27 12:30:54 +08:00
Lauris BH and Lunny Xiao
6a107e57f6
Add checks for commits with missing author and time ( #2771 )
...
* Add checks for commits with missing author and time
* Fix validate commits with emails if it has no Author
2017-10-26 15:45:14 +08:00
Lauris BH and Lunny Xiao
eca05b09aa
Add commit count caching ( #2774 )
...
* Add commit count caching
* Small refactoring
* Add different key prefix for refs and commits
* Add configuratuion option to allow to change caching time or disable it
2017-10-26 09:37:33 +08:00
Lauris BH and GitHub
9ba7898911
Update vendor git ( #2765 )
2017-10-23 16:36:14 +03:00
Lauris BH and Bo-Yi Wu
e4990ba205
Fix emojify image URL ( #2769 )
2017-10-23 03:48:56 -05:00
Lauris BH and Andrey Nering
0e9e48bd5c
Fix activity css conflit with semantic ui ( #2758 )
2017-10-21 18:07:06 -02:00
Lauris BH and Lunny Xiao
222244836f
Fix IE unsupported javascript construction ( #2736 )
2017-10-19 14:00:36 +08:00
Lauris BH and Bo-Yi Wu
af4a094e5d
Fix semantic-ui style conflict with v-cloak ( #2722 )
2017-10-17 02:24:43 -05:00
Lauris BH and GitHub
c1b0c9e7c4
Fix PR, milestone and label functionality if issue unit is disabled ( #2710 )
...
* Fix PR, milestone and label functionality if issue unit is disabled or not assigned to user
* Fix multi-actions in PR page
* Change error message
* Fix comment update and delete functionality in PR
2017-10-16 10:55:43 +03:00
Lauris BH and GitHub
c7f4f07765
Integration test for activity page ( #2704 )
...
* Integration test for activity page
* Small code refactoring for acitvity page
* Move activity stats calculation logic to model
2017-10-16 00:54:53 +03:00
Lauris BH and GitHub
f3833b7ce4
Create new branch from branch selection dropdown ( #2130 )
...
* Create new branch from branch selection dropdown and rewrite it to VueJS
* Make updateLocalCopyToCommit as not exported
* Move branch name validation to model
* Fix possible race condition
2017-10-15 22:59:24 +03:00
Lauris BH and GitHub
1ec4dc6c1d
Fix so that user can still fork his own repository to owned organizations ( #2699 )
...
* Fix so that user can still fork his own repository to his organizations
* Fix to only use owned organizations
* Add integration test for forking own repository to owned organization
2017-10-15 18:06:07 +03:00
Lauris BH and Lunny Xiao
32ca299650
Remove direct user adding to organization members ( #2641 )
2017-10-15 10:24:24 +08:00
Lauris BH and GitHub
f42dbdbae5
Add Activity page to repository ( #2674 )
...
* Add Activity page to repository
* Add request data for activity
* Add issue data for activity
* Add user unit right checks
* Add releases to activity
* Log repository unit loading error
2017-10-15 02:17:39 +03:00
Lauris BH and GitHub
8863e74f2a
Fix organization watch migration ( #2703 )
2017-10-14 20:47:05 +03:00
Lauris BH and Lunny Xiao
46cc45f049
Fix go get response if only app URL is custom in configuration ( #2634 )
...
* Fix go get response if only app URL is custom in configuration
* Rewrite to update Domain setting to match AppURL
2017-10-02 21:55:09 +08:00
Lauris BH and GitHub
339d7de409
Fix translation upload to crowdin ( #2599 )
2017-09-25 10:59:19 +03:00
Lauris BH and Lunny Xiao
2db424c3f1
Fix broken migration to add can_push field back to table ( #2574 )
2017-09-23 16:45:41 +08:00
Lauris BH and GitHub
28f4de205f
Fix drone for tags ( #2573 )
2017-09-22 18:34:02 +03:00
Lauris BH and GitHub
6718ea6ff1
Fix can_push value to false in protected_branch ( #2560 )
2017-09-20 17:52:23 +03:00
Lauris BH and Andrey Nering
6f380a22a4
Remove go version check for make fmt ( #2558 )
2017-09-20 08:58:29 -03:00
Lauris BH and Lunny Xiao
7a0297819d
Sync releases table with tags on push and for mirrors ( #2459 )
...
* Sync releases table with tags on push and for mirrors
* Code style fixes
* Fix api to return only releases
* Optimize release creation and update
Minimize posibility of race conditions
* Fix release lower tag name updating
* handle tag reference update by addionally comparing commit id
2017-09-20 13:26:49 +08:00
Lauris BH and GitHub
23645fe05f
Sort repository tree entries in natural way ( #2506 )
...
* Sort repository tree entries in natural way
* Fix sort for different length strings with first parts equal
* Improve test case
* Refactor return statements
* Update gitea/git dependency
2017-09-19 11:37:03 +03:00
Lauris BH and Lunny Xiao
377cd1ae38
Allow changing integration test database connection using env variables ( #2484 )
2017-09-13 14:03:20 +08:00
Lauris BH and Lunny Xiao
4c2b1be3a4
Basic VSCode configuration for building and debugging ( #2483 )
...
* Basic VSCode configuration for building and debugging
* Fix building and debugging in Windows
* Move to contrib folder and add instructions
2017-09-12 20:27:44 +08:00
Lauris BH and GitHub
8c3a2e817b
Add missing fixture to clean gpg_key table ( #2494 )
...
* Add missing fixture to clean gpg_key table
* Fix possible too fast request execution in timetracker start/stop test
2017-09-12 13:54:45 +03:00
Lauris BH and Lunny Xiao
a569d3dedc
Fix migration from pre-v15 to 1.2.0 ( #2460 )
2017-09-05 08:28:06 +08:00