Commit Graph

544 Commits

Author SHA1 Message Date
552c05d031 Update pillar hooks path to eve_hooks
Follow naming convention.
2018-09-17 09:13:42 +02:00
03a94271ae Attract icon in the setup for Attract button 2018-09-07 17:15:52 +02:00
765ccaa8c9 Minor adjustments to layout edit settings 2018-09-07 17:05:38 +02:00
ed457a125c Attract: class name fixes
To work with Bootstrap 4
2018-09-06 16:56:05 +02:00
70f49ed5bf Gulp: Only chmod files if in production 2018-09-06 15:47:05 +02:00
3e4eb91668 Gulp: fix broken path in Sass
And when defining gulp-uglify-es needs '.default' at the end.
2018-09-06 15:42:37 +02:00
0aa609817e NPM: Upgrade dependencies. 2018-09-06 15:35:06 +02:00
1ae23c7ce9 CSS: Build bootstrap as part of main.css 2018-09-06 15:34:53 +02:00
3e8e465c7f Layout: #status-bar is no longer used
We now use toastr for notifications.
2018-09-06 15:33:47 +02:00
5b578b58d8 Bootstrap and jQuery as NPM dependencies. 2018-09-06 15:31:48 +02:00
3dd3006452 Flask's RequestWrapper changed the json() function to a json property 2018-08-29 14:00:57 +02:00
bbf21f614d Docs: Fixed repository link 2018-06-27 11:16:20 +02:00
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
b3e21d4b02 Added CLI command to SVN doc 2018-04-18 13:59:48 +02:00
6f9cb1fe38 Default to python3 in hook example (the script supports 2 and 3) 2018-04-18 13:53:49 +02:00
65aba61465 Added documentation for Subversion integration 2018-04-18 13:51:46 +02:00
bc47cf3f15 Markdown is no longer needed 2018-04-04 17:03:19 +02:00
bfec958b70 Fix commenting
It was missing Typewatch and csrf_token

Fixes T54518
2018-04-04 17:02:52 +02:00
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 e84e952169.
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 b40b6dadd2 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