Commit graph

35 commits

Author SHA1 Message Date
Marcin Kuzminski
69a865a7a3 repo-groups: moved to pyramid 2017-10-17 14:06:51 +02:00
Marcin Kuzminski
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +02:00
Marcin Kuzminski
3821db3f37 apps: removed deprecated usage of c.repo_info 2017-09-08 13:33:17 +02:00
Marcin Kuzminski
a8abeb0d1c user-groups: rewrote the app to pyramid
- added new event data with added/removed/changed permissions
- cleanup code and spelling
2017-08-31 12:47:19 +02:00
Marcin Kuzminski
429c3a56cb data-grid-app: added universal function for extracting ordering.
- now supports format a.b
- supports passing a ref column e.g User.username, get's handy for joined querie
2017-08-17 22:44:25 +02:00
Marcin Kuzminski
2c11516c9b routing: optionally use explicit db object on route.
- makes it harder to integrate plugins
- makes it consistent on other places
- allows some plugins to use just the names
2017-08-01 22:59:15 +02:00
Marcin Kuzminski
3430eb74e5 repositories: ported repo_creating checks to pyramid.
- fixed security issues with resource discovery.
- ported repository creating check into base view for repos.
2017-07-28 15:56:06 +02:00
Marcin Kuzminski
21efeeab37 repositories: handle in a nicer way a filesystem damaged repositories.
- redirect with proper flash message about damaged filesystem.
2017-07-28 15:23:45 +02:00
Marcin Kuzminski
4de255d013 core: no longer rely on webob exception inside get_or_404 function.
- relly on pyramid exc only
- helps reduce number of appenlight problems with 404 handling via webob
2017-07-25 15:26:38 +02:00
Marcin Kuzminski
678a930750 routing: use a common method to extract the f_path for repo views.
The extra slashes can cause odd issues with GIT, the previous
pylons code had a fix in routing. This ports this fix into
pyramid helper in base app.
2017-07-17 23:09:33 +02:00
Marcin Kuzminski
55148c3e6c pyramid: moved add_route_requirements into pyramid base app.
- use it integrations, and simplify the code.
2017-07-17 23:08:07 +02:00
Marcin Kuzminski
53611d6f94 files: ported repository files controllers to pyramid views. 2017-07-17 14:20:22 +02:00
Marcin Kuzminski
01618e7be5 pyramid: expose a temporary TemplateContext under _c 2017-07-14 12:49:53 +02:00
Marcin Kuzminski
ebc5609e99 pyramid: allows easier turning off the pylons components. 2017-07-13 10:57:57 +02:00
Marcin Kuzminski
b74413678d pyramid: changes for pyramid migration. 2017-07-12 22:56:21 +02:00
Marcin Kuzminski
ef1f17e46a refs: refactored references code to remove any pylons elements.
- now uses pure pyramid style without usage of any pylons globals
2017-07-08 15:28:40 +02:00
Marcin Kuzminski
7178db58ba core: use new style pyramid partial renderer where possible. 2017-07-08 15:27:41 +02:00
Marcin Kuzminski
2489c0ed51 core: make pylons global be used in obsolete parts of the code.
- will help later cleanup of pylons specific code
2017-07-08 15:23:40 +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
18a356ec2a predicates: skip route matching for vcs type calls. 2017-06-05 22:23:30 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
bd1e865c9c pull-request: extended default reviewers functionality.
- added mandatory reviewers JS logic Fixes: #4219
- added option to forbid author to be a reviewer via JS/Frontend checks. Fixes #5190
- added option to forbid adding new reviewers except those defined. Fixes #5208
2017-05-29 20:10:17 +02:00
Marcin Kuzminski
be41f0b920 pull-requests: moved the listing of pull requests for repo into pyramid.
- moved as datagrid App
- changed loading of grid to lazy, as other new views.
2017-05-29 20:58:42 +02:00
Marcin Kuzminski
ca6ba228c3 tags/branches/bookmarks: moved views into pyramid. 2017-05-12 16:23:26 +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
93e855bd4a base-grid-view: allow specifing custom mapping for sort columns. 2017-04-13 17:16:26 +02:00
Marcin Kuzminski
482cb6cd23 data-grid: create a common re-usable app with datagrid rendering helpers 2017-04-13 12:15:02 +02:00
Marcin Kuzminski
e959f4e89a core: added supports of repo based views via pyramid. 2017-03-16 15:05:58 +01:00
Marcin Kuzminski
4845dc40af pyramid: added checks for password change for authenticated users. 2017-03-14 12:40:01 +01:00
Marcin Kuzminski
82b0a810fd my-account: switched my-password view to pyramid. 2017-03-14 01:21:12 +01:00
Marcin Kuzminski
e08f015498 login: switch to re-use the baseApp pyramid view. 2017-03-14 00:39:54 +01:00
Marcin Kuzminski
b81f35c3d7 pyramid: base view improvements 2017-03-13 21:33:52 +01:00
Marcin Kuzminski
425494b0a5 pyramid-views: always register auth_user for via the base view.
- we always need this to be set anyway so we shouldn't repeat it.
2017-03-13 20:51:47 +01:00
Marcin Kuzminski
df90d2d6c6 my-account-auth-tokens: moved into pyramid apps.
- we're going to override this in EE edition with added functionality.
2017-03-03 14:19:34 +01:00
Marcin Kuzminski
260eea9c79 user-profile: migrated to pyramid views. 2017-03-02 18:10:10 +01:00