Commit graph

1730 commits

Author SHA1 Message Date
Marcin Kuzminski
c19a9fc11a system-info: expose the common certificate file path. 2017-05-04 12:30:42 +02:00
Marcin Kuzminski
37094cb9b3 emails: fixed newlines in email templates that can break email sending code. 2017-05-03 18:44:10 +02:00
Marcin Kuzminski
9d45467ca3 emails: make bad headers error show what headers we investigated.
- makes debugging easier.
2017-05-03 18:28:54 +02:00
Marcin Kuzminski
25732899d2 docs: added large header support for Apache 2017-05-02 23:00:09 +02:00
Marcin Kuzminski
e1c2f6b6b6 repo-reviewers: expose a default placeholder on CE edition.
- shows the menu consistent
- adds preview of prominent EE feature
2017-04-28 17:20:38 +02:00
Marcin Kuzminski
ec67f1c7db repo-maintainance: removed NotAnonymous becuase it's already protected by admin permissions. 2017-04-28 13:57:59 +02:00
Marcin Kuzminski
4bc1c16840 repo-strip: rename file to adjust same naming as other views.
- removed NotAnonymous becuase it's already protected by admin permissions.
2017-04-28 13:57:23 +02:00
Marcin Kuzminski
3ec15e8b8f repo-caches: moved view into pyramid. 2017-04-28 13:56:37 +02:00
Marcin Kuzminski
3680a0f227 tests: fixed tests for new repo settings
- added settings update missing tests
- fixed id generation to some tests for better display
2017-04-28 12:36:37 +02:00
Marcin Kuzminski
196813bfdd tests: added special no-newline test name generator 2017-04-27 21:37:53 +02:00
Marcin Kuzminski
dfec9d48a2 repo-schema: added a custom schema for repo settings.
- deform ready
- using new uri validators
- added proper widgets to handle deform
2017-04-28 12:03:35 +02:00
Marcin Kuzminski
a23b33ee9c repo-schema: made changes to allow deform usage. 2017-04-26 16:40:47 +02:00
Marcin Kuzminski
0a781e9828 validation-schemas: added convert to opt group utility. 2017-04-26 16:42:13 +02:00
Marcin Kuzminski
b26439b549 repo-settings: converted repo settings to pyramid
- switched to pyramid views
- switched to deform
- validation shares the similar schema as API
- added new audit-log
2017-04-28 12:39:24 +02:00
Marcin Kuzminski
8bf9c820c0 forms: added RcForm with custom error reporting widget. 2017-04-26 16:39:50 +02:00
Marcin Kuzminski
252dc7e9bf repo-view: handle empty repo or missing requirements in base view for repositories. 2017-04-27 15:29:07 +02:00
Marcin Kuzminski
21513d9b08 deform: fixed selecting of default values for select2 widget. 2017-04-26 14:43:01 +02:00
Marcin Kuzminski
b7382fcefb dependencies: bumped deform to 2.0.4 2017-04-25 09:51:13 +02:00
Marcin Kuzminski
175cd5d4db audit-logs: log user agent for push/pull. 2017-04-28 21:03:00 +02:00
Marcin Kuzminski
46dcc2730a hooks: expose user agent in the variables submitted to pull/push hooks. 2017-04-28 21:21:05 +02:00
Marcin Kuzminski
3262bcc634 integrations: expose actor user_id, and username in webhook integration templates args.
ref #5287
2017-04-28 20:05:15 +02:00
Marcin Kuzminski
02ed0adea3 audit-logs: change v1 data text to less intrusive. 2017-04-28 10:56:42 +02:00
Marcin Kuzminski
b21017e30d docs: updated docs about configuration of vcsserver. 2017-04-27 20:28:54 +02:00
Marcin Kuzminski
99fe6237eb pull-requests: comments don't order by versions since we anyway order by unique number. 2017-04-27 18:40:54 +02:00
Marcin Kuzminski
721d155fa9 pull-requests: make sure we process comments in the order of IDS when
linking them.

