Commit Graph

556 Commits

Author SHA1 Message Date
434cdb35a0 Attract multi edit: Disable save button during save 2019-03-13 15:25:32 +01:00
bae39ce01d Attract multi edit: Edit multiple tasks/shots/assets at the same time
For the user:
Ctrl + L-Mouse to select multiple tasks/shots/assets and then edit
the nodes as before. When multiple items are selected a chain icon
can be seen in editor next to the fields. If the chain is broken
it indicates that the values are not the same on all the selected
items.

When a field has been edited it will be marked with a green background
color.

The items are saved one by one in parallel. This means that one item
could fail to be saved, while the others get updated.

For developers:
The editor and activities has been ported to Vue. The table and has
been updated to support multi select.

MultiEditEngine is the core of the multi edit. It keeps track of
what values differs and what has been edited.
2019-03-13 13:53:40 +01:00
f4c7101427 Attract: Don't show add task button in cell if there are tasks
Requested by @fsiddi
2019-02-20 16:46:02 +01:00
d1713f93b3 Notifications regression: Notifications not created
Notifications for when someone posted a comment on your node
was not created.

Root cause was that default values defined in schema was not set,
resulting in activity subscriptions not being active.
There were 2 bugs preventing them to be set:
* The way the caching of markdown as html was implemented caused
  default values not to be set.
* Eve/Cerberus regression causes nested default values to fail
  https://github.com/pyeve/eve/issues/1174

Also, a 3rd bug caused nodes without a parent not to have a
subscription.

Migration scripts:
How markdown fields is cached has changed, and unused properties
of attachments has been removed.
./manage.py maintenance replace_pillar_node_type_schemas

Set the default values of activities-subscription
./manage.py maintenance fix_missing_activities_subscription_defaults
2019-02-19 14:16:28 +01:00
fccf6eb7a6 Regression after ui update: Found by sentry 2019-02-13 15:09:49 +01:00
fbe4e53e50 Regression fix: Highlight selected task "dot" in shots/assets table
Quick hack to restore functionality. Known limitations:
* A direct link to task will not highlight it
* When a new task is created it will not be highlighted
* Selected row will not be highlighted
2019-02-13 13:03:17 +01:00
ac8a6284d4 Vue Attract: Default sort shots by cut_in_timeline_in_frames 2019-02-12 12:59:01 +01:00
5e73720d91 Vue Attract: Sort/filterable table based on Vue
Initial commit implementing sortable and filterable tables for attract
using Vue.
2019-02-12 09:08:37 +01:00
66212ec5fa Navigation: Unified cloud navigation
* Removed main drop down menu
* Added "My cloud" to user menu
* Attract/Flamenco is found under Production Tools menu
* Attract/Flamenco has the same navigation as its project
2019-02-07 14:45:55 +01:00
763866787d Gulp fix for NodeJS 10 2019-01-04 14:20:57 +01:00
11652dd5cf Vue Comments: Comments ported to Vue + DnD fileupload
* Drag and drop files to comment editor to add a file attachment
* Using Vue to render comments

Since comments now has attachments we need to update the schemas
./manage.py maintenance replace_pillar_node_type_schemas
2018-12-12 11:45:47 +01:00
755091f4e5 Use correct permission format for gulp-chmod 2018-09-19 14:45:30 +02:00
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