Sybren A. Stüvel
f29e01c78e
Video player: remember volume in local storage
2018-09-04 12:16:24 +02:00
Sybren A. Stüvel
2698be3e12
Saving & restoring video watching progress
...
Video progress updates:
- Mark as 'done' when 90% or more is watched.
- Keep 'done' flag when re-watching.
The video progress is stored on three events, whichever comes first:
- Every 30 seconds of video.
- Every 10% of the video.
- Every pause/stop/navigation to another page.
- When we detect the video is looping.
2018-09-04 12:16:24 +02:00
Sybren A. Stüvel
3e7722a567
Expand image for {attachment slug link=self}
...
Clicking on the image will no longer open it directly, but expand it
instead.
2018-04-03 15:44:24 +02:00
Sybren A. Stüvel
a052e754f9
Button "Copy to clipboard" instead of "Add to description"
...
This allows the user to paste the code wherever they need. For example,
a blog post takes its contents from 'properties.content' and not from
the description field.
I also added an explanation for new attachment shortcode.
2018-04-03 10:59:20 +02:00
Sybren A. Stüvel
df6297d40f
Fixed project search
...
The project ID wasn't used at all when searching in a project's context.
2018-03-13 12:24:29 +01:00
Sybren A. Stüvel
0c7abdb99a
Avoid error when there is no #cloud-search element
2018-02-14 10:22:13 +01:00
Sybren A. Stüvel
d85c45f10f
Not using let in JS, as Gulp minify doesn't understand it :(
2018-02-01 14:28:12 +01:00
Sybren A. Stüvel
ca3d99c52c
Search JS: fixed node type display
2018-01-10 17:23:11 +01:00
Sybren A. Stüvel
55ccd39960
removed debug log entries
2018-01-10 17:23:06 +01:00
Sybren A. Stüvel
61673ef273
Search: implemented pagination
...
- Got rid of the nasty off-by-one logic in the JavaScript.
- Implemented pagination at the API.
2018-01-10 17:07:21 +01:00
Sybren A. Stüvel
6a9c27f8bf
Removed console.log JS
2018-01-05 17:39:38 +01:00
Sybren A. Stüvel
36aad45b26
Asset search JS: show creation timestamps
2018-01-05 17:23:40 +01:00
Sybren A. Stüvel
67851752fa
Search JS: more stupid and thus more reliable repeat query filtering
2018-01-05 17:02:42 +01:00
Sybren A. Stüvel
999c1a3fa6
Formatting
2018-01-05 16:26:41 +01:00
Sybren A. Stüvel
a574a75610
Advanced search JS: avoid re-querying for the same thing
2018-01-05 16:10:24 +01:00
Sybren A. Stüvel
0b6969bf0c
Search JS: removed console.log debug calls
2018-01-05 15:24:29 +01:00
Sybren A. Stüvel
b4a5cdec55
search JS: gracefully handle errors
2018-01-05 15:24:19 +01:00
Sybren A. Stüvel
90883eddb9
xhrErrorResponseMessage: nice message when unable to connect
2018-01-05 15:23:43 +01:00
Stephan preeker
ebe524ded3
make javascript more secure..
2017-12-29 16:47:29 +01:00
Stephan preeker
f4625cfe06
remove dead code
2017-12-29 15:11:47 +01:00
Stephan preeker
99131374cd
javascript debugging
2017-12-29 14:52:39 +01:00
Stephan preeker
04684c5f65
remove algolia from css and vendor stuff
2017-12-29 14:19:22 +01:00
Stephan preeker
d726e15ed8
Merge branch 'master' of git.blender.org:pillar into elastic
2017-12-29 12:19:47 +01:00
Sybren A. Stüvel
8f73dab36e
Allow project undeletion, fixes T51244
...
Projects can be undeleted within a month of deletion.
2017-12-22 16:27:05 +01:00
Sybren A. Stüvel
46612a9f68
JavaScript function for getting reasonable error message from an XHR response
2017-12-22 16:25:39 +01:00
Sybren A. Stüvel
f47a45f9a3
Removed unused code
2017-12-22 14:42:24 +01:00
Stephan preeker
b6a93452cd
search is completely working in frontend now
2017-12-01 16:36:08 +01:00
Stephan preeker
1cba014948
search is completely working in frontend now
2017-12-01 16:32:57 +01:00
Stephan preeker
b0d6f724ef
Merge branch 'master' of git.blender.org:pillar into elastic
2017-12-01 16:24:56 +01:00
Pablo Vazquez
2ad65b0485
Project: Remove collapse of sidebar
...
Since projects went full-width it's not needed anymore.
2017-11-28 15:36:31 +01:00
Stephan preeker
9cd3d97c75
T53161 javascript search stuff almost complete.
2017-11-24 17:47:38 +01:00
Stephan preeker
8b789d408e
T53161 project user search now also elastic
2017-11-17 17:41:43 +01:00
Stephan preeker
b03e8d5bd7
T53161 Proof of Concept working USER search. WIP js.
2017-11-17 16:06:51 +01:00
Stephan preeker
76bb68dcc8
T53161 Proof of Concept working
2017-11-17 16:06:51 +01:00
Stephan preeker
41eb5e256f
T53161 WIP javascript search WIP WIP
2017-11-17 16:06:51 +01:00
Stephan preeker
fcf19de786
T53161 proces feedback sybren, replace angolia with search
2017-11-17 16:06:01 +01:00
Stephan preeker
2233d015f3
T53161 start working on elastic..
2017-11-17 16:06:01 +01:00
Pablo Vazquez
3466320d98
File Upload: Don't clear all upload toastr notifications
...
Define the toastr on setup and clear only that one once it's finished
2017-11-10 17:57:17 +01:00
Pablo Vazquez
ac9aa59924
Comments: When editing, resize the textarea
...
Minor tweaks:
* Remove the 'editing' class after cancel/save
* Style <code>, <pre>, etc tags
2017-11-08 22:49:56 +01:00
Pablo Vazquez
cb0272fe60
Comments: Put comment content inside a span
...
So when editing we do not override the author's name.
2017-11-08 22:01:45 +01:00
Francesco Siddi
8ef89d0b53
Fix for crash when element with id 'description' was not found
2017-11-08 21:18:49 +01:00
Pablo Vazquez
c6a138ff43
Introducing 00_utils.js
...
Utilities that can be used accross all Pillar apps
This includes general purpose functions,
small jQuery plugins, and so on.
For example: the autoResize jQuery plugin that automatically
resizes a textarea according to its content was used on all
major Pillar apps so far (Attract, Flamenco, Blender Cloud
and Dillo), proven to be really needed everywhere.
2017-11-08 16:59:38 +01:00
Pablo Vazquez
43cb7a5f65
File Upload: Clear notifications before success/error
...
So we don't end up with both file-upload and success at the same time
when uploading files that go up fast.
2017-10-11 23:08:20 +02:00
Pablo Vazquez
e01197a5d5
Comments: minor tweaks to strings
2017-10-07 00:07:24 +02:00
Sybren A. Stüvel
f42334453c
Deduplicated code for image expansion into the page overlay
...
It now also supports WEBP links, and is compatible with Google Cloud
Storage (which adds ?blablabla to links).
2017-10-05 17:32:55 +02:00
Pablo Vazquez
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
Pablo Vazquez
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
Sybren A. Stüvel
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