- random order could be problematic
2017-04-27 18:06:51 +02:00
Marcin Kuzminski
175f8f5347 ux: make url on summary screen stretch to fill in space. 2017-04-27 12:35:28 +02:00
Marcin Kuzminski
13ef2d8dbf audit-logs: present action data as formatted JSON. 2017-04-27 12:12:30 +02:00
Marcin Kuzminski
acb796c723 audit-logs: store user agent for login/logout actions. 2017-04-27 12:12:05 +02:00
Marcin Kuzminski
39d7def8ce audit-logger: store some user details on we have proper object of auth-user. 2017-04-27 12:10:26 +02:00
Marcin Kuzminski
546bc59682 tests: fixed some tests after new audit-logger 2017-04-27 10:36:32 +02:00
Marcin Kuzminski
2e6238eb76 audit-logs: added web strip command to audit logs 2017-04-26 23:21:12 +02:00
Marcin Kuzminski
5664a5498d strip: cleanup code. 2017-04-26 23:15:50 +02:00
Marcin Kuzminski
18fc345e5d audit-logs: use new v2 api on login/logout/password reset views. 2017-04-26 23:05:48 +02:00
Marcin Kuzminski
5369a394e0 user-audit: share same template for rendering audit logs between user and admin views. 2017-04-26 23:05:03 +02:00
Marcin Kuzminski
a956ed9350 audit-journal: support v2 api to browse audit events. 2017-04-26 22:53:00 +02:00
Marcin Kuzminski
23f3d5fbdf audit-logs: introducing new audit logger for actions.
- api v2
- gathers more actions such as dump of user/action data
2017-04-26 23:19:45 +02:00
Marcin Kuzminski
9ab3e7057a ux: show that user is disabled when editing him. 2017-04-25 08:45:07 +02:00
Marcin Kuzminski
d1c88bb315 dependencies: fixes iron-ajax hash.
- somehow it was changed. Need to fix it for CI to work.
2017-04-27 10:40:52 +02:00
Marcin Kuzminski
8b1cc3ce9d user: simplify fetching of personal repository groups.
- we don't rely on auth user no need to fetch permissions
- for disabled users this fixes a bug that repo group wasn't displayed
2017-04-25 08:39:18 +02:00
Marcin Kuzminski
335ffaa6fd users: personal repo-group shouldn't be available for default user. 2017-04-25 08:38:38 +02:00
Marcin Kuzminski
ecae23eca6 routes: updated JS routes after moving search into pyramid. 2017-04-24 23:21:40 +02:00
Marcin Kuzminski
9ee8d218a2 files: fix problem with specifing custom path for filename.
- problem was in html where the filename was specified 2x.
2017-04-24 23:19:10 +02:00
Marcin Kuzminski
dabc592890 pull-request: fixed typo in wrong ref type error, and added which
refs are actually allowed.
2017-04-24 16:36:28 +02:00
Marcin Kuzminski
e5360e80e4 pull-reqests: workflow, change who can close a PR, it's only super-admin
owner or person who can merge.

- before it was every reviewer can close. Which really doesn't make sense.
2017-04-24 10:25:16 +02:00
Marcin Kuzminski
47f72d2b19 search: moved search into pyramid views. 2017-04-21 17:10:26 +02:00
Marcin Kuzminski
8f5b7122aa search: added basic example query block. 2017-04-21 13:34:40 +02:00
Marcin Kuzminski
6e89c84604 file-upload: allow specfing custom filename for uploaded archives. 2017-04-21 06:02:15 +02:00
Marcin Kuzminski
aa53b82e49 vcs-settings: moved creation of largefiles default dirs into vcs settings view.
- couldn't find a better place to do this
- check is cheap, and moving it out from AppStart to here makes more sense
- users need to enable largefile form this view, so enforcing defaults dirs
makes most sense right here in this view.
2017-04-20 23:56:32 +02:00
Marcin Kuzminski
1ee433edf9 core: add possibility to skip write of metadata by defining metadata.skip key. 2017-04-20 23:43:46 +02:00
Marcin Kuzminski
022732590f core: remove writing of largeobject dirs on AppStartup.
- this makes celery much slower
- creates a database connection on APP start which again makes celery explode sometimes
- making a db connection on AppCreation could lead to some problems in future.
2017-04-20 23:39:39 +02:00