526 Commits

Author SHA1 Message Date
08c2fbc517 Remove v=xxx code from static file URLs
Since Pillar d560f89704e3a6f4490df57712525048c469bed2 the URls for
static files are managed differently.
2018-03-23 17:30:14 +01:00
43668e43d2 Remove rsync_ui.sh and deploy.sh
Those files are no longer needed now that we deploy our source files
inside the Docker image. See Blender Cloud commit 94ef616593e85.
2018-02-06 11:03:29 +01:00
c6fb4c3184 Switch from .jade to .pug templates
No functional change, we simply align with the preprocessing pipeline 
used in Pillar.
2018-02-01 17:01:03 +01:00
cf41599e20 Fixed authentication issues in unit tests
The tests were logging in incorrectly, which came to light due to Pillar
commit 4b5a961e1422d8e976b2bf8bb9a4f91addf9bbec.
2018-02-01 11:43:14 +01:00
39a23a80c9 Remove -x as default option to py.test 2018-02-01 11:42:27 +01:00
47e0e6bc42 Use pillar.auth.current_user instead of flask_login.current_user 2018-02-01 11:42:13 +01:00
5ff0c9fde5 Use mass-attach of project pictures, and only when they are actually used 2018-01-31 14:49:38 +01:00
13dc6fea8e Don't do DB query to inspect current user.
This is especially important for IP ranges on Organizations, which can
change user roles on the fly in memory.
2018-01-24 14:57:30 +01:00
ca393af1b3 Add config_local.py to .gitignore file
This is useful when setting up Attract as a standalone application.
2017-12-13 11:19:51 +01:00
337e2db558 Add manage.py to run Pillar commands within the Attract repo
This is useful when setting up Attract as a standalone application.
2017-12-13 11:19:19 +01:00
0b3ea29d48 Switch from macros to blocks for navigation menus
For more information see commit a7693aa78dcf0a0a77e113f34afa63fb4f615441 in pillar.git
2017-12-13 11:12:17 +01:00
f7665a4060 Ignore docs build result 2017-12-12 16:48:56 +01:00
7fd4649a56 Introducing docs 📚 2017-12-12 16:48:56 +01:00
da0f606110 Merge branch 'production' 2017-12-12 11:15:53 +01:00
5b96aa4fdb Revert "Reverting "Removed attract-user role.""
This reverts commit e84e952169784c2e8d43624c4555c0b9c6cad77f.
2017-12-12 11:15:47 +01:00
a866008be1 Also grant attract-use capability to subscriber/demo roles 2017-12-12 11:09:33 +01:00
e84e952169 Reverting "Removed attract-user role."
Temporarily reverting b40b6dadd222c7fa7290ddca854124ff0af76223 due to an issue found in roles and capabilities.
2017-12-08 17:50:24 +01:00
b40b6dadd2 Removed attract-user role.
It's no longer used now that we're using the capabilities system.
2017-12-07 17:07:53 +01:00
4fa18d4454 Gulp: added 'cleanup' task that erases all gulp-generated files.
This runs automatically when using --production
2017-09-28 15:35:15 +02:00
5c58ced224 Gulp: replaced hardcoded paths with variables. 2017-09-28 15:34:28 +02:00
412bd3a935 Gulp: fixed license expression 2017-09-28 15:33:54 +02:00
eb954208b2 Early reject when user is anonymous.
This cuts down on info-level log entries, and prevents some Mongo queries.
2017-09-18 14:04:52 +02:00
c7b83d2d8b Using capabilities instead of roles for access control. 2017-08-24 14:21:33 +02:00
c4071c1e03 Removed some unused imports 2017-08-24 14:21:23 +02:00
0612ed15a6 Allow deletion of tasks by non-admin users. 2017-07-13 17:29:16 +02:00
b918151c94 Updated license and url in package.json 2017-07-13 16:15:00 +02:00
25fcfea62f Remember last-visited Attract project in session
This allows us to keep rendering the "Shots" and "Assets" links in the
sidebar, even when someone navigates away from the project scope.
2017-06-16 12:02:39 +02:00
59505d3233 Fixed Attract link not showing up in sidebar 2017-06-16 11:55:30 +02:00
c69aeb03dc Hide Attract links & project settings for non-attract-users 2017-06-15 16:26:17 +02:00
62795b4007 Removed snippet we're not going to use in the forseeable future anyway. 2017-06-15 12:50:41 +02:00
50ae411575 Only users with attract-user role can use Attract
Subscribers without that role still have read-only access to Attract,
assuming they have access to the project at all.

NOTE: this only handles the web interface. API calls are still governed
by the nodes permission system, which doesn't currently allow these kinds
of role-based user checks.
2017-06-15 12:50:28 +02:00
f4a06c3271 Declare user roles introduced by Attract 2017-06-15 11:32:05 +02:00
bf9a73ff00 Fixed project property loss when setting up for Attract
This was caused by attract_project_view() not passing the full project to
the decorated function. Now you can pass full_project=True to avoid
projections at all, and get the full thing.
2017-06-15 11:07:27 +02:00
9ea75c30e3 Added project settings allowing setup + editing task types.
- Attract added to Project Settings screen
- setting up project for Attract
- editing shot/asset task types

To do: add checks that the user is allowed to use Attract in the first
place.
2017-06-15 11:07:27 +02:00
725f93175c Added Attract project sidebar 2017-06-15 11:07:14 +02:00
ab72357336 scrollHeaderHorizontal: don't use hardcoded class 2017-06-14 18:31:09 +02:00
0868449209 Lists: Fixed header should let clicks go through 2017-06-14 18:27:16 +02:00
f6d2a477eb Lists: Don't wrap list's extra info (shots/tasks/assets count) 2017-06-14 18:27:16 +02:00
28edb86aeb Shots/Assets list: Fix fixed table header not resizing when adjusting col_main width 2017-06-14 18:27:16 +02:00
c38203ba63 item_open: use toastr notification when failing 2017-06-14 18:27:16 +02:00
9d59aefd80 Upgrade jquery-resizable to 0.20
https://github.com/RickStrahl/jquery-resizable
2017-06-14 18:27:16 +02:00
f05ad37037 Asset/shot lists: use task types from project's Attract properties 2017-06-14 15:26:09 +02:00
23a2a8fd64 Use menu from Pillar 2017-06-14 14:58:48 +02:00
12c51fb3f5 Use notifications and menus from Pillar 2017-06-09 16:33:34 +02:00
a13ba17545 Fixed borked import 2017-05-31 10:49:03 +02:00
01973a2471 CSS Comments 2017-05-24 12:18:05 +02:00
a1391a6d1c View task in shot context 2017-05-19 12:30:58 +02:00
30397fc12f Pass full name of SVNer account as keyword arg 2017-05-18 15:38:30 +02:00
dc4cf6aecc Set explicit name for SVNer account
It now includes the project ID it's created for, and the fact that it's
a SVNer account, just for easy identification.
2017-05-18 10:03:12 +02:00
9d302d5124 Color status select 2017-05-10 23:34:46 +02:00