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
Martin Bornhold
7ab55a64bd
oss-licenses: Migrate view to pyramid.
2016-06-15 12:07:48 +02:00
Martin Bornhold
74d78fdec3
oss-licenses: Remove pylons view.
2016-06-15 12:06:49 +02:00
Marcin Kuzminski
996239fa3f
pull-requests: add a success flash when PR was merged
2016-06-10 09:55:21 +02:00
Daniel Dourvaris
2e53340908
admin: in usergroups admin allow prefiltering the list of users
...
based on an autocomplete query. also updated a couple tests which
were not testing correct response.
2016-06-02 19:38:51 +03:00
Daniel Dourvaris
8f434d0117
search: sort commit messages by date rather than revision
2016-06-02 15:17:46 +03:00
Daniel Dourvaris
a548b1cad5
pullrequest: disable pr on commits that dont share ancestor
2016-05-31 21:50:14 +03:00
Daniel Dourvaris
c683b5b179
feature: Go To switcher now searches commit hashes as well
2016-05-30 16:05:27 +03:00
Daniel Dourvaris
2fc47913e5
search: add syntax highlighting, line numbers and line context
...
to file content search results
2016-05-30 07:15:12 +03:00
Johannes Bornhold
9ea67b415c
login: Remove pylons login controller.
2016-05-25 11:47:14 +02:00