Commit Graph

22 Commits

Author SHA1 Message Date
Raymond Feng 89d48f609a Merge branch 'master' of https://github.com/shelbys/loopback-explorer into shelbys-master 2015-07-30 13:52:07 -07:00
Miroslav Bajtoš 74ac00c770 Move CSS customizations to loopbackStyles.css
Compare
  loopback-explorer:public/css/screen.css@f3d6cb9
against
  swagger-ui:dist/css/screen@e980cca
and move all changes to loopbackStyles.css
2015-07-08 15:41:48 +02:00
Shelby Sanders 1294b53f5c Merge remote-tracking branch 'upstream/master' into validate_param_enum
* upstream/master: (53 commits)
  1.8.0
  Add opts.omitProtocolInBaseUrl
  Fix tests broken by fa3035c (#96)
  Fix model description getting lost
  1.7.2
  Allow submitting token input with empty value to remove token.
  Fix duplicate stylesheet issue
  Fix explorer tests for different line endings on Windows
  1.7.1
  Remove unused external font "Droid Sans".
  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
  v1.6.4
  Prevent double slash in the resource URLs
  v1.6.3
  Allow `uiDirs` to be defined as a String
  Fix bad CLA URL in CONTRIBUTING.md
  Add X-UA-Compatible tag
  v1.6.2
  Move 200 response to `type` on the operation object. See #75.
  ...
2015-07-02 11:19:18 -07:00
Shelby Sanders 1bf7c27a56 Merge remote-tracking branch 'upstream/master' into validate_param_enum 2015-07-02 11:03:27 -07:00
Miroslav Bajtoš d212741638 loopbackStyles: improve spacing in small window
Improve spacing of page elements when the browser window is small.
2014-10-16 10:34:41 +02:00
Shelby Sanders 8563dd0463 Merge remote-tracking branch 'upstream/master'
* upstream/master:
  Sort endpoints by letter.
  Add syntax highlighting styles & highlight threshold.
  Add contribution guidelines
  Bump version
  Fix how the array of models is iterated
  Bump version
  Make sure nested/referenced models in array are mapped to swagger
  Make sure nested/referenced models are mapped to swagger
  Bump version
  Newest Swagger UI requires application/x-www-form-urlencoded.
  Use `dist` property from swagger-ui package.
  Fixed undefined modelClass when using polymorphic relations
  Bump version
  Fix the type name for a property if model class is used

Conflicts:
	lib/model-helper.js
	lib/swagger.js
	public/css/loopbackStyles.css
2014-10-07 11:57:15 -07:00
Samuel Reed ad68695009 Add syntax highlighting styles & highlight threshold.
Previously, highlighting classes were being added to the DOM but had no CSS
so the user just saw black - a lot of CPU usage for nothing.

These styles now attractively and minimally style resposes so long as
they are below a certain threshold, as well as model schemas.

The highlightSizeThreshold fixes the long hang users would
see when large responses were returned.
2014-10-07 11:07:41 +02:00
Shelby Sanders 2d6f7aebe8 Added padding to content well in order to counteract changes in SwaggerUI 2014-09-29 19:43:56 -07:00
Shelby Sanders 1a96d84035 Corrected issues with merge of 2.x changes 2014-08-04 20:09:07 -07:00
Shelby Sanders 9693150c8b Corrected issues with merge of 2.x changes 2014-08-04 20:04:41 -07:00
Shelby Sanders ae8858c66b Corrected issues with merge of 2.x changes 2014-08-04 20:02:00 -07:00
Shelby Sanders 24d77f027d Corrected issues with merge of 2.x changes 2014-08-04 19:56:58 -07:00
Shelby Sanders 696e387ff3 Corrected issues with merge of 2.x changes 2014-08-04 19:44:12 -07:00
Samuel Reed 86d79584f9 Load swagger ui from `swagger-ui` package instead.
Added option `swaggerDistRoot` for specific file overrides.

Conflicts:
	README.md
	example/simple.js
	index.js
	package.json
	public/css/screen.css
	public/images/logo_small.png
	public/index.html
	public/lib/loadSwaggerUI.js
2014-08-04 19:22:55 -07:00
Shelby Sanders 2c737d40b6 Merge remote-tracking branch 'upstream/master'
* upstream/master: (38 commits)
  Bump version
  res.send deprecated - updated to res.status
  Remove hidden properties from definition.
  Bump version
  Ensure models from relations are included
  1.2.4
  model-helper: handle arrays with undefined items
  1.2.3
  model-helper: handle array types with no item type
  Bump version
  Properly convert complex return types.
  Bump version
  Fix up loopback.rest() model definition hack.
  Bump version and update deps
  s/accessToken/access_token in authorization key name
  Fix resources if the explorer is at a deep path.
  Fix debug namespace, express version.
  Remove forgotten TODO.
  Simplify `accepts` and `returns` hacks.
  More consise type tests
  ...

Conflicts:
	public/css/loopbackStyles.css
	public/css/screen.css
	public/index.html
	public/lib/loadSwaggerUI.js
	public/lib/swagger.js
	public/swagger-ui.js
	public/swagger-ui.min.js
2014-08-04 18:11:36 -07:00
Shelby Sanders 15aa4e9ae5 Ensure Response Content Type is shown regardless of Response Class 2014-07-16 14:30:32 -07:00
Shelby Sanders ed044468f7 Reverted to use special loading logic from loopback-explorer 2014-07-14 21:57:39 -07:00
Shelby Sanders 5a07b80b6b Upgraded to latest Swagger-UI for 1.2 support 2014-07-12 23:04:13 -07:00
Samuel Reed a6afe13b08 Restore existing styles.
TODO extract overrides instead of replacing styles wholesale.
2014-07-09 12:03:34 -05:00
Samuel Reed 5f22982200 Allow easy setting of accessToken in explorer UI. 2014-07-09 11:45:44 -05:00
Samuel Reed 56003f0178 Load swagger ui from `swagger-ui` package instead.
Added option `swaggerDistRoot` for specific file overrides.
2014-07-04 14:28:47 -05:00
Ritchie Martori f3d6cb9b54 Initial explorer 2013-11-05 11:16:59 -08:00