Pablo Vazquez
0aa609817e
NPM: Upgrade dependencies.
2018-09-06 15:35:06 +02:00
Pablo Vazquez
1ae23c7ce9
CSS: Build bootstrap as part of main.css
2018-09-06 15:34:53 +02:00
Pablo Vazquez
3e8e465c7f
Layout: #status-bar is no longer used
...
We now use toastr for notifications.
2018-09-06 15:33:47 +02:00
Pablo Vazquez
5b578b58d8
Bootstrap and jQuery as NPM dependencies.
2018-09-06 15:31:48 +02:00
Sybren A. Stüvel
3dd3006452
Flask's RequestWrapper changed the json() function to a json property
2018-08-29 14:00:57 +02:00
Sybren A. Stüvel
bbf21f614d
Docs: Fixed repository link
2018-06-27 11:16:20 +02:00
Sybren A. Stüvel
1be31bdb22
Fix issue with task shortcodes
...
Part of the code assumed shortcodes were globally unique, and another part
assumed the shortcodes are unique per project (the latter is correct).
Now the project ID is taken from the URL the Subversion hook pushes to.
2018-04-19 18:14:02 +02:00
Sybren A. Stüvel
b3e21d4b02
Added CLI command to SVN doc
2018-04-18 13:59:48 +02:00
Sybren A. Stüvel
6f9cb1fe38
Default to python3 in hook example (the script supports 2 and 3)
2018-04-18 13:53:49 +02:00
Sybren A. Stüvel
65aba61465
Added documentation for Subversion integration
2018-04-18 13:51:46 +02:00
Pablo Vazquez
bc47cf3f15
Markdown is no longer needed
2018-04-04 17:03:19 +02:00
Pablo Vazquez
bfec958b70
Fix commenting
...
It was missing Typewatch and csrf_token
Fixes T54518
2018-04-04 17:02:52 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
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
Francesco Siddi
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
Sybren A. Stüvel
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
Sybren A. Stüvel
39a23a80c9
Remove -x as default option to py.test
2018-02-01 11:42:27 +01:00
Sybren A. Stüvel
47e0e6bc42
Use pillar.auth.current_user instead of flask_login.current_user
2018-02-01 11:42:13 +01:00
Sybren A. Stüvel
5ff0c9fde5
Use mass-attach of project pictures, and only when they are actually used
2018-01-31 14:49:38 +01:00
Sybren A. Stüvel
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
Francesco Siddi
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
Francesco Siddi
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
Francesco Siddi
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
Francesco Siddi
f7665a4060
Ignore docs build result
2017-12-12 16:48:56 +01:00
Francesco Siddi
7fd4649a56
Introducing docs 📚
2017-12-12 16:48:56 +01:00
Sybren A. Stüvel
da0f606110
Merge branch 'production'
2017-12-12 11:15:53 +01:00
Sybren A. Stüvel
5b96aa4fdb
Revert "Reverting "Removed attract-user role.""
...
This reverts commit e84e952169 .
2017-12-12 11:15:47 +01:00
Sybren A. Stüvel
a866008be1
Also grant attract-use capability to subscriber/demo roles
2017-12-12 11:09:33 +01:00
Francesco Siddi
e84e952169
Reverting "Removed attract-user role."
...
Temporarily reverting b40b6dadd2 due to an issue found in roles and capabilities.
2017-12-08 17:50:24 +01:00
Sybren A. Stüvel
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
Sybren A. Stüvel
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
Sybren A. Stüvel
5c58ced224
Gulp: replaced hardcoded paths with variables.
2017-09-28 15:34:28 +02:00
Sybren A. Stüvel
412bd3a935
Gulp: fixed license expression
2017-09-28 15:33:54 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
c7b83d2d8b
Using capabilities instead of roles for access control.
2017-08-24 14:21:33 +02:00
Sybren A. Stüvel
c4071c1e03
Removed some unused imports
2017-08-24 14:21:23 +02:00
Sybren A. Stüvel
0612ed15a6
Allow deletion of tasks by non-admin users.
2017-07-13 17:29:16 +02:00
Francesco Siddi
b918151c94
Updated license and url in package.json
2017-07-13 16:15:00 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
59505d3233
Fixed Attract link not showing up in sidebar
2017-06-16 11:55:30 +02:00
Sybren A. Stüvel
c69aeb03dc
Hide Attract links & project settings for non-attract-users
2017-06-15 16:26:17 +02:00
Sybren A. Stüvel
62795b4007
Removed snippet we're not going to use in the forseeable future anyway.
2017-06-15 12:50:41 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
f4a06c3271
Declare user roles introduced by Attract
2017-06-15 11:32:05 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
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
Sybren A. Stüvel
725f93175c
Added Attract project sidebar
2017-06-15 11:07:14 +02:00
Pablo Vazquez
ab72357336
scrollHeaderHorizontal: don't use hardcoded class
2017-06-14 18:31:09 +02:00
Pablo Vazquez
0868449209
Lists: Fixed header should let clicks go through
2017-06-14 18:27:16 +02:00
Pablo Vazquez
f6d2a477eb
Lists: Don't wrap list's extra info (shots/tasks/assets count)
2017-06-14 18:27:16 +02:00