Commit graph

2147 commits

Author SHA1 Message Date
Marcin Kuzminski
758d34b966 docs: added gzip into static files for nginx 2017-10-05 09:23:33 +02:00
Marcin Kuzminski
724f376e7f docs: added 502 page instructions for nginx and apache 2017-10-04 13:11:04 +02:00
Marcin Kuzminski
862e0c122b commits: hide evolve commits. Fixes #5392 2017-10-03 16:37:39 +02:00
Marcin Kuzminski
bab4242396 user-groups: fix potential problem with group sync of external plugins.
- when using external plugin we used to check for a parameter that set the
sync mode. The problem is we only checked if the flag was there. So
toggling sync on and off set the value and then left the key still set
but with None. This confused the sync and thought the group should be
synced !
2017-09-29 21:40:06 +02:00
Marcin Kuzminski
78dae50c63 auth: add more login when performing sync of user groups. 2017-09-29 21:36:23 +02:00
Marcin Kuzminski
cf61eeac12 user sessions: get ability to count memcached sessions 2017-09-29 12:59:44 +02:00
Marcin Kuzminski
f445addfdd vcs: reduce sql queries used during pull/push operations. 2017-09-28 21:45:19 +02:00
Marcin Kuzminski
84564f6aba tests: make the routing link tests retry connections. Reduced test failures 2017-09-28 19:35:58 +02:00
Marcin Kuzminski
4718f3cec9 integrations: expose EE integrations as dummy objects to show
what EE edition have.
2017-09-28 18:04:53 +02:00
Marcin Kuzminski
d35f866e04 webhook: add possibility to specify username and password during a call. 2017-09-28 18:22:57 +02:00
Marcin Kuzminski
929184f386 webhook: improve spelling and help text. 2017-09-28 14:24:43 +02:00
Marcin Kuzminski
5fc9f7567b hooks: added debug logs. 2017-09-28 22:14:43 +02:00
Marcin Kuzminski
a00cc457a9 ssh-keys: expose last access time on admin summary page for SSH keys. 2017-09-27 22:21:04 +02:00
Marcin Kuzminski
0342b09c66 dependencies: bumped supervisor to 3.3.3.
- keep version consistent with rhodecode control
2017-09-27 22:20:04 +02:00
Marcin Kuzminski
6eac893f8f changelog: fix consistency of returned data to 2 element tuple. 2017-09-27 17:26:07 +02:00
Marcin Kuzminski
3783c23d90 changelog: only load graph data when showing changelog for both commit and commit loaded via ajax chunks. 2017-09-27 13:28:45 +02:00
Marcin Kuzminski
3718a47d3f changelog: fix and optimize loading of chunks for file history.
- load-next/prev wasn't working
- make sure pagination works as expected
- speed up certain actions by pre-loading more attributes
2017-09-27 13:21:57 +02:00
Marcin Kuzminski
441639db30 style: optimized <code> element fonts. 2017-09-27 12:14:05 +02:00
Marcin Lulek
725145927b security: limit the maximum password lenght to 72 characters to prevent possible
server side resource consumption attack.

