Commit graph

63 commits

Author SHA1 Message Date
Martin Bornhold
ee90352440 svn-support: Only show 'generate config' button if config generation is enabled. 2016-10-17 13:46:51 +02:00
Daniel Dourvaris
ea04026aa4 ux: fix bug where saving empty issue tracker form was causing
exception, fixes: #4278
2016-10-14 17:14:44 +03:00
Daniel Dourvaris
8f4e395877 annotations: replace annotated source code viewer with renderer
to allow soft wrapping of lines and viewing of annotation message
2016-10-12 18:55:18 +03:00
Marcin Kuzminski
3dd481e54c pull-requests: fix problem with empty instances on creating PR from origin repo 2016-10-03 11:09:36 +02:00
Martin Bornhold
3a69737da4 pr: Display link to shadow repository on pull request page. 2016-09-20 18:08:40 +02:00
Daniel Dourvaris
b3e97c1715 reviewers: store reviewer reasons to database, fixes #4238 2016-09-27 02:34:15 +03:00
Martin Bornhold
cc96354c0b gists: Remove gist_type from update method in model. #4243
We do not allow to change the gist type from public to private or vice versa.
Therefore there is no need to provide a ability in the model to do it.
2016-09-26 16:26:33 +02:00
Martin Bornhold
c0a7c7b6c4 imports: Remove unused imports. 2016-09-26 16:25:11 +02:00
Daniel Dourvaris
9b38ba8c8f reviewers: add repo review rule models and expose default
reviewers route for pull requests via ajax, refs #1131
2016-09-06 16:02:35 +03:00
Marcin Lulek
aeb0d4526d pull request: send live notification when PR update happens 2016-09-19 15:15:23 +02:00
Johannes Bornhold
c6206d900b summary: Correctly return the Node instance
Noticed that I was returning the ReadmeMatch instance.
2016-09-08 17:31:37 +02:00
Johannes Bornhold
c5898bf7ee summary: Avoid to re-fetch Node object 2016-09-08 13:05:55 +02:00
Johannes Bornhold
3920d95f5b Summary: Split the readme logic into sub-methods 2016-09-07 11:37:08 +02:00
Johannes Bornhold
b28e45e565 summary: Move logic to find a readme out
Created ReadmeFinder inside of model.repo. The ReadmeFinder will be evolved, so
that it uses a smarter algorithm to actually find the readme file.
2016-09-07 10:31:20 +02:00
Johannes Bornhold
76193ccd7d summary: Improve logging around README handling 2016-09-05 17:20:30 +02:00
Marcin Kuzminski
d92e030879 vcs: moved svn proxy settings into vcs related settings
- vcs middleware now returns dummyHandler if not configured
- propagate the per-repo vcs related configs into VCSMiddleware
- moved the forms arround and group things into more logical blocks
2016-09-06 12:29:54 +02:00
lisaq
ca1ec404c2 svn: moving svn http support out of labs settings. 2016-08-23 17:07:22 +02:00
Marcin Lulek
2ab245bc4b notifications: store notification status in channelstream 2016-09-01 12:03:44 +02:00
Marcin Lulek
a9c1ae249c account: use jsonify decorator 2016-08-25 12:48:15 +02:00
Marcin Lulek
4ccb5b300e notifications: replace toggle button with actual toggle element - fixes #4171 2016-08-23 18:22:07 +02:00
Daniel Dourvaris
b51406ec1d account: convert change password form to colander schema and fix bug
where user could use same password as before when changing
password, fixes #2264
2016-08-05 06:55:35 +03: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
e9d5eb09c5 notifications: support real-time notifications with websockets via channelstream 2016-08-02 16:18:44 +02:00
Marcin Kuzminski
198c6fda61 gists: use colander schema to validate input data.
- brings consistent validation acros API and web
- use nicer and stricter schemas to validate data
- fixes #4118
2016-07-31 20:11:12 +02:00
Marcin Kuzminski
708038952c db: always use Session() for compatibility, Using Session is actually the
scoped_session which is not the same as the one which we "call".

