Commit Graph

414 Commits

Author SHA1 Message Date
Miroslav Bajtoš 4e85f2b739 Merge pull request #87 from strongloop/fix/remove-unused-remote-font
Remove unused external font "Droid Sans".
2015-02-23 18:28:29 +01:00
Miroslav Bajtoš 6028f70fda Remove unused external font "Droid Sans".
We are shipping a custom style that uses "Ubuntu" instead of "Droid
Sans", thus there is no need to download the "Droid Sans" font
from Google's CDN.

This change should improve explorer's loading time in the situations
where the external URL takes too long to load or cannot be loaded at
all, for example when running behind a restricting proxy.
2015-02-18 15:14:41 +01:00
Raymond Feng 8e82a5cabd 1.7.0
* Made API doc of class use the http.path of the class if available, or the name of the class as a fallback (gandrianakis)
2015-02-17 08:50:11 -08:00
Raymond Feng 5e60df025a Merge pull request #86 from geoand/fix/resourcePath
Made API doc of class use the http.path of the class if available
2015-02-17 08:46:16 -08:00
gandrianakis 16c54c038e Made API doc of class use the http.path of the class if available, or the name of the class as a fallback 2015-02-17 17:23:32 +02:00
Shelby Sanders fa0c8d160a Merge branch 'master' of github.com:shelbys/loopback-explorer
* 'master' of github.com:shelbys/loopback-explorer:
  Changed Swagger() to omit resources with no content
2015-02-07 22:59:08 -08:00
Shelby Sanders 24146313ec Changed Swagger() to omit resources with no content 2015-02-07 22:59:00 -08:00
Shelby Sanders 5902425f52 Changed Swagger() to omit resources with no content 2015-02-07 22:58:30 -08:00
Shelby Sanders 3ca1f45a77 Added event emission for swaggerResources to support customization 2015-02-07 14:40:15 -08:00
Shelby Sanders 3bd1e4440d Corrected handling of type for operation, including containers 2015-01-09 21:53:37 -08:00
Shelby Sanders 5fcc411c06 Corrected handling for absent settings.additionalProperties 2015-01-09 21:52:57 -08:00
Miroslav Bajtoš 4d4ac3860f Merge tag 'v1.6.4'
1.6.4

 * Prevent double slash in the resource URLs (Miroslav Bajtoš)

 * Allow `uiDirs` to be defined as a String (Simon Ho)

 * Save accessToken in localStorage. Fixes #47 (Samuel Reed)
2015-01-09 14:48:11 +01:00
Miroslav Bajtoš 113d06c972 Merge branch 'release/1.6.4' into production 2015-01-09 14:48:08 +01:00
Miroslav Bajtoš 79e21fde10 v1.6.4 2015-01-09 14:48:07 +01:00
Miroslav Bajtoš baa60522ca Merge pull request #84 from strongloop/fix/api-root-at-root
Prevent double slash in the resource URLs
2015-01-09 14:47:33 +01:00
Miroslav Bajtoš c6693f8725 Prevent double slash in the resource URLs
SwaggerUI builds resource URL by concatenating basePath + resourcePath.
Since the resource paths are always startign with a slash, if the
basePath ends with a slash too, an incorrect URL is produced.
This was typically happenning when `restApiRoot` was '/'.

This commit modifies the code producing the base path to remove
the trailing slash.
2015-01-09 14:45:46 +01:00
Simon Ho 409dfdc2bb Merge pull request #83 from strongloop/feature/allow-string-in-uidirs
Allow `uiDirs` to be defined as a String
2015-01-07 17:57:38 -08:00
Raymond Feng 9a9b7899a0 Merge pull request #72 from STRML/lsToken
Save accessToken in localStorage. Fixes #47
2015-01-06 09:41:46 -08:00
Miroslav Bajtoš 77e790173e Merge tag 'v1.6.3'
1.6.3

 * Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham)

 * Add X-UA-Compatible tag (Nick Van Dyck)
2015-01-06 09:23:13 +01:00
Miroslav Bajtoš 840789d274 Merge branch 'release/1.6.3' into production 2015-01-06 09:23:11 +01:00
Miroslav Bajtoš cbf3b36aef v1.6.3 2015-01-06 09:23:09 +01:00
Miroslav Bajtoš 348c01eb6a Merge pull request #82 from vdyckn/patch-1
Add X-UA-Compatible tag
2015-01-06 09:22:32 +01:00
Simon Ho e825c4b49f Allow `uiDirs` to be defined as a String 2014-12-31 13:49:06 -08:00
Ryan Graham 15ffe02e1b Fix bad CLA URL in CONTRIBUTING.md 2014-12-29 08:27:46 -08:00
Nick Van Dyck 4aa5fd372f Add X-UA-Compatible tag
Allows people to open the explorer in IE without constantly changing the document mode.
2014-12-26 20:56:15 +01:00
Miroslav Bajtoš f8c5d14281 Merge tag 'v1.6.2'
1.6.2

 * Move 200 response to `type` on the operation object. See #75. (Samuel Reed)
