8fe6b472e4
Notifications: Fix and documentation
...
Fixed notification-toggle not working because we were accessing
the selectors before they were available in the DOM.
Now use the ID selector directly, re-use when possible.
Also added comments describing obscure variables.
2017-10-05 15:29:30 +02:00
68c7a88fed
Use the nifty new DocumentTitleAPI to update notification count
...
and page titles when browsing assets.
This removes the need for updateTitle()
2017-10-05 15:29:30 +02:00
f9e10976b8
Added a little DocumentTitleAPI object for easier updating of the title.
2017-10-05 15:29:30 +02:00
Pablo Vazquez
389413ab8a
Notifications: Define selectors once and re-use
...
Plus some comments and simplifying the switch/adding of icons
by just adding a css class that controls it.
No functional changes
2017-10-04 00:39:00 +02:00
Pablo Vazquez
c6d8a4c46f
Comments: Send text should be inside a span
2017-10-03 01:26:06 +02:00
b0c7997128
Notifications: Don't update titles directly, fire an event instead
2017-10-02 19:49:20 +02:00
1bf2a87726
Use a the updateTitle() function to update page titles
2017-10-02 19:48:37 +02:00
d3cd6a884e
Use toastr notifications instead of statusBarSet()
2017-10-02 19:31:52 +02:00
Pablo Vazquez
e4c5743852
Comments: trigger comments-loaded event on comments load.
...
Useful when apps want to know or do something with the comments,
like Dillo to parse emojis for example.
2017-09-30 23:18:09 +02:00
Pablo Vazquez
4eeccb6107
Comments: More compact layout
2017-09-25 00:39:34 +02:00
7d740c74e3
Move comment posting into its own function
2017-09-22 19:12:13 +02:00
714455a4eb
Fix navigation tree not scrolling until the bottom
2017-09-20 16:31:07 +02:00
4c25248e5f
Project: breadcrumbs no longer exist
2017-09-04 16:19:17 +02:00
4a68821dee
JS: Fix 50px offset on containerResizeY
2017-09-04 16:19:17 +02:00
811236cff4
Migrate Jade to Pug template engine
...
Jade templates engine has been renamed to Pug.
We are using Pug already on the Blender Cloud repository, following is Flamenco and Attract
2017-08-30 14:04:15 +02:00
a5d11ec31b
Refactored user search as JQuery plugin
2017-08-24 14:28:18 +02:00
6473ad3de7
Allow iframes that contain content from our Google Cloud storage.
2017-08-17 12:59:42 +02:00
5955b71459
Comments: Use toastr for notifications
2017-06-12 19:47:00 +02:00
a9c506c290
Set Toastr defaults
2017-06-07 21:10:10 +02:00
85f2c6093d
Introducing Toastr for toast notifications
2017-06-07 20:58:27 +02:00
31b71eb244
Escape text when presenting search results
2017-06-07 16:22:39 +02:00
d67f65019e
Escape HTML when displaying search results
2017-05-31 17:14:17 +02:00
9ccf4474bc
Fix for missing tag in Markdown validator
2017-03-28 17:54:10 +02:00
3622fad9c2
Merge remote-tracking branch 'origin/master'
2017-03-28 16:43:22 +02:00
c846ee9823
Add support for video tag
2017-03-28 16:43:12 +02:00
fcaa4fb936
Upgraded VRViewer:
...
- upgraded vrviewer to latest master (ffbc9ff4bf0c550cc79003ec188ca16e9e83c31e)
- added some notes on how to upgrade to the readme
- added support for setting default yaw angle
- added support for float properties
2017-03-28 16:04:26 +02:00
eb5fb4eb09
Fix undefined projectTree
2017-01-20 12:10:23 +01:00
64ce091f11
Fix sidebar height missing navbar height into account
2016-11-29 12:25:46 +01:00
89689db96e
Move tooltips/popovers code to layout
2016-11-24 19:43:11 +01:00
081a7f96ca
No transparent navbar anymore
2016-11-24 18:14:46 +01:00
f1661f7efb
Use native scrollbars
2016-11-16 17:48:35 +01:00
8959fac415
Tooltips/popovers without delay
2016-11-11 20:04:08 +01:00
e98b158886
Disabled auto-slug feature.
...
It broke file uploads. Thanks @venomgfx for joining in solving this.
2016-11-03 14:04:40 +01:00
4ec3268a23
Reloading comment list via event 'pillar:comment-posted' on body element.
2016-11-02 17:21:50 +01:00
9ac2f38042
Warn if there's no slug to append
2016-11-02 16:21:10 +01:00
4bd334e403
Add button to 'Add Attachment to Description'
2016-11-02 16:16:20 +01:00
3fc08bcafd
Set the slug based on the file name
2016-11-02 14:07:02 +01:00
cf28e5a3f4
Unified "Add New File" and ".. Attachment" buttons.
2016-11-02 12:29:38 +01:00
6ea7386bd3
"Add new attachment" button works.
2016-11-02 12:28:45 +01:00
53cbe78ec1
Use #comments-embed for embedding comments. Avoid duplicate ID
2016-11-01 15:53:40 +01:00
144c5b8894
Use statusBarSet() js function from Pillar
2016-11-01 12:30:53 +01:00
09a21510a2
Comments: fixed issue cancelling reply & then posting top-level comment
...
This would still post as a reply, rather than as a top-level comment.
2016-10-20 17:29:45 +02:00
e1678537c0
Editing comments via PATCH on pillar-web, and some other comment fixes
2016-10-20 16:47:04 +02:00
d8686e5a14
Fixed comment rating
2016-10-20 16:34:33 +02:00
ea2be0f13d
Major revision of comment system.
...
- Comments are stored in HTML as well as Markdown, so that conversion
only happens when saving (rather than when viewing).
- Added 'markdown' Jinja filter for easy development. This is quite
a heavy filter, so it shouldn't be used (much) in production.
- Added CLI command to update schemas on existing node types.
2016-10-19 16:57:17 +02:00
91e3ec659f
Added ProjectUtils.projectUrl()
2016-09-23 10:12:57 +02:00
0bf07b4ba4
ProjectUtils: add context
...
Currently used in Attract for the shots/tasks list
2016-09-22 18:59:55 +02:00
dfe398458b
Tutti: Check if algoliaIndex is defined
2016-09-22 18:59:55 +02:00
30215bf87c
Tutti: Check if tooltip/popover exist
2016-09-22 18:59:55 +02:00
574178cffc
Prevent accessing /nodes/undefined/view from search pages.
...
`firstHit.attr('data-hit-id')` can be undefined; in that case we just
ignore the siutation.
Furthermore, I've removed the call to clearTimeout(), as it is only
called after the timeout has been hit, and thus is a no-op.
2016-09-06 11:56:54 +02:00