More here: http://docs.sqlalchemy.org/en/latest/orm/contextual.html#contextual-thread-local-sessions
2016-07-27 00:42:19 +02:00
lisaq
815c7861b3 cleanup: removing unused grav_tmpl function 2016-07-25 13:08:50 +02:00
lisaq
39c5c5bf90 ux: put gravatar and username together in user list #3203 2016-06-29 20:01:12 +02:00
Martin Bornhold
b90c57159a files: Include the repository groups when computing files url, fixes #4104. 2016-07-19 11:35:30 +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
f48e94aa14 file-browser: refactor how we load metadata for file trees.
Before we used to use JSON data to map the nodes to json and fill in
metadata. Now we use rendered parts of html. This is nicer for caching as
it would allow us to replace the view with cached tree and then after ajax load
replace it again with cached with metadata. On the next request we'll
get the cached with metadata and thus we can skip entirely second
ajax call for metadata.

This is part of #4083
2016-07-12 11:45:51 +02:00
Marcin Kuzminski
e22bef75b4 file-browser: fixes #4083 2016-07-11 19:58:16 +02:00
Marcin Kuzminski
51e1968537 readme/markup: improved order of generating readme files. Fixes #4050
- we now use order based on default system renderer
- having multiple readme files will pick correct one as set renderer
2016-07-07 00:50:39 +02:00
Marcin Lulek
f8716e4525 templateContext: improve the context object idea 2016-07-07 15:33:43 +02:00
Marcin Lulek
50f344ce72 templateContext: allow for flexible way to communicate additional info for client code from controllers 2016-07-07 14:15:03 +02:00
Daniel Dourvaris
326f04ad63 events: remove accidental raise 2016-07-06 12:31:51 +03:00
Daniel Dourvaris
23d7a947f5 events: add serialization .to_dict() to events based on marshmallow 2016-07-06 12:21:03 +03:00
Marcin Kuzminski
fe4c5863f0 labs: enable by default. We want people to encourage using those 2016-07-05 21:18:30 +02:00
Martin Bornhold
77c3287d4a settings: Delete obsolete code related to the rebase-merge lab settings. 2016-06-27 16:53:36 +02:00
Martin Bornhold
b0612b7dc6 settings: Add 'labs_active' flag to template context. 2016-06-27 10:58:53 +02:00
Martin Bornhold
670d237f39 admin: Register and retrieve navigation registry from pyramids registry. 2016-06-29 08:52:55 +02:00
Martin Bornhold
5fde5532a9 admin: Move admin settings navigation to admin module. 2016-06-29 08:24:27 +02:00
Marcin Kuzminski
9446dff948 system-settings: prepare to allow to create snapshots of full system settings
for support.
2016-06-28 02:08:54 +02:00
Marcin Kuzminski
16a626ce44 refactor: renamed get_first_admin to get_first_super_admin which
reflects better what kind of user we're fetching.
2016-06-28 01:24:24 +02:00
Marcin Kuzminski
7902155b2e settings: use invalidate after updating settings. 2016-06-27 22:46:33 +02:00
Daniel Dourvaris
38df61623b celery: fixed bug where celery was not running 2016-06-24 14:21:29 +03:00
Daniel Dourvaris
1536e48bab refactor: remove old error controller, which has been replaced by pyramid 2016-06-22 12:39:11 +03:00
Johannes Bornhold
b23f4f5b5d admin: Use error message from UserCreationError when updating a user.
If we get a UserCreationError on updating a user we should display the
more specific error message from the exception.
2016-05-30 12:16:25 +02:00
Marcin Kuzminski
d36e50102c autocomplete: allow to pass in a GET flag to control if non-active users should be returned in
autocomplete data.
2016-06-18 14:43:33 +02:00
Marcin Kuzminski
2687022328 repos, repo groups, user groups: allow to use disabled users in owner field.
This fixes #3374. There's no good benefit of having possibility to prevent
setting disabled user from beeing an owner.
It can happen that we start preperating a system and use disabled accounts.
Also users shouldn't be forbidden to edit settings on an disabled owner.
2016-06-18 02:03:43 +02:00
Marcin Kuzminski
0276305290 autocomplete: add flags to show/hide active users, and also display this information
in autocomplete data.

ref #3374
2016-06-18 14:23:57 +02:00