2014-12-12 13:56:55 +01:00
Miroslav Bajtoš 453485da08 Merge branch 'release/1.6.2' into production 2014-12-12 13:56:53 +01:00
Miroslav Bajtoš b540651658 v1.6.2 2014-12-12 13:56:52 +01:00
Miroslav Bajtoš ef9fcda238 Merge pull request #80 from STRML/typeAttr
Move 200 response to `type` on the operation object. See #75.
2014-12-12 13:56:14 +01:00
Samuel Reed 28a5a2619a Move 200 response to `type` on the operation object. See #75. 2014-12-12 13:48:58 +01:00
Miroslav Bajtoš 53840d182c Merge tag 'v1.6.1'
1.6.1

 * Use full lodash instead of lodash components (Ryan Graham)
2014-12-08 08:10:12 +01:00
Miroslav Bajtoš 98e53069db Merge branch 'release/1.6.1' into production 2014-12-08 08:10:10 +01:00
Miroslav Bajtoš f3480f857c v1.6.1 2014-12-08 08:10:06 +01:00
Miroslav Bajtoš b035e1472c Merge pull request #78 from strongloop/feature/lodash-diet
Use full lodash instead of lodash components
2014-12-03 08:22:11 +01:00
Ryan Graham 6b5a016c59 Use full lodash instead of lodash components
This change trims 134 modules from the dependency tree, many of which
were duplicate depdencies between the 4 lodash.function modules used
and their sub-dependencies.

Before:
$ npm ls | wc -l
     494
$ du -sch node_modules/lodash*
 432K   node_modules/lodash.assign
 660K   node_modules/lodash.clonedeep
  96K   node_modules/lodash.defaults
 980K  node_modules/lodash.pick
 2.1M  total

After:
$ npm ls | wc -l
     360
$ du -sch node_modules/lodash*
964K   node_modules/lodash
964K   total
2014-12-02 19:14:58 -08:00
Miroslav Bajtoš 0b99b3f6f1 Merge tag 'v1.6.0'
1.6.0

 * Remove model name from nickname, swagger spec understands op context. (Samuel Reed)
2014-12-02 09:08:47 +01:00
Miroslav Bajtoš 096699d57f Merge branch 'release/1.6.0' into production 2014-12-02 09:08:45 +01:00
Miroslav Bajtoš 33d0ac9531 v1.6.0 2014-12-02 09:08:43 +01:00
Samuel Reed fe434e7ee9 Merge pull request #73 from STRML/nickname
Remove model name from nickname, swagger spec understands op context.
2014-12-01 21:29:27 +01:00
Miroslav Bajtoš 1922a27fe1 Merge tag 'v1.5.2'
1.5.2

 * model-helper: ignore unknown property types (Miroslav Bajtoš)
2014-11-29 12:11:34 +01:00
Miroslav Bajtoš 95e458c09b Merge branch 'release/1.5.2' into production 2014-11-29 12:11:32 +01:00
Miroslav Bajtoš 22cf27dac8 v1.5.2 2014-11-29 12:11:31 +01:00
Miroslav Bajtoš 738928e622 Merge pull request #77 from strongloop/fix/skip-unknown-property-types
model-helper: ignore unknown property types
2014-11-29 12:10:15 +01:00
Samuel Reed 8147ba5821 Remove model name from nickname, swagger spec understands op context.
This removes the redundancy from paths in swagger-ui such as
`/api/user/user_login`. It will now be displayed simply as
`/api/user/login`.

This is consistent with how `nickname` is used in Swagger examples.

Added tests to route nickname processing.
2014-11-29 12:07:58 +01:00
Miroslav Bajtoš 4e5cbe43f9 model-helper: ignore unknown property types 2014-11-29 12:05:12 +01:00
Samuel Reed ce76f17ee1 Save accessToken in localStorage. Fixes #47 2014-11-10 10:11:25 +00:00
Shelby Sanders 9de19e851e Merge branch 'master' of github.com:shelbys/loopback-explorer
* 'master' of github.com:shelbys/loopback-explorer:
  added reference to settings for additional properties
2014-11-07 20:47:30 -08:00
Shelby Sanders 4a40f18251 Added support for public in order to hide operations from Swagger 2014-11-07 20:47:20 -08:00
Shelby Sanders ed22de9daf Merge pull request #2 from shelbys/additional_properties_patch
added reference to settings for additional properties
2014-10-28 19:40:00 -07:00
Jake Ayala 657f5e2119 added reference to settings for additional properties 2014-10-28 19:21:47 -07:00