Lauris BH
e893aced89
Allow adding collaborators with (fullname) ( #3103 ) ( #3168 )
...
* Allow adding collaborators with (fullname)
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
* Refactor username suffix to utils pkg
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>
2017-12-12 15:23:08 +08:00
Lunny Xiao
81fd8c8fb6
Comment backport test and add missing drone test ( #3127 )
...
* comment backport test since the test reference many changes
* fix missing drone test on release/*
* remove test coverage on release/*
2017-12-09 12:16:59 +02:00
Ethan Koenig
ec6718ef40
Sanitize logs for mirror sync ( #3057 , #3082 ) ( #3078 )
...
* Sanitize logs for mirror sync
* Fix error message sanitiziation (#3082 )
2017-12-08 17:12:47 +02:00
Ethan Koenig
8f7054a864
Fix missing branch in release bug ( #3108 ) ( #3117 )
2017-12-08 16:01:46 +08:00
Lunny Xiao
3d688bd2cc
Fix missing password length check when change password ( #3039 ) ( #3071 )
...
* fix missing password length check when change password
* add tests for change password
2017-12-03 09:49:25 +08:00
Lauris BH
8cdd5a33cd
Memory usage improvements ( #3013 ) ( #3028 )
...
* govendor update code.gitea.io/git
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Greatly improve memory usage
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
2017-11-29 16:29:37 +02:00
Lauris BH
992ee21a29
Set OpenID support on by default when installing new instance ( #3010 ) ( #3027 )
2017-11-29 21:32:20 +08:00
Lauris BH
460d0d9077
Fix go-get, src and raw urls to new scheme ( #2978 ) ( #2986 )
2017-11-27 10:02:08 +08:00
Lunny Xiao
9c07d909e6
Fix error when add user has full name to team ( #2973 ) ( #2975 )
...
* fix error when add user has full name to team
* add comment for extra uname check
2017-11-26 19:53:07 +02:00
Ethan Koenig
93d1ec4514
Fix files/commits of merged PRs ( #2970 )
2017-11-25 21:38:15 +02:00
Ethan Koenig
f26f4a7e01
Update swagger documentation ( #2899 )
...
* Update swagger documentation
Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation
* Restore delete comments
2017-11-13 09:02:25 +02:00
Lauris BH
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
Lunny Xiao
cdc4600725
Fix fork repository cycle to self ( #2860 )
...
* fix fork repository cycle to self
* rename testForkRepo to traverseParentRepo
2017-11-06 12:12:55 +08:00
Ethan Koenig
d91fe5254d
Fix ignored errors in API route ( #2850 )
...
* Fix ignored errors in API route
2017-11-04 19:10:01 +01:00
Lauris BH
08b124dd47
Fix API raw requests for commits and tags ( #2841 )
2017-11-04 01:23:59 +02:00
Guillaume Dube
8798cf4e3b
Set session and indexers' data files rel to AppDataPath ( #2192 )
...
* Set session and indexers' data files rel to AppDataPath
The setting AppDataPath is now relative to the working directory.
The session svc's PROVIDER_CONFIG now defaults to AppDataPath/data/sessions.
The issue indexer's IssuePath now defaults to AppDataPath/indexers/issues.bleves.
* fix bug
2017-11-03 10:56:20 +02:00
Cum Gun
eecaba2031
Configurable SSH key exchange algorithm and MAC suite ( #2806 )
2017-11-02 23:26:41 +08:00
Ethan Koenig
e6a97b6675
Use api.TrackedTime in API ( #2807 )
...
* Use api.TrackedTime in API
* APIFormat() method
* Rename function
2017-11-01 10:25:14 +08:00
Ethan Koenig
513375c429
Make URL scheme unambiguous ( #2408 )
...
* Make URL scheme unambiguous
Redirect old routes to new routes
* Fix redirects to new URL scheme, and update template
* Fix branches/_new endpoints, and update integration test
2017-10-30 10:04:25 +08:00
Ethan Koenig
5866eb2321
Code/repo search ( #2582 )
...
Indexed search of repository contents (for default branch only)
2017-10-27 09:10:54 +03:00
Morlinest
ddb7f59ef4
Add search mode option to /api/repo/search ( #2756 )
...
* Add repo type option to /api/repo/search
* Add tests and fix result of collaborative filter in specific condition
* Fix/optimize search & tests
* Improve integration tests
* Fix lint errors
* Fix unit tests
* Change and improve internal implementation of repo search
* Use NonexistentID
* Make search api more general
* Change mirror and fork search behaviour
* Fix tests & typo in comment
2017-10-27 00:16:13 +03:00
Lauris BH
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
Bwko
3ab580c8d6
Add branch overiew page ( #2108 )
...
* Add branch overiew page
* fix changed method name on sub menu
* remove unused code
2017-10-26 08:49:16 +08:00
Lunny Xiao
178bd498b9
fix imports
2017-10-25 13:30:29 +08:00
Lunny Xiao
219ca5cadb
some fixes
2017-10-25 13:26:14 +08:00
Lunny Xiao
6eeadb2082
Hide unactive on explore users and some refactors ( #2741 )
...
* hide unactive on explore users and some refactors
* fix test for removed Organizations
* fix test for removed Organizations
* fix imports
* fix logic bug
* refactor the toConds
* Rename TestOrganizations to TestSearchUsers and add tests for users
* fix other tests
* fix other tests
* fix watchers tests
* fix comments and remove unused code
2017-10-24 20:36:19 +03:00
Antoine GIRARD
619b9b5547
Move swagger-ui under /api/v1 ( #2746 )
...
* Move swagger interface under /api/v1
* Update swagger-ui
* Add /api/swagger and prepare for multiple api version
* Update test links
* Fix footer link
2017-10-21 22:05:50 +08:00
spacetourist
7131c7d40d
Configurable SSH cipher suite ( #913 )
...
* Configurable SSH cipher suite
* Update configuration file comment
* Add default in settings loading code
* Fix fmt and log messsage
* Remove default from code as this could probably might not be good idea
2017-10-21 16:13:41 +03:00
Morlinest
ccd3577970
Fix repository search function ( #2689 )
...
* Fix and remove FIXME
* Respect membership visibility
* Fix/rewrite searchRepositoryByName function
* Add unit tests
* Add integration tests
* Remove Searcher completely
* Remove trailing space
2017-10-17 23:20:22 +08:00
Jonas Franz
f4190f8df8
Render plain text README.txt monospaced ( #2721 )
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2017-10-17 02:17:22 +03:00
Lunny Xiao
9e865cee67
Merge password and 2fa page on user settings ( #2695 )
...
* merge password and 2fa page on user settings
2017-10-16 11:14:12 +02:00
Lauris BH
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
Lunny Xiao
a75d5c72bb
Fix plain readme didn't render correctly on repo home page ( #2705 )
...
* fix plain readme didn't render correctly on repo home page
* fix missing render
* remove unused template variables
2017-10-16 09:04:34 +02:00
Lauris BH
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
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
David Schneiderbauer
4ccb0fe338
fix .netrc authentication ( #2700 )
...
* provide both possible authentication solutions
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-10-15 18:35:43 +03:00
Lauris BH
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
32ca299650
Remove direct user adding to organization members ( #2641 )
2017-10-15 10:24:24 +08:00
Lauris BH
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
Morlinest
dff26e25ca
Remove redudant functions and code ( #2652 )
...
* Remove redudant functions and code
2017-10-10 22:37:18 +02:00
David Schneiderbauer
0cef8ce192
fix panic on gogs webhook creation ( #2675 )
...
* fix panic on gogs webhook creation
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* fix panic in gogs webhook edit
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-10-08 19:37:31 +08:00
Kazuki Sawada
43253202e9
Change default sort order ( #2647 )
...
* sort repositories by `updated_unix` in Explore
* Fix UI problem
* Added missing sort order "newest"
* Change default sort order
* fmt
2017-10-05 08:02:43 +03:00
Kazuki Sawada
e1266a19c8
Change pull description text ( #2075 ) ( #2646 )
...
* Change pull description text
* move duplicated code into helper function
2017-10-04 20:35:01 +03:00
Morlinest
a04718a2a6
Remove repo unit index ( #2621 )
...
* Remove repo unit index
* Fix sqlite
2017-10-02 23:22:25 +03:00
Morlinest
1ad902d529
Fix implementation of repo Home func ( #2601 )
...
* Fix implementation of repo Home func
* Make fixture changes for testing
2017-10-01 16:50:56 +03:00
Morlinest
bae9cbce9c
Remove redudant CheckUnit calls in router ( #2627 )
2017-09-30 12:04:16 +08:00
Morlinest
cc84ca40d7
Remove redudant issue LoadAttributes() calls ( #2614 )
2017-09-27 09:41:52 -03:00
Lunny Xiao
2ef8b8bcbe
fix go get subpackage bug ( #2584 )
...
* fix go get subpackage bug
* merge the duplicated funtions
2017-09-23 16:24:24 +03:00
Morlinest
9a75a5d59b
Use custom type and constants to hold order by options ( #2572 )
2017-09-22 15:53:21 +03:00
Lunny Xiao
1be2b4a262
fix readme view bug ( #2566 )
2017-09-21 21:24:19 +03:00