Marcin Kuzminski
da773459ae
comments: fix extracing auth_user from the passed in objects. Before if auth_user is empty we could relly on INT or STR passed in
2018-09-17 19:05:34 +02:00
Marcin Kuzminski
1a717208f4
audit-logs: store properly IP and user for certain comments types.
...
- before mostly IP could be missing from audit log data.
2018-04-26 00:59:07 +02:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
90c9124213
events: properly refresh comment object to load it's relationship.
...
This prevents from issues of reading associated statuses of comment during
a partial commit (using Session().flush)
- Fixes #5412
2018-01-06 12:08:49 +01:00
Marcin Kuzminski
90422773df
pull-request: verify resolve TODO comment needs to be bound to the same PR as we're calling
2017-12-06 20:06:28 +01:00
Marcin Kuzminski
5f9ae2ae11
pylons: remove pylons as dependency
...
- dependencies: bumped:
-setuptools-scm==1.15.6
-celery==4.1.0
-kombu==4.1.0
-pytz==2017.3
-Routes==2.4.1
Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
2f5d2e7d67
routing: removed more usage of pylons url() objects.
2017-09-20 15:21:03 +02:00
Marcin Kuzminski
2b15a05b94
comments: remove usage of pylons global config.
2017-08-04 14:29:09 +02:00
Marcin Kuzminski
b203d5f208
pull-requests: migrated code from pylons to pyramid
2017-07-27 11:30:55 +02:00
Marcin Kuzminski
fa5dd62880
channelstream: push events with comments on single commits.
...
- use wrapper for posting to simplify the code.
2017-07-26 18:04:56 +02:00
Marcin Kuzminski
aa3bffd198
pull-requests: prepare the migration of pull request to pyramid.
...
- this is half the code because of problems found during porting
- partially moved the urls, and flipped the logic into pyramid code
- needs more work in core for full switch.
2017-06-19 13:25:15 +02:00
Marcin Kuzminski
926a79e98e
audit-logs: implemented pull request and comment events.
2017-06-17 15:22:50 +02:00
Marcin Kuzminski
47f9f32ad9
events: expose permalink urls for different set of object.
...
- permalink url should provide a non-changeable url that can be used in
external sources with guarantee of beeing always valid.
2017-06-08 16:11:33 +02:00
Marcin Kuzminski
53b4ac98f8
repo-summary: re-implemented summary view as pyramid.
...
- changed exception handler, to now work in pure pyramid mode
- changed missing requirements logic on repo based views that require vcs-connection
2017-06-07 13:23:21 +02:00
Marcin Kuzminski
8c73a665d3
emails: added note types into emails. Fixes #5221
2017-02-17 17:15:05 +01:00
Marcin Kuzminski
9c43777217
commit-page: show unresolved TODOs on commit page below comments.
2017-02-01 13:09:54 +01:00
Marcin Kuzminski
e63934c25b
todos: all todos needs to be resolved for merge to happen.
...
This will prevent the outdated todos beeing automatically marked as solved becuase of bigger diff
changes. It's better to mark commits quickly as resolved instead of potentially have unresolved todos hidden
because of invlidation logic.
2017-01-19 13:57:46 +01:00
Marcin Kuzminski
e5f1efc7f7
pull-request: introduced new merge-checks.
...
- merge checks show nicer UI for status of merge approval inside PR
- merge checks now also forbid a merge if TODO notes are present
- use global refresh merge check when submitting comments. It
no longer required page reload when submitting status change.
2017-01-16 22:58:44 +01:00
Marcin Kuzminski
e8447b4107
comments: use unified aggregation of comments counters.
...
- use 1 source of count and display objects
- scroll to for hidden comments will show them before scroll
- properly show how many comments we're displaying for each version
2017-01-16 18:12:38 +01:00
Marcin Kuzminski
8f1db17117
comments: allow submitting id of comment which submitted comment resolved.
...
- use common template for inject forms
- cleanup of JS models, bind class of Form into the form itself
2017-01-11 15:05:33 +01:00
Marcin Kuzminski
24ef7171f8
comments: add comments type into comments.
2017-01-11 14:46:29 +01:00
Marcin Kuzminski
b52808ca95
comments: renamed ChangesetCommentsModel to CommentsModel to reflect what it actually does.
...
It's not limited to Changesets/Commits.
2017-01-09 17:52:00 +01:00
Marcin Kuzminski
828c060bdd
comments: changed signature of create method of ChangesetComment.
...
- use commit_id instead of revision
- add placeholder for comment_type
2017-01-09 17:46:53 +01:00
Marcin Kuzminski
fcc027c282
license: updated copyright year to 2017
2017-01-02 09:30:39 +01:00
Marcin Kuzminski
3761402390
pull-requests: updated versioning support.
...
- each pr version connects invalidated comments to it
- in version list we show number of comments made on each version
- show all outdated comments even for deleted files
- linkify outdated comments to first one
- added auto-collapse of commit range if they are more than 5
- styling changes, wide mode improvements
2016-12-30 12:11:15 +01:00
Marcin Kuzminski
1d37334326
inline-comments: added helper to properly count inline comments.
2016-12-06 00:18:07 +01:00
Marcin Kuzminski
05841262aa
outdated comments: flip the logic of comment invalidation to show comments if invalidation
...
is turned on.
2016-12-05 16:42:01 +01:00
Marcin Kuzminski
309ee712b2
live-comments: use show comment instead of refresh the page so
...
it better reflects the action we're doing.
2016-08-04 12:43:22 +02:00
Marcin Kuzminski
1b62606fc2
emails: added new tags to status sent
...
- make this distinct colored tags for quick status catch
- pass in the status type together with label to the notifiactions and templates
- fixed some UI issues on emails
2016-08-03 15:21:38 +02:00
Marcin Lulek
96dc4c06fb
channelstream: don't try to communicate with ws server if not explictly enabled
2016-08-03 13:55:40 +02:00
Marcin Lulek
4baa8118b9
channelstream: do not send comment notifications to the commenting user
2016-08-03 12:28:46 +02:00
Marcin Lulek
e9d5eb09c5
notifications: support real-time notifications with websockets via channelstream
2016-08-02 16:18:44 +02:00
Daniel Dourvaris
88e83cf796
events: add an event for pull request comments with review status
2016-07-13 10:39:54 +02:00
Marcin Kuzminski
9a0d8c0b77
project: added all source files and assets
2016-05-24 15:56:53 +02:00