Commit graph

4050 commits

Author SHA1 Message Date
Marcin Kuzminski
697ce81998 api: allow extra recipients for pr/commit comments api methods
- adds some sort of CC functionality for notification
- allows sending emails with notifications to people who are not commit messages, or pr reviewers e.g project manager etc.
2019-11-07 22:29:39 +01:00
Marcin Kuzminski
bd7a7f7bc1 tests: specify custom order of tests for faster feedback and execution of slower tests at the end. 2019-11-07 18:13:33 +01:00
Daniel Dourvaris
3027943bdf hovercards: enable hovercards on parsed commits references. 2019-11-07 14:10:03 +01:00
Daniel Dourvaris
51f357d869 hovercards: allow hovercards on parsed !PR patterns.
- in addition expose server info so we can generate fully qualified urls.
2019-11-07 13:58:59 +01:00
Marcin Kuzminski
20e38aff3f error-document: embeed ICON so we don't hit server on error page. 2019-11-07 13:59:22 +01:00
Marcin Kuzminski
1addb7b6e2 security: fixed issues with exposing repository names using global PR redirection link
logic.

- Since redirect was created to repository which linked to the PR, users who
didn't have permissions to those repos could still see the name in the url generated.
2019-11-07 13:21:42 +01:00
Marcin Kuzminski
de0032cf5d files: don't expose copy content if this is a binary file 2019-11-06 14:25:59 +01:00
Daniel Dourvaris
f34ef035b6 comments: enable urlify functions on comments in repo/pr scopes.
- allows render of !NUM patterns as well as issue tracker patterns.
2019-11-06 14:07:09 +01:00
Daniel Dourvaris
ad7ff3bf73 patterns: enabled global !NUM match for new style pull-request references. 2019-11-06 13:56:26 +01:00
Daniel Dourvaris
b807af96dd header-labels: fixed small spacing issues 2019-11-06 12:43:38 +01:00
Daniel Dourvaris
836aa041be pull-requests: change the naming from #NUM into !NUM.
- We'll later on enable global pattern matching and from now on refercing a pr should be
used with an ! not to confuse #NUM which is tickets/issues
2019-11-06 12:24:42 +01:00
Daniel Dourvaris
453a6ee9a2 emails: updated emails design and data structure they provide.
- more consistent UI for emails
- nicer formatting, plaintext emails
- major cleanup and fixes lots of incosistencies
- additionally debug-style now allows to test emails in browser for faster development
2019-11-05 19:07:09 +01:00
Marcin Kuzminski
a5dd4ceb99 diffs: toggle race condition on sticky vs wide-diff-mode that caused some display artifacts 2019-11-05 09:30:03 +01:00
Marcin Kuzminski
491d84ca22 cache: bump file-tree caches to next iteration 2019-11-04 23:05:07 +01:00
Marcin Kuzminski
cac6e51396 dev-setup: pin to nix 2.0.4 by using older installer. 2019-11-04 16:22:03 +01:00
Marcin Kuzminski
484c03ac97 502-template: embed favicon since 502 page cannot access it. 2019-11-04 16:21:42 +01:00
Marcin Kuzminski
db66dae0fa tooltips: small fixes/tests fixes. 2019-11-04 10:53:09 +01:00
Marcin Kuzminski
1e60975f0e hovercards: added commit hovercard for files, and dashboard views. 2019-11-03 22:02:17 +01:00
Marcin Kuzminski
7716757866 js: tooltip allow full html mode using a base64 encoded data property. 2019-11-03 16:08:53 +01:00
Marcin Kuzminski
d1f9a98f57 js: remove rc-toggle 2019-11-03 16:08:00 +01:00
Marcin Kuzminski
c893a24050 notifications: removed polymer from notifications page. 2019-11-02 21:59:35 +01:00
Marcin Kuzminski
bdd13e6cb4 my-account: moved email closer to profile as it's similar data just moved outside. 2019-11-02 21:58:54 +01:00
Marcin Kuzminski
9ea1969946 files: added copy content action 2019-11-01 00:11:10 +01:00
Marcin Kuzminski
29038019e8 hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI 2019-10-31 17:52:42 +01:00
Marcin Kuzminski
66317255dd user/user-groups: render description in unified way with support of metatags 2019-10-31 17:58:30 +01:00
Marcin Kuzminski
9b9e7d2a5a users: description edit fixes
- tests
- added metatags info
2019-10-31 11:22:32 +01:00
Marcin Kuzminski
8a683cb244 js: fixed usage of minimized JS 2019-10-31 15:13:08 +01:00
Marcin Kuzminski
cd0bf47064 users: add edition of description in admin view for users 2019-10-31 10:28:13 +01:00
Marcin Kuzminski
521ec573b6 users: added description for users. 2019-10-31 10:23:54 +01:00
Marcin Kuzminski
c2616abdb2 js: use minimized version by default 2019-10-31 10:23:24 +01:00
Marcin Kuzminski
49a60064cc ignore: skip minimized scripts 2019-10-31 10:22:54 +01:00
Marcin Kuzminski
e350c718ba user: speed up data propagatation for auth users by pre-filling only selected variables
skipping some not-required and using faster update method (not setattr())
2019-10-30 14:49:42 +01:00
Marcin Kuzminski
898c62f70d js: produce minimized JS file as well as bundle 2019-10-30 14:13:49 +01:00
Marcin Kuzminski
f86c6aaa61 profiles: cleanup profile pages to not include side nav bar which didn't gave any purpose. 2019-10-30 11:10:16 +01:00
Marcin Kuzminski
52f16be4b7 dependencies: bumped some loosely pinned deps
- pinned contextlib2==0.6.0
- updated prompt_toolkit-1.0.18
- updated traitlets-4.3.3
- updated ipaddress-1.0.23
2019-10-30 10:51:15 +01:00
Marcin Kuzminski
f3c3076ee5 release: merge back stable branch into default 2019-10-28 16:52:47 +01:00
Marcin Kuzminski
30bc0d0baf Added tag v4.17.4 for changeset e3de8c95baf8 2019-10-28 13:37:10 +00:00
Marcin Kuzminski
43ded5ff8f release: Finish preparation for 4.17.4 2019-10-28 13:37:09 +00:00
Marcin Kuzminski
1e1709fa71 release: updated pip2nix output for 4.17.4 2019-10-28 13:37:07 +00:00
Marcin Kuzminski
7e8cfeb4f6 release: Start preparation for 4.17.4 2019-10-28 13:30:37 +00:00
Marcin Kuzminski
e654d4bbf6 docs: added release docs for 4.17.4 2019-10-28 11:17:55 +01:00
Daniel Dourvaris
d60fd3ca7a diffs: handle very odd case of binary, corrupted diffs which crashed the diff parser. 2019-10-28 09:21:25 +01:00
Daniel Dourvaris
ada8470b4c diffs: handle very odd case of binary, corrupted diffs which crashed the diff parser. 2019-10-28 09:21:25 +01:00
Marcin Kuzminski
8753de9b11 diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation.
In some cases when there are no longer any files this caused error since filediff wasn't present.
In addition this generated wrong ids since it used a last-defined attribute on a for loop.

Fixes #5567
2019-10-28 11:09:38 +01:00
Marcin Kuzminski
006a425067 tests: fixed PR tests after some code changes. 2019-10-28 14:16:40 +01:00
Marcin Kuzminski
26be0cd3c6 file-store: small code cleanups. 2019-10-25 12:37:00 +02:00
Marcin Kuzminski
8b8d8ab401 artifacts: handle detach/delete of artifacts for users who own them and are to be deleted.
- added relationships that cleanup properly
- cleanup code for detach/delete on users
2019-10-24 17:05:07 +02:00
Marcin Kuzminski
40960af53f db: fixed unique constraints for mysql with it's size limits. 2019-10-24 10:21:54 +02:00
Marcin Kuzminski
5e1dcce38f tests: fixed some warnings on tests 2019-10-23 14:57:44 +02:00
Marcin Kuzminski
4b7d9933ed tests: added some more artifact access tests. 2019-10-23 13:45:48 +02:00