Commit graph

1467 commits

Author SHA1 Message Date
Cassie Tarakajian
3d2a7beeb9 merge master to feature/public-api branch 2019-10-22 17:35:20 -04:00
Cassie Tarakajian
d5dfe3937f
Merge pull request from stalgiag/contentTypeMetaAssetUpload
Add content-type to assets uploaded to s3
2019-10-22 17:24:23 -04:00
Stalgia Grigg
e79ab18a0c Add content-type to assets uploaded to s3 2019-10-21 12:54:56 -07:00
Cassie Tarakajian
6f2b3cd15d
Merge pull request from processing/update-jshint
re : update jshint
2019-10-17 14:34:35 -04:00
Cassie Tarakajian
2c76c84fef re : update jshint 2019-10-17 14:33:58 -04:00
Apoorv Taneja
5fa806d33e Password limit ()
* changes

* changes

* changes

* changes

* changes

* changez
2019-10-17 12:53:11 -04:00
Cassie Tarakajian
dd2094f7a3 update travis config to fix CD 2019-10-08 18:14:19 -04:00
Cassie Tarakajian
4d9c7d6a1f
Merge pull request from plxity/add-limit-input
Added limit in file name
2019-10-08 17:58:36 -04:00
Cassie Tarakajian
a82ac1e113
Merge pull request from processing/welcome-bot
add config for welcome bot
2019-10-08 17:54:37 -04:00
Cassie Tarakajian
cd9b7f7b56
Merge pull request from processing/nav-tests
fixes , fixes nav tests so that the app will actually redeploy
2019-10-08 17:47:14 -04:00
Cassie Tarakajian
f1bcccb1b2 fixes , fixes nav tests so that the app will actually redeploy 2019-10-08 17:46:11 -04:00
plxity
01e5c1f7bb changes 2019-10-09 02:46:21 +05:30
Cassie Tarakajian
0950ef29ec add config for welcome bot 2019-10-08 16:53:34 -04:00
Cassie Tarakajian
560659e76a
Merge pull request from processing/bug/add-file
fixes 
2019-10-08 16:40:37 -04:00
Cassie Tarakajian
61390301fb
Merge pull request from processing/revert-1181-revert-1176-bug/add-file
Revert "Revert "fixes : fixes bug in which files/folders would get added to""
2019-10-08 16:40:23 -04:00
Cassie Tarakajian
9d8be89df7
Revert "Revert "fixes : fixes bug in which files/folders would get added to"" 2019-10-08 16:39:47 -04:00
Cassie Tarakajian
53241c9180 fixes 2019-10-08 16:36:38 -04:00
Cassie Tarakajian
25e89b1172
Merge pull request from processing/revert-1176-bug/add-file
Revert "fixes : fixes bug in which files/folders would get added to"
2019-10-07 18:24:13 -04:00
Cassie Tarakajian
6a29bd4ce9
Revert "fixes : fixes bug in which files/folders would get added to" 2019-10-07 18:23:58 -04:00
Cassie Tarakajian
29ac16acfa
Merge pull request from processing/autorefresh-tweaks
re : increase autorefresh time period to 1000ms
2019-10-03 16:18:08 -04:00
Cassie Tarakajian
3d9507b7ef re : increase autorefresh time period to 1000ms 2019-10-03 16:16:54 -04:00
Cassie Tarakajian
61f1f039af
Merge pull request from processing/bug/add-file
fixes : fixes bug in which files/folders would get added to
2019-10-03 15:54:02 -04:00
Cassie Tarakajian
3360c7c799 fixes : fixes bug in which files/folders would get added to selected file (or root), rather than the file that you opened the popover from 2019-10-03 15:51:34 -04:00
Cassie Tarakajian
b251b12493
Merge pull request from processing/indenting-updates
re , when a line or lines are highlighted, tab will indent them
2019-10-03 14:51:06 -04:00
Cassie Tarakajian
c925da8c17 re , remove lingering commented-out code 2019-10-02 16:48:33 -04:00
Cassie Tarakajian
81a76a1529 re , when a line or lines are highlighted, tab will indent them 2019-10-02 16:40:52 -04:00
Frank Winter
0b36126854 Change DELETE request for projects Fixes ()
* Change DELETE request for projects

* fixes , by updating requestsOfType to check for null or undefined values

