Граф коммитов

39 Коммитов

Автор SHA1 Сообщение Дата
Michal Moskal 823bd86435 make sure scripts are kept marked as published when syncing up 2015-05-19 13:02:53 +01:00
Jonathan Protzenko 942ccf0ac8 External editors & new cloud storage.
This fixes an infinite synchronization loop.
This was due to unresolved merges + new version from elsewhere in the cloud.
2015-05-07 17:22:12 -07:00
Michal Moskal e614ffb47d get config.workspaceUrl from me/installed reponse (it's per user now) 2015-05-06 15:23:29 -07:00
Michal Moskal 25ac09be53 implement the undo install stuff 2015-04-29 15:11:58 -07:00
Peli de Halleux ead67b1981 clean up widgets in hub 2015-04-29 11:44:40 -07:00
Peli de Halleux 5637012376 make hashtag configurable 2015-04-24 15:46:09 -07:00
Peli de Halleux 8c7f1a8246 relaxing assert 2015-04-23 12:57:34 -07:00
Michal Moskal cddc7c9c51 centralized cloud endpoint config 2015-04-21 17:03:13 -07:00
Michal Moskal 959daf547b Handle 429 lite cloud response (instead of 503) 2015-04-13 15:46:18 -07:00
Michal Moskal 5e0b5cd809 cached result is OK for determining editor 2015-04-02 16:12:34 -07:00
Jonathan Protzenko e9b618b85a External editors.
Fix the use-case where we import from the cloud someone else's script, written
using an external editor.
2015-04-02 16:08:18 -07:00
Jonathan Protzenko 924cc93a00 External editors.
- Fix a few dependencies in the Jakefile.
- Add metadata support. Currently only offering script name and script
description.
  * Forward the metadata properly to the backend. Reflect it in the local
    storage.
  * Update the messaging protocol accordingly.
  * Add some basic UI for that purpose in the Blockly editor.
  * Merge that data too.
2015-04-01 15:32:15 -07:00
Jonathan Protzenko 64424a0758 External editor.
Fix an issue with the script info dialog when the script has been edited through
an external editor but is not available locally.
2015-04-01 11:11:17 -07:00
Peli de Halleux f4464819ab more twitter/facebook changes 2015-04-01 11:00:33 -07:00
Michal Moskal 24e6246b48 disable time check in lite cloud 2015-03-27 18:57:24 -07:00
Jonathan Protzenko 835e9c423c External editor.
Merge, again.
- Polish the UI interactions in the blockly example.
- Fix a bug where a merge was needed but the data to perform it was not yet
  downloaded from the cloud.
- Don't do needless saves in Blockly (this was ruining my testing).
2015-03-27 17:52:58 -07:00
Jonathan Protzenko fa6e74299f Slightly more conservative test.
(Courtesy of Michal.)
2015-03-27 17:10:03 -07:00
Jonathan Protzenko 4ca879f0fb Fix a tricky race issue in cloud storage.
The [PostUserInstalledResponse] now contains a [retry] field that tells if the
client code should retry a save operation; that is, [!retry] means that by the
time the client code examines the [PostUserInstalledResponse], the cloud
contains the same version that's available locally.

Currently, only the Blockly demo editor leverages this.
2015-03-27 16:33:08 -07:00
Jonathan Protzenko a33a386bd3 External editors.
- Basic user interface for the merge functionality.
- Cleanup of the code.
- Auto-save at regular intervals.
- Report more status in the "toolbar".
2015-03-25 16:52:16 -07:00
Jonathan Protzenko d980959e9f External editor -- merges
- Rework the notifications
- Extract more information about what happened in the merge
- Reflect that in the blockly UI (prototype)
2015-03-25 13:13:36 -07:00
Jonathan Protzenko b446623962 More external editor support.
- Sending a save message now triggers a cloud sync, and the external.ts file is
  now notified about the new [baseSnapshot] once the sync is done.
- Fix an unrelated, nasty bug (saving to the cloud had been broken for a few
  days).
2015-03-24 14:26:06 -07:00
Jonathan Protzenko e9ebf3491b (Wrap comments) 2015-03-24 10:56:54 -07:00
Jonathan Protzenko 3b5b234eff Fix bug on upload. 2015-03-23 17:35:34 -07:00
Peli de Halleux 9ff8a56475 less pop up, warnings display in block mode 2015-03-18 20:35:00 -07:00
Jonathan Protzenko 9f65191b42 First attempt at implementing merge for external editors.
(This code does something. Whether it's the right thing is doubtful.)
2015-03-17 17:29:44 -07:00
Jonathan Protzenko 628c928cc0 Properly separate script text / extra state.
The extra state is now stored in the [scriptVersionInCloud] field. (This is not
what it's made for, but in the "lite cloud" scenario, it's sitting there
unused, so...).
2015-03-17 14:10:50 -07:00
Michal Moskal eb8b552dc4 little lite sync fix 2015-03-11 16:59:01 -07:00
Peli de Halleux 6a5c6f4a35 removing crowed source run, crashes, coverage, profiling and associated debugger analysis 2015-02-24 16:53:18 -08:00
Peli de Halleux 6b2aae3d33 removed WinRT specific implementations. Furture support for WinRT will go through Apache Cordova. 2015-02-24 15:52:27 -08:00
Peli de Halleux 4845e57a8c localize cloud sync error messages 2015-02-18 07:08:25 -08:00
Michal Moskal f6d7870848 Support history viewing (not restore yet) in lite 2015-02-17 18:08:12 -08:00
Michal Moskal 6ca8fb7fda make sure header.meta is recomputed in the right places to avoid missing mergeids 2015-02-12 14:14:07 -08:00
Peli de Halleux 05f3b55ba8 using <style> tags instead of <link> when importing css 2015-02-11 16:43:58 -08:00
Jonathan Protzenko 774ae1da3d Cleanup part 2: tsc outputs go into [build/].
Also moved the css and stubs tools into their own tools/ directory. Removed a
few files in genStubs that weren't reference anywhere else in the tree.
Simplified the Jakefile a little bit too.
2015-02-04 17:53:03 -08:00
Jonathan Protzenko 530cc27464 Revert "Typo"
This reverts commit bc61e8a93c.
2015-02-04 16:36:15 -08:00
Jonathan Protzenko bc61e8a93c Typo 2015-02-04 16:10:32 -08:00
Michal Moskal c38fed6187 get rid of tabs 2015-02-04 13:44:02 -08:00
Michal Moskal ab6a5000b7 Fix line endings 2015-02-04 13:41:44 -08:00
Jonathan Protzenko 67357ed93f New initial commit. Yay again! 😹 2015-02-04 08:07:58 -08:00