Commit graph

18 commits

Author SHA1 Message Date
Marcin Kuzminski
1bfda61f13 api: fixed SVN raw diff export. The API method was incosistent, and used different logic.
Now it shares the same code as raw-diff from web-ui
2020-10-15 09:21:49 +02:00
Marcin Kuzminski
7e4cac8421 repo-api: allow repo admins to get/set settings. Previously it was only super-admins that could do that, and it's wrong. 2020-08-13 11:11:24 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
bd9e5dc1c3 api: exposed modified added/modified/deleted functions of commit to return only paths.
This combined with full text search build for certain repositories that each commit
contains lots of file changes results in *huge* (10x in some cases) performance gain.
2020-03-16 15:09:45 +01:00
Marcin Kuzminski
abcf0ed683 get-perms-api-helper: show nicer message when prefix is specified to help in API usage. 2020-01-14 16:15:13 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
861720334b release: merge back stable branch into default 2019-01-02 17:04:25 +01:00
Marcin Kuzminski
8affc5f5be app: dropped deprecated controllers to view_utils which are actually proper name 2019-01-01 21:54:18 +01:00
Marcin Kuzminski
1d027eb16a pull-requests: validate ref types for pull request so users cannot provide wrongs ones. 2018-12-13 22:02:46 +01:00
Marcin Kuzminski
6458ef9105 pull-requests: add merge validation to prevent merges to protected branches. 2018-08-28 20:24:40 +02:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
db64ea8c81 api: use consistent way to extract users, repos, repo groups and user groups by id or name.
- makes usage of Number vs String to differenciate if we pick objec ID or it's name
this will allow easy fetching of objects by either id or it's name, including numeric string
name
- fixes #5230
2017-03-13 12:56:22 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
96d1cede07 api-utils: added helpers flag to extrac boolean flags from Optional parameters. 2016-12-29 13:45:11 +01:00
Marcin Kuzminski
2a8b58692d api: refactor auth helpers to reflect the action they do.
- those validators verify and throws expcetions, which is now reflected in the name
2016-11-23 17:23:41 +01:00
Marcin Kuzminski
b1aa2ee914 api-utils: added helper to validate repository-group access permissions. 2016-11-23 14:49:24 +01:00
Marcin Kuzminski
198c6fda61 gists: use colander schema to validate input data.
- brings consistent validation acros API and web
- use nicer and stricter schemas to validate data
- fixes #4118
2016-07-31 20:11:12 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00