* remove unnecessary whitespace changes
2019-10-02 16:18:54 -04:00
Cassie Tarakajian
7e815b1dcb
Merge pull request from processing/action-error
fixes 
2019-10-01 16:32:38 -04:00
Cassie Tarakajian
ad93782496 fixes 2019-10-01 16:32:07 -04:00
Cassie Tarakajian
8281a7ee9e
Merge pull request from processing/expand-file-types
fixes , fixes , adds shader and .bin files to web editor
2019-09-26 16:18:24 -04:00
Cassie Tarakajian
02f4cb23b4 fixes , fixes 2019-09-26 16:17:22 -04:00
Cassie Tarakajian
5c54983c24 add searchbar to sketches dashboard view, adjust sketch list and asset list styling to have sticky header 2019-09-24 17:52:45 -04:00
Cassie Tarakajian
5900e62904 unify navigation for authentication pages, add authorization to front end, fixes 2019-09-19 13:38:27 -04:00
Cassie Tarakajian
7f2529a973 merge master 2019-09-11 19:05:15 -04:00
Cassie Tarakajian
f09e743e92
Merge pull request from andrewn/feature/standalone-sketches
Standalone sketches and asset page (fixes )
2019-09-11 16:52:39 -04:00
Cassie Tarakajian
3a65afb6da change link to editor back to 'back to editor' 2019-09-11 16:46:56 -04:00
Andrew Nicolaou
41636642c9 Style Dashboard tabs to match visual style of other tabs in app 2019-09-11 20:11:46 +02:00
Andrew Nicolaou
125051ccb1 Use Nav with user menu in "dashboard" layout 2019-09-11 20:11:46 +02:00
Andrew Nicolaou
611730c289 Refactor Nav 2019-09-11 19:06:30 +02:00
Cassie Tarakajian
8d0e59efc2
Merge pull request from davidbmx/master
Add matches search into code mirror fixes 
2019-09-10 16:45:54 -04:00
davidbmx
6030b355ff Remove num results when don't match find 2019-09-10 12:38:12 -05:00
davidbmx
22f958e50a Add matches search into code mirror 2019-09-10 12:00:27 -05:00
Andrew Nicolaou
8ac95c0084 SketchList and AssetList set page title 2019-09-08 17:10:48 +02:00
Andrew Nicolaou
7ea4ae5637 Fix linting errors and warnings 2019-09-08 16:43:16 +02:00
Cassie Tarakajian
a155e7638d
re : fix bug in which login form was in invalid state if user had entered username or password incorrectly on the first try () 2019-09-06 13:30:06 -04:00
Cassie Tarakajian
2de215356b
update mission statement in readme () 2019-09-05 16:17:06 -04:00
Rick Brown
c75e11b631 Add toast to notify when creating new file. Fixes ()
* Add toast to notify when creating new file

* Add toast for opposite conditional 

* Replaced New file created with New sketch created

* re , change copy to 'opened new sketch' to make it clear that the new sketch isn't saved
2019-09-05 14:56:18 -04:00
David
876f0b30fc Add matches search into code mirror 2019-09-02 08:02:49 -05:00
Andrew Nicolaou
162d5276f1 Display Access Token tab depending on UI_ACCESS_TOKEN_ENABLED feature flag () 2019-08-30 16:15:13 -04:00
Andrew Nicolaou
1f4bd581a8 Public API: Namespace private and public APIs ()
* Converts import script to use public API endpoints

The endpoints don't exist yet, but this is a good way to see how
the implementation of the data structures differ.

* Exposes public API endpoint to fetch user's sketches

* Implements public API delete endpoint

* Adds helper to create custom ApplicationError classes

* Adds create project endpoint that understand API's data structure

This transforms the nested tree of file data into a mongoose
Project model

* Returns '201 Created' to match API spec

* Removes 'CustomError' variable assignment as it shows up in test output

* transformFiles will return file validation errors

* Tests API project controller

* Tests toModel()

* Creates default files if no root-level .html file is provided

* Do not auto-generate a slug if it is provided

Fixes a bug where the slug was auto-generated using the sketch name,
even if a slug property had been provided.

* Validates uniqueness of slugs for projects created by the public API

* Adds tests for slug uniqueness

* Configures node's Promise implementation for mongoose (fixes warnings)

* Moves createProject tests to match controller location

* Adds support for code to ApplicationErrors

* deleteProject controller tests

* getProjectsForUser controller tests

- implements tests
- update apiKey tests to use new User mocks

* Ensure error objects have consistent property names

`message` is used as a high-level description of the errors
`detail` is optional and has an plain language explanation of the
individual errors
`errors` is an array of each individual problem from `detail` in a
machine-readable format

* Assert environment variables are provided at script start

* Version public API

* Expect "files" property to always be provided

* Fixes linting error

* Converts import script to use public API endpoints

The endpoints don't exist yet, but this is a good way to see how
the implementation of the data structures differ.

* Exposes public API endpoint to fetch user's sketches

* Implements public API delete endpoint

* Adds helper to create custom ApplicationError classes

* Adds create project endpoint that understand API's data structure

This transforms the nested tree of file data into a mongoose
Project model

* Returns '201 Created' to match API spec

* Removes 'CustomError' variable assignment as it shows up in test output

* transformFiles will return file validation errors

* Tests API project controller

* Tests toModel()

* Creates default files if no root-level .html file is provided

* Do not auto-generate a slug if it is provided

Fixes a bug where the slug was auto-generated using the sketch name,
even if a slug property had been provided.

* Validates uniqueness of slugs for projects created by the public API

* Adds tests for slug uniqueness

* Configures node's Promise implementation for mongoose (fixes warnings)

* Moves createProject tests to match controller location

* deleteProject controller tests

* Adds support for code to ApplicationErrors

* getProjectsForUser controller tests

- implements tests
- update apiKey tests to use new User mocks

* Ensure error objects have consistent property names

`message` is used as a high-level description of the errors
`detail` is optional and has an plain language explanation of the
individual errors
`errors` is an array of each individual problem from `detail` in a
machine-readable format

* Assert environment variables are provided at script start

* Version public API

* Expect "files" property to always be provided

* Fixes linting error

* Checks that authenticated user has permission to create under this namespace

Previously, the project was always created under the authenticated user's
namespace, but this not obvious behaviour.

* Splits private and public APIs

The private API is under /editor and the public API under /api
2019-08-30 14:39:45 -04:00