583 Commits

Author SHA1 Message Date
ca69b43839 Prevent global 404 on /attract when an activity can't be linked.
This happens when an activity is on a deleted item. This change implies
that "someone deleted X" activities aren't going to be shown.
2016-11-10 11:33:49 +01:00
3917c90a13 Quick fix: If we're in mobile, set height of columns to half window height
TODO: Make item-details a popup for easier browsing
2016-11-10 11:24:42 +01:00
6ebf3b6493 Activity when commenting: don't store context node type
It wasn't handled properly and caused commenting not to show up as activity
2016-11-10 09:51:45 +01:00
497bbb8273 Editing the name of a shot/task/asset now logs the old and new name in the activity 2016-11-10 09:34:32 +01:00
1134bb82a0 Prevent error when task_type is given but None. 2016-11-10 09:34:02 +01:00
08c82688e7 Tasks: set default assigned_to to {users: []}.
When the task is assigned to a user, this prevents a change of
'assigned_to' to a dict {users: [user_id]}. Instead, the
activity will be registered on 'assigned_to.users', which is nicer.
2016-11-10 09:33:10 +01:00
1a6fb58d6e Mark all links as 'deactivated' when opening a new item.
This fixes the issue of a task "ball" showing as "active", even when
navigating away to a shot.
2016-11-10 08:56:04 +01:00
4e3416c653 Fix for showing 'View in Shot Context' only on tasks 2016-11-10 00:58:24 +01:00
d186e9927d Removing properties inherited from Pillar classes 2016-11-10 00:53:45 +01:00
dc85f81768 Only convert date if there's one 2016-11-10 00:14:58 +01:00
7d3a4cc630 Hide "View in shot context" when in assets list 2016-11-09 23:59:29 +01:00
328baa0917 Active flash on state for assets 2016-11-09 23:59:02 +01:00
a14a39e79f Unify tasks list look with other tables 2016-11-09 23:38:12 +01:00
3ba34cf4b8 No need for momentjs here 2016-11-09 23:37:54 +01:00
c4d96258a6 Move basic classes to Pillar's apps_base.sass 2016-11-09 22:36:06 +01:00
e91f3968b7 Unify header titles 2016-11-09 22:21:44 +01:00
c1c8552d7e No border on item-status for items list 2016-11-09 18:34:45 +01:00
3d27e5c5b6 Merge branch 'master' into asset-list
Conflicts:
	src/styles/_shots.sass
2016-11-09 18:18:35 +01:00
d67ce6b880 Refresh page on asset creation 2016-11-09 17:18:10 +01:00
6217934c99 Task types: also take parent node type into account 2016-11-09 17:12:23 +01:00
1f00c5570d More contrast for processing and flash classes 2016-11-09 17:07:44 +01:00
5bf56ffd34 task- and shot- specific lists are now called item- 2016-11-09 17:04:17 +01:00
40ecbe2135 Use col-scrollable for columns that need fixed height 2016-11-09 17:04:17 +01:00
2f57c9c037 No bottom border for shot-thumbnail cell 2016-11-09 17:04:17 +01:00
84a52c0028 Small tweaks to list of shots
Shot list can overflow horizontally
Fix alignment on splitter
2016-11-09 17:04:17 +01:00
c02b959c3f bringing back processing status for tasks on shots list 2016-11-09 17:04:17 +01:00
17dd73f474 Task types are now determined by the page context, not hard-coded to shot task types 2016-11-09 17:01:03 +01:00
ec6a32001e No bottom border for shot-thumbnail cell 2016-11-09 15:49:27 +01:00
65facd8b07 Proper task types for assets 2016-11-09 15:37:19 +01:00
087b02c906 Scroll asset list 2016-11-09 15:31:25 +01:00
2b70e362da Use XHR for asset links 2016-11-09 15:29:13 +01:00
16e1fd1df0 Also save assets on ctrl+enter 2016-11-09 15:26:11 +01:00
3a57baf34e Styling tweaks for assets 2016-11-09 15:19:10 +01:00
4cb90b2568 Disabled thumbnails until users can actually upload them. 2016-11-09 14:59:29 +01:00
0e170464e6 Templates & Flask end-points for managing assets. 2016-11-09 14:57:46 +01:00
dd186b0611 Small tweaks to list of shots
Shot list can overflow horizontally
Fix alignment on splitter
2016-11-09 14:47:25 +01:00
3346bb1364 Reworked ShotManager into ShotAssetManager 2016-11-09 13:58:46 +01:00
43e6e5cef9 Introducing Attract assets, with a pretty similar workflow to shots. 2016-11-09 13:48:01 +01:00
88e59f9329 bringing back processing status for tasks on shots list 2016-11-09 13:04:24 +01:00
88a4a2fab3 Moved attract.shots to attract.shots_and_assets
Assets are going to be pretty much the same thing as shots, with a few
different properties. Hooks and much other code can be reused.
2016-11-09 13:00:07 +01:00
2bb332c58a Moved node_setattr() to pillar.api.utils. 2016-11-09 12:49:48 +01:00
c4b9564398 Corrected task parent types. 2016-11-09 12:40:49 +01:00
3361aad44d No need to convert time since pretty_date takes care of that 2016-11-08 18:34:22 +01:00
ad108f2caa Update CSS cache version 2016-11-08 18:32:35 +01:00
b8e2151a33 Pikaday with time support 2016-11-08 17:51:35 +01:00
c935725e64 Copy-to-clipboard now also works for users without PUT access. 2016-11-08 16:48:18 +01:00
58b762f4d2 Prevent crash when an Attract project doesn't have a picture_header 2016-11-08 16:46:19 +01:00
21f3acc03e Remove border bottom from thumbnail cells 2016-11-08 16:26:47 +01:00
defa5d8146 Extra padding on error text 2016-11-08 16:20:05 +01:00
c87df6e52e Fixes for flickers in newer Chrome 2016-11-08 16:19:56 +01:00