- bcrypt heavy computation can lead to DOS using a very long password .eg 10**8 lenght.
- we allowed this on registration or on password update
2017-09-27 10:52:17 +02:00
Marcin Kuzminski
d33953ef3c codemirror: added simple mode plugin required for certain code modes. 2017-09-26 13:06:40 +02:00
Marcin Kuzminski
4291c5fccd gists: add copy url to clipboard helper icon. 2017-09-26 12:47:13 +02:00
Marcin Kuzminski
0459d08860 config: updated .ini files. 2017-09-25 19:33:16 +02:00
Marcin Kuzminski
59ed8f2d47 changelog: fix url generation for file changelog and ensure
http redirect works as expected for unfound nodes.
2017-09-25 13:55:31 +02:00
Marcin Kuzminski
897b877309 js: organized and updated JS packages.
- moved certain embeded files to be tracked via node2nix
- bumped few libraries, jquery to 1.11.3
- bumped moustetrap to 1.6.1
2017-09-25 13:25:08 +02:00
Marcin Kuzminski
09c537c0fd white-list-access: improved UI. 2017-09-22 00:23:19 +02:00
Marcin Kuzminski
2d3616b0c4 gists: allow copy content to clipboard 2017-09-22 00:04:31 +02:00
Marcin Kuzminski
2a06b6b96d diffs: show copy-to-clipboard next to diff files 2017-09-21 23:29:44 +02:00
Marcin Kuzminski
e6fffe4b97 binaries: cleanup new upcomming rc-* commands that will replace paster * commands from pylons 2017-09-21 21:45:01 +02:00
Marcin Kuzminski
a9fc01d079 repo-auth-tokens: UX, set and disable to VCS scope if selected an repo from select2 2017-09-21 20:12:13 +02:00
Marcin Kuzminski
79c8fadc26 repo-data: fixed missing parameter we used to propagate JS with.
- was breaking the repo selectors
2017-09-21 19:46:27 +02:00
Marcin Kuzminski
3332793d91 error-page: use custom causes for 500+ errors 2017-09-21 17:09:53 +02:00
Marcin Kuzminski
53a7edb58c auth: because we use 404 for access denied too. Show proper message about it in error page 2017-09-21 17:04:15 +02:00
Marcin Kuzminski
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +02:00
Marcin Kuzminski
37ef509c3f tests: fixed some more test issues during stress tests runs. 2017-09-21 11:52:32 +02:00
Marcin Kuzminski
a8d0784226 tests: fixed tests for random dict order could sometimes break the tests 2017-09-20 23:33:29 +02:00
Marcin Kuzminski
30a23f9ca6 audit-logs: ensure nullable FK IDs for mysql 2017-09-21 13:19:38 +02:00
Marcin Kuzminski
b95e835ebb audit-logs: allow showing individual entries for audit log. 2017-09-21 16:47:10 +02:00
Marcin Kuzminski
cb071ab951 user-groups: use request partial renderer and not the pylons one. 2017-09-20 20:18:53 +02:00
Marcin Kuzminski
13e4927d13 logging: use logger_generic in all suitable places, and fix get_current_rhodecode_user()
function to use the new mechanics from pyramid. Fixes #5390
2017-09-20 17:39:46 +02:00
Marcin Kuzminski
24a6e0ad1a user-groups-audit: properly link to user_group when doing api actions
of remove and add an user on user group.
2017-09-20 20:27:28 +02:00
Marcin Kuzminski
bcac21cb46 user-groups-audit: properly register add/delete members on main
edit screen for user group. ref #5390
2017-09-20 17:14:55 +02:00
Marcin Kuzminski
3839c4720e forms: unified usage of h.secure_form. Make sure we ALWAYS pass in
request, and removed redundant 'POST' type.
2017-09-20 16:43:08 +02:00
Marcin Kuzminski
26635ebc3e routing: remove usage of url.current from pylons. 2017-09-20 15:44:49 +02:00
Marcin Kuzminski
2f5d2e7d67 routing: removed more usage of pylons url() objects. 2017-09-20 15:21:03 +02:00
Marcin Kuzminski
b9465d5203 pytest: use ipdb as default --pdb handler 2017-09-20 00:25:28 +02:00
Marcin Kuzminski
b8a108e1d4 sessions: don't use pylons sessions for csrf tokens 2017-09-19 23:29:03 +02:00
Marcin Kuzminski
fdc6e80b7f tests: allow running tests via make file on different databases 2017-09-19 18:50:20 +02:00
Marcin Kuzminski
4679c5bfcb home: removed old pylons routes and convert them to pyramid ops app 2017-09-19 12:47:18 +02:00
Marcin Kuzminski
c81494c245 auth: remove usage of pylons translator 2017-09-19 12:41:53 +02:00
Marcin Kuzminski
ff75d16b20 debugtoolbar: remove pylons debugtoolbar code, as it's no longer needed 2017-09-19 12:36:45 +02:00