Commit graph

388 commits

Author SHA1 Message Date
Marcin Kuzminski
110ea3ebc4 default-reviewers: fixed case of passing wrong info about source repository. 2018-12-06 15:15:51 +01:00
Marcin Kuzminski
f3d3f479b4 code: fixed deprecated octal calls for py3 compat. 2018-11-30 11:49:27 +01:00
Marcin Kuzminski
5dc892c339 auth/security: enforce that external users cannot reset their password. 2018-11-29 19:24:15 +01:00
Marcin Kuzminski
64c5591c2e authentication: allow setting extern type with registration.
- This will allow external identity plugins to define proper externs instead of always
  using "rhodecode" one
2018-11-29 18:13:31 +01:00
Marcin Kuzminski
20e4c82ba5 auth: make the store_user_in_session public, as it's used in external auth plugins. 2018-11-28 13:39:47 +01:00
Marcin Kuzminski
f33e0ddc9f core: change from homebrew plugin system into pyramid machinery.
- it's faster to load
- homebrew system was never used as intended
- it's cleaner CE/EE code this way
2018-11-25 11:56:29 +01:00
Marcin Kuzminski
fcc18a6200 application: re-organize imports for pyramid to prepare code for speedup optimization. 2018-11-24 17:52:21 +01:00
Marcin Lulek
a39b4baf03 system-info: expose base_url 2018-11-22 14:39:33 +01:00
Marcin Kuzminski
e1bbb01dab ldap: adde common ldap-ce na ldap-ee structure, and extend options
- added timeout
- make the code more shared
- allow specification of tls certdir and certfile manually
2018-11-25 18:47:15 +01:00
Marcin Kuzminski
0cc2c2c07d code: code cleanups, use is None instead of == None. 2018-11-21 18:05:27 +01:00
Marcin Kuzminski
23f4646581 reviewers: use target repo owner as default reviewer in case of CE edition.
- Fixes #5515
- This was somehow different than in EE edition
2018-11-21 18:04:29 +01:00
Marcin Kuzminski
80576fb91e svn: split generate and write parts for easier usage in automation scripts. 2018-11-17 12:25:11 +01:00
Marcin Lulek
69b8d6a77f frontend: use webpack instead of vulcanize 2018-10-30 15:24:35 +01:00
Marcin Kuzminski
931f77dea6 channelstream: nicer handle of connection errors for debug. 2018-10-29 09:53:00 +01:00
Marcin Kuzminski
130f8a6964 debug-style: fixed views 2018-10-26 16:25:39 +02:00
Marcin Kuzminski
89625207b0 tests: fixed tests after JS rebuild. 2018-10-25 13:24:45 +02:00
Marcin Kuzminski
68c06918fd processes: show how many workers we have set from configuration. 2018-10-25 11:48:44 +02:00
Marcin Kuzminski
3c385f97b8 permissions: flush members of user groups permissions to clear caches.
- we could get into a state that permissions isn't changed/showed immidiatelly based on the
members of user groups which permissions we change.
2018-10-25 11:20:26 +02:00
Marcin Kuzminski
f0b9af7b4b compare: fixed case of cross repo compare before links not working. 2018-10-24 14:13:47 +02:00
Daniel Dourvaris
07fea8c47c diffs: exclude +/- from diffs generation and make then a non-selectable markers visible only via CSS. 2018-10-23 15:08:18 +02:00
Daniel Dourvaris
94d74336d1 diffs: introducing diff menu for whitespace toggle and context changes 2018-10-23 17:02:26 +02:00
Marcin Kuzminski
175a9b344e rcextensions: new builtin rcextensions.
- ability to expose output to users from rcextensions
- new docs
- linking to the code makes the tests always check the integrity of rcextensions
- added new hook variables and described them to end users
2018-10-23 11:45:45 +02:00
Marcin Kuzminski
797a4ff7ab diffs: sticky top-file bar + context aware file labels.
- when browsing diffs now we show context file path so every time you know what file diff you're seeing
- block file selector on range diffs
- update bower packages
2018-10-16 18:24:44 +02:00
Marcin Kuzminski
9014d9516c pull-requests: allow to show range diff in pr view 2018-10-15 12:44:36 +02:00
Marcin Kuzminski
30782b54db comments: update comments email templates.
- use status prefix
- use more readable texts
2018-10-10 12:36:05 +02:00
Daniel Dourvaris
21e7eef112 vcs: don't use deprecated get_changeset[s] methods. 2018-10-03 16:18:06 +02:00
Marcin Kuzminski
df27625f07 exceptions: use python3 compatible exception handling 2018-10-02 11:03:22 +02:00
Daniel Dourvaris
3801dc220e pyramid: fixed some deprecated calls. 2018-10-01 10:16:57 +02:00
Daniel Dourvaris
1db967ddb0 tests: fixed some pytest deprecated calls, and warnings. 2018-10-01 12:23:47 +02:00
Marcin Kuzminski
3a43ded6b6 hooks: pass in store_path into env for hooks. 2018-09-26 12:14:37 +02:00
Marcin Kuzminski
98ef71f157 diffs: limit commit line context to MAX_DIFF to prevent packetOverflow errors. 2018-09-26 10:23:07 +02:00
Marcin Kuzminski
dffd66bf18 routing: fix default argument mutability. 2018-09-25 14:02:31 +02:00
Marcin Kuzminski
2910f510dc repositories: added option to archive repositories instead of deleting them.
- closes #5493
2018-09-25 17:28:11 +02:00
Marcin Kuzminski
39d181f715 repository: add check preventing of removal of repo with attached pull requests.
- fixes #5493
2018-09-25 12:05:44 +02:00
Marcin Kuzminski
4c45a5dbea users: use new session store for temporary settings for users.
- use for clone url type selection
- use for diffs mode
2018-09-24 23:18:38 +02:00
Marcin Kuzminski
65e339e9fd core: handle edge case requesting matched routes but with hg/svn/git or api context.
- before we error out with 500
2018-09-20 11:47:03 +02:00
Marcin Kuzminski
8d4e2dda3a license: update license metadata and generation code 2018-09-20 21:48:08 +02:00
Marcin Kuzminski
1f39d62f74 comments: use proper auth user for close PR action. 2018-09-18 09:49:18 +02:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +02:00
Marcin Kuzminski
19d4c6901b exc_tracker: allow setting custom store via .ini file
- use safer exc read when listing exceptions.
2018-09-10 22:18:53 +02:00
Marcin Kuzminski
6f0449ad8a maintainance: add repack and fsck for git maintainance execution list. 2018-09-06 17:43:54 +02:00
Marcin Kuzminski
29c0557c16 forks: prevent XSS in datagrid of forks data. 2018-09-03 12:18:46 +02:00
Marcin Kuzminski
0df68f78b5 changelog: escape the graph branch name to prevent XSS. 2018-09-01 02:50:29 +02:00
Marcin Lulek
c1c8c93ea6 exception-tracker: add show-more link. 2018-08-30 12:05:26 +02:00
Marcin Kuzminski
08d3f6b83b branch-permissions: enabled branch permissions checks for SSH backend. 2018-08-29 16:41:52 +02: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
77f19f237a files: added branch permissions checks into web edit operations. 2018-08-28 05:41:54 +02:00
Marcin Kuzminski
e41725c078 branch permissions: added logic to define in UI branch permissions.
- db models
- new permissions pages placeholders
2018-08-28 13:41:30 +02:00
Marcin Kuzminski
a55becaad1 ssh: improve logging, and make the UI show last accessed date for key. 2018-08-29 14:06:51 +02:00
Marcin Kuzminski
b9af4aab18 auth-tokens: abstracted adding token for users into UserModel method for easier usage in scripts, and in future in API. 2018-08-10 15:20:29 +02:00