Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
2015 commits
Select commit Hold shift + click to select a range
fbfa8a4
Don't attempt to autogenerate session secrets.
mikermcneil Mar 2, 2017
896097d
Use process.env.NODE_ENV so that envs like staging can fully emulate …
mikermcneil Mar 2, 2017
44cb9c7
Merge branch 'master' of github.com:balderdashy/sails
mikermcneil Mar 2, 2017
453831d
Disabling sessions is a thing you can do.
mikermcneil Mar 2, 2017
b3b9b8d
Merge branch 'origin/module-loader-only-js' of https://github.com/lui…
mikermcneil Mar 2, 2017
de06b36
trivial
mikermcneil Mar 2, 2017
ef68d5a
Adjust tests to account for action routing being turned off by default
sgress454 Mar 2, 2017
7c34d3f
Set session secret automatically in development mode
sgress454 Mar 2, 2017
ac846a1
Ditch Lodash chaining in blueprints hook
sgress454 Mar 2, 2017
ae902c9
Made variable names more explicit, piggish, and unrepentant
mikermcneil Mar 2, 2017
403f18f
Merge branch 'master' into file-extensions
mikermcneil Mar 2, 2017
7c64e0c
Merge branch 'file-extensions'
mikermcneil Mar 2, 2017
62aecf6
Improvements to Sails CLI + wired in the upgrade checker.
mikermcneil Mar 3, 2017
3fb856d
Update ROADMAP.md
sgress454 Mar 3, 2017
c152229
Fix code that checks Grunt config
sgress454 Mar 3, 2017
7207ad5
1.0.0-29
mikermcneil Mar 4, 2017
3987879
fix: lift timeout error wording in http hook
Mar 5, 2017
4bc8fc4
Bump Express version
sgress454 Mar 6, 2017
9276315
1.0.0-30
sgress454 Mar 6, 2017
3819925
Get rid of --save-dev recommendation in warning message.
mikermcneil Mar 6, 2017
edcea22
Follow up clarification for prev. commit.
mikermcneil Mar 6, 2017
20a21ba
Use consistent recommendation for where command-line options go.
mikermcneil Mar 6, 2017
5927068
Emphasize resolution
mikermcneil Mar 6, 2017
a70286a
Deprecate `customMiddleware`
sgress454 Mar 6, 2017
ae6c00d
Merge pull request #4024 from vvm-broadsoft/http-hook-error-wording
sgress454 Mar 9, 2017
2a610a3
Use `schema: true` in tests
sgress454 Mar 9, 2017
97e8f3d
remove wl-criteria from list (and delete some commented out stuff tha…
mikermcneil Mar 10, 2017
18235be
waterline logo
mikermcneil Mar 10, 2017
d33c705
fix waterline logo
mikermcneil Mar 10, 2017
aacc80b
Update Redis session config keys to match docs
sgress454 Mar 10, 2017
da08178
Test Redis sessions w/ passwords
sgress454 Mar 10, 2017
57b3408
NODE_ENV only has special meaning if it === 'production'
mikermcneil Mar 11, 2017
24a496d
Bring in boilerplate .eslintrc and wire it up in package.json.
mikermcneil Mar 12, 2017
c75e200
Make eslint a bit stricter about edge cases around eqeqeq.
mikermcneil Mar 12, 2017
35de045
Fix problem surfaced by eslint (originally introduced in https://gith…
mikermcneil Mar 12, 2017
31417a3
Fix another bug (this time a very old one) -- again, surfaced by lint…
mikermcneil Mar 12, 2017
7e8fc34
Fixes another very old bug, again surfaced by lint (this one was all …
mikermcneil Mar 12, 2017
0a8b7d5
One last fix for an old bug surfaced by eslint (introduced in https:/…
mikermcneil Mar 12, 2017
f08f300
Address node 0.x (https://github.com/balderdashy/sails/pull/4041#issu…
mikermcneil Mar 13, 2017
2303b06
Add optional callback to `reload` method in helpers hook
sgress454 Mar 13, 2017
6edaf5c
Change from `sails.after` to `sails.on` in i18n hook.
sgress454 Mar 13, 2017
10e2bcd
Upgrade machine-as-action
sgress454 Mar 16, 2017
45de5fa
1.0.0-31
mikermcneil Mar 16, 2017
48cb0f9
Use default limit in "find" and "populate" blueprints
sgress454 Mar 16, 2017
cea7a34
Add try/catch and more helpful error around "pluralize" calls
sgress454 Mar 16, 2017
3e9da14
Move logs after the spot where `ids` would be set
sgress454 Mar 16, 2017
c218d58
Explicitly handle a few common error codes to avoid unnecessarily pri…
mikermcneil Mar 16, 2017
2a56163
Add public `.getRoomName()` RPS method for models
sgress454 Mar 16, 2017
b5af326
Merge branch 'master' into lint
mikermcneil Mar 16, 2017
5a2f5e1
Allow global '*' policy to be overridden
sgress454 Mar 17, 2017
35bb4cb
Merge branch 'master' into lint
mikermcneil Mar 19, 2017
839d4a4
Autofix some of the basic stuff, with some by-hand tweaks to align co…
mikermcneil Mar 19, 2017
29a3be7
Minor tweak for clarity: _.isFunction() and 'undefined'
mikermcneil Mar 19, 2017
8a2adad
Deal with all violations of 'callback-return' eslint rule.
mikermcneil Mar 19, 2017
f59e18e
Deal with violations of 'curly' eslint rule.
mikermcneil Mar 19, 2017
74963a4
Clarify comments, reorder requires.
mikermcneil Mar 19, 2017
ef05791
Performance: Replace occurrence of mixed-use arguments[...] and direc…
mikermcneil Mar 19, 2017
759f932
Fix: Split 'var' declarations into multiple statements.
mikermcneil Mar 19, 2017
6cba9e4
Fix eqeqeq
mikermcneil Mar 19, 2017
f514a6d
Fix no-return-assign
mikermcneil Mar 19, 2017
a404db9
Remove special res._cb() error.
mikermcneil Mar 19, 2017
5c9d5fb
Dealt with no unexpected-multi-line
mikermcneil Mar 19, 2017
8717148
Fix undefined variable (actionName) in an error messsage.
mikermcneil Mar 19, 2017
dee513d
Handle unhandled exception from includeAll in loadHelpers() utility.
mikermcneil Mar 19, 2017
831202d
Added note for future
mikermcneil Mar 19, 2017
7599dbd
Deal with lingering use of 'res' in default parseBlueprintOptions() i…
mikermcneil Mar 19, 2017
68f82d7
More inline docs (and added a TODO to check back on)
mikermcneil Mar 19, 2017
565d5ae
Deal with two more no-undef occurences caught by eslint
mikermcneil Mar 19, 2017
181fb44
Expand inline documentation.
mikermcneil Mar 19, 2017
ba22ba8
Fix the rest of the occurrences no-undef.
mikermcneil Mar 19, 2017
cca49b8
Attend to every no-unused-vars occurrence surfaced by eslint. At thi…
mikermcneil Mar 19, 2017
3cb0c94
Took care of last remaining eslint fixes (for camelcase warning).
mikermcneil Mar 19, 2017
13d3c5d
Fix logic error introduced by https://github.com/balderdashy/sails/pu…
mikermcneil Mar 19, 2017
acf761d
Merge pull request #4038 from balderdashy/lint
mikermcneil Mar 20, 2017
3b770e3
Fix tests on windows.
mikermcneil Mar 20, 2017
f477f27
Completely remove legacy support for res.send(statusCode, body) and r…
mikermcneil Mar 20, 2017
0e528d9
Added a few new tests to verify the previous commit; including one fa…
mikermcneil Mar 20, 2017
d683db4
Added tests for a bunch more edge cases.
mikermcneil Mar 20, 2017
2c7870b
Add verified test cases.
mikermcneil Mar 20, 2017
52c2de7
Implement proper content-type response header in VR interpreter for w…
mikermcneil Mar 20, 2017
4860d25
Fix typo that was making other tests fail.
mikermcneil Mar 20, 2017
f9a8b85
With all of the new VR interpreter tests passing, enable the rest of …
mikermcneil Mar 20, 2017
542a0b3
Attend to a couple of other spots in VR interpreter where content-typ…
mikermcneil Mar 20, 2017
1dbc810
1.0.0-32
sgress454 Mar 21, 2017
b3ea7c8
Add adapter info to Issues template
luislobo Mar 21, 2017
032af73
Allow controllers with the word "Controller" in the name (e.g. `Micro…
sgress454 Mar 22, 2017
3a14abc
Fix the emit('ready') comment, as it now is an important part of Sails
luislobo Mar 23, 2017
2ffdd2d
soften error msg language
mikermcneil Mar 29, 2017
81d1438
Add warnings in production about `sails.config.session.cookie.secure`…
sgress454 Mar 29, 2017
e4abb4a
Set all links in log messages in the sessions hook to use HTTPS
sgress454 Mar 29, 2017
ea85e10
Add extra line break after log about setting env to "production"
sgress454 Mar 29, 2017
2b3709c
Merge pull request #3985 from balderdashy/update-sails-console-to-wor…
sgress454 Mar 30, 2017
363733a
Add sails.getRc().
mikermcneil Apr 5, 2017
bdf4e50
1.0.0-33
mikermcneil Apr 5, 2017
66f6a92
Merge pull request #4058 from luislobo/fix-comments-about-emit-ready
mikermcneil Apr 8, 2017
61105b4
Specify empty `locals` when attempting to render 404 page.
sgress454 Apr 10, 2017
f108c4b
Set locals to empty dict and log warning if `res.view(path, cb)` is u…
sgress454 Apr 10, 2017
94862b2
Add shortcuts for common automigration settings.
mikermcneil Apr 18, 2017
4e75553
Merge pull request #4078 from balderdashy/automigration-shortcuts
mikermcneil Apr 19, 2017
0cc3036
Trivial (normalize to conventional require order)
mikermcneil Apr 19, 2017
82442a6
Add comments for clarity
mikermcneil Apr 19, 2017
d23b574
Add an indication of how long it took each hook to load (when verbose…
mikermcneil Apr 19, 2017
72f3ff4
var self = this; instead of .bind() (purely to avoid triggering my f…
mikermcneil Apr 19, 2017
fad8cbf
Avoid swallowing error message, just in case.
mikermcneil Apr 19, 2017
3be3e7c
Add more context to verbose error message that gets logged if there i…
mikermcneil Apr 19, 2017
57594b3
Improve verbose logging.
mikermcneil Apr 19, 2017
d8a5ef7
Upgrade machine-as-action
sgress454 Apr 29, 2017
7d640cb
1.0.0-34
sgress454 Apr 29, 2017
9513662
Remove comment w/ old usage
mikermcneil Apr 30, 2017
01df63c
Error message improvement.
mikermcneil May 1, 2017
0c727c5
initial stubbing out - lots of todos still
mikermcneil May 4, 2017
efc6058
Finished basic impl, without support for MaS yet
mikermcneil May 4, 2017
c9e4507
Fix file extension bug and finish up support for script definitions. …
mikermcneil May 5, 2017
de7646d
Added 'sails test' and 'sails lint' shortcuts.
mikermcneil May 5, 2017
0b6de12
fix rendering
mikermcneil May 8, 2017
561a8e7
Add a few notes and TODOs
mikermcneil May 10, 2017
4b3543d
Add TODO about potential issue with regexp routes and socket requests
mikermcneil May 10, 2017
b90b098
More consolidation of todos.
mikermcneil May 10, 2017
d09ba9e
Implement better support for unhandled rejections from an async/await…
mikermcneil May 10, 2017
a19393b
Merge branch 'master' into scripts
mikermcneil May 10, 2017
e674646
Initial expansion of exec into spawn, based on npm run-script. This …
mikermcneil May 12, 2017
18b0328
Finish cleaning up from previous commit. As of now, output from a sc…
mikermcneil May 12, 2017
47986fe
Remove unused comment for clarity.
mikermcneil May 12, 2017
979a0e8
Avoid unnecessary requiring to optimize the load time a bit
mikermcneil May 12, 2017
ea56b49
Don't attempt to show view in notFound / serverError response if view…
sgress454 May 23, 2017
48996b0
1.0.0-35
sgress454 May 24, 2017
4d0ee90
Add `i18n` function back to sails global and res.locals.
sgress454 May 30, 2017
0243bb0
Add `req.getLocale()` and `req.setLocale()`.
sgress454 May 30, 2017
fa77b25
Merge branch 'master' into scripts
mikermcneil May 31, 2017
1e35b65
For Node v6,7,8 and up: Better handling of Error instances in produc…
mikermcneil May 31, 2017
6eb0ea3
Node 6,7,8+: Add failsafe to prevent displaying stack traces if an Er…
mikermcneil May 31, 2017
909712d
Run tests on Node v8
mikermcneil May 31, 2017
b6c2a89
Merge branch 'master' into scripts
mikermcneil May 31, 2017
b49d361
1.0.0-36
mikermcneil May 31, 2017
daa52cd
Merge branch 'master' into scripts
mikermcneil Jun 7, 2017
4f1af1d
Reducing the log severity of redis disconnect and reconnect to verbose
davidjconnolly Jun 19, 2017
286700f
Fixing onRedisReconnect function name
davidjconnolly Jun 19, 2017
7abf510
fixing typo
davidjconnolly Jun 19, 2017
ad87f68
Session hook: ability to overwrite resave and saveUninitialized options.
vadim-zverugo Jun 19, 2017
8cf4a6d
Merge branch 'master' of https://github.com/opencare-admin/sails
davidjconnolly Jun 19, 2017
27092d1
fix error when delete records without populate association
elesdoar Jun 22, 2017
fdaa00d
fix error when delete records without populate association fix #4130
elesdoar Jun 22, 2017
19dfa4d
Merge branch 'master' of github.com:elesdoar/sails
elesdoar Jun 22, 2017
4496787
Add test for #4138
sgress454 Jun 29, 2017
cb761d4
Merge branch 'master' of https://github.com/elesdoar/sails into elesd…
sgress454 Jun 29, 2017
843a6f4
Merge branch 'elesdoar-master'
sgress454 Jun 29, 2017
25da60f
Rename callback in `reloadActions` for clarity
sgress454 Jun 30, 2017
727b67b
Ignore lock file
sgress454 Jun 30, 2017
bd33696
Merge branch 'scripts'
mikermcneil Jul 11, 2017
8ddb24d
Default bootstrap timeout => 5 seconds (instead of 2). Better defaul…
mikermcneil Jul 11, 2017
8dff7a0
ES8 async/await: Better handling for uncaught rejections in bootstrap…
mikermcneil Jul 11, 2017
70dd142
Fix typo from 8dff7a0ce8bccc5aaf09e00bbfddcf2cdb4e8d1f
mikermcneil Jul 11, 2017
0ee9f9c
Restore ability to specify default value in `req.param()`
sgress454 Jul 11, 2017
3192284
Add notes about uncaught rejections from bluebird, and about why we e…
mikermcneil Jul 12, 2017
1a34a30
Bump machine runner and machine-as-action dep to allow for better han…
mikermcneil Jul 13, 2017
8d1ea8a
Tolerate whitespace before verb and before and after path in `config/…
sgress454 Jul 21, 2017
f294e0a
Use `.switch()` in helpers test.
sgress454 Jul 21, 2017
15b5fce
Warn about routes ending in pattern vars / wildcards without explicit…
sgress454 Jul 21, 2017
97662c1
Handle errors thrown in asynchronous actions.
sgress454 Aug 1, 2017
ffcfefa
Added test for successful async action.
sgress454 Aug 1, 2017
acbb840
Force bump sg dep
mikermcneil Aug 2, 2017
ba42653
In exposeLocalsToBrowser, pass through everything in res.locals too, …
mikermcneil Aug 4, 2017
09f3d3e
Replace use of Lodash `.bind()` with native version.
sgress454 Aug 8, 2017
99c93cf
Allow extra args (like `--verbose`) to be passed along to `sails debug`
sgress454 Aug 9, 2017
fdaf9bb
Merge branch 'sails-debug-console' of https://github.com/jeff-kilbrid…
sgress454 Aug 9, 2017
e67d1f7
Pass command-line arguments through to debug-console via the `cmd` ar…
sgress454 Aug 9, 2017
d006b80
Don't check for node-inspector anymore when running `sails debug`.
sgress454 Aug 9, 2017
2095a87
Don't check for node-inspector anymore when running `sails debug`. A…
sgress454 Aug 9, 2017
516c107
Updated template with "DB adapter *"
luislobo Aug 10, 2017
1f43c1c
Allowing onRedisConnect and Disconnect functions to override error ha…
davidjconnolly Aug 11, 2017
d936ee1
Merge pull request #1 from opencare-admin/address_sailsteam_feedback
davidjconnolly Aug 11, 2017
2b4c645
Merge pull request #4129 from opencare-admin/master
sgress454 Aug 11, 2017
4aff8d7
Add https://trello.com/c/yM9WPxzr/107-waterline-fs2q-tolerate-a-subcr…
sgress454 Aug 14, 2017
4b25fb5
For consistency, wrap calls to an action's `fn` in a try/catch
sgress454 Aug 14, 2017
f8087b8
Update bind.js
sgress454 Aug 15, 2017
a52b591
Bump version on master branch to be consistent with published version.
sgress454 Aug 22, 2017
496d97d
Switch test to use `.exec` until `.switch` officially works
sgress454 Aug 23, 2017
42f1b2e
Add many-to-many association blueprint tests
sgress454 Aug 23, 2017
56d6b97
Fix hardcoded value in `replace` blueprint
sgress454 Aug 23, 2017
254e0e4
Well, that time came awful quick.
sgress454 Aug 23, 2017
ea52de9
Clarify usage in res.forbidden impl.
mikermcneil Sep 6, 2017
3404b49
Test for errors in "lower" during Redis tests
sgress454 Sep 6, 2017
bdc0683
Remove old stuff I missed back in https://github.com/balderdashy/sail…
mikermcneil Sep 13, 2017
bc02c31
Merge pull request #4052 from luislobo/patch-3
sgress454 Sep 18, 2017
05833d4
Add note about .type prop on E_HOOKINIT_DEP and E_VIEW_INFER errors.
mikermcneil Sep 24, 2017
15300fa
Merge branch 'master' of github.com:balderdashy/sails
mikermcneil Sep 24, 2017
05c77bd
Changed the way the app exits with sails console.
Maelstrom96 Oct 2, 2017
a16d55f
Merge pull request #1 from lmg-git/Fix-for-#4198
Maelstrom96 Oct 2, 2017
716fd37
Tweak for latest runner
mikermcneil Oct 9, 2017
bf4b4ce
Fix for machine@15, which throws implementation error if identity, fr…
mikermcneil Oct 9, 2017
bb604a9
example=>outputExample
mikermcneil Oct 9, 2017
4387b8d
Add pass-through __ and i18n functions when i18n hook de-activates it…
sgress454 Oct 11, 2017
2373d08
Skip compatibility checks in `sails upgrade` when running in `reportO…
sgress454 Oct 12, 2017
52df32f
Allow dots in module filenames.
sgress454 Oct 12, 2017
11defad
windows test running instructions
mikermcneil Oct 13, 2017
7450f02
Fix alternative spelling
sgress454 Oct 13, 2017
b92d4b5
Update help text for Sails CLI commands
sgress454 Oct 13, 2017
5c40c7d
Merge pull request #4199 from lmg-git/master
sgress454 Oct 13, 2017
fd62ee2
Provide a `toJSON` for blueprint usage errors
sgress454 Oct 16, 2017
280351b
Expand criteria for `skipAssets` warning, and use warn log level
sgress454 Oct 16, 2017
5e17c29
Update dependencies
sgress454 Oct 17, 2017
a5b7e8e
Use the locally-installed grunt for doing `sails www`
sgress454 Oct 17, 2017
3e57a39
Log a warning for any action middleware bound to non-existent actions
sgress454 Oct 17, 2017
c131055
Add a pass-through "alwaysAllow" policy
sgress454 Oct 17, 2017
abc0087
1.0.0-38
sgress454 Oct 18, 2017
a5fa1c7
alwaysAllow function name should not be neverAllow
luislobo Oct 19, 2017
17f1197
Merge pull request #4219 from luislobo/patch-3
sgress454 Oct 19, 2017
b10e7d8
Add --redis command-line shortcut (i.e. --session.adapter=connect-re…
mikermcneil Oct 21, 2017
04c0c91
Refactor formatting of UsageError into blueprints hook
sgress454 Oct 22, 2017
0933369
parting in such sweet sorry
sgress454 Oct 22, 2017
2bb6151
Add support and tests for async "initialize" fn in hooks
sgress454 Oct 23, 2017
7b46f48
Bend over backwards for Node 4 ;)
sgress454 Oct 24, 2017
ba237f7
Wrap all config errors in `flaverr`, and don't show stack trace for e…
sgress454 Oct 26, 2017
1de5fa8
Same as https://github.com/node-machine/machine/commit/8c4c2d81005959…
mikermcneil Oct 28, 2017
c15efe6
Initial pass at swapping out MaS for 'whelk'
mikermcneil Nov 3, 2017
aaed74f
A few minor tweaks
mikermcneil Nov 3, 2017
635ec44
Bring mock-req and mock-res inline.
mikermcneil Nov 3, 2017
fe136d8
Clean up ROADMAP, get rid of REPOS.md, and add inline reminder about …
mikermcneil Nov 3, 2017
466cd62
Bump skipper dep, and normalize to a caret (even though it's effectiv…
mikermcneil Nov 3, 2017
f5b501a
1.0.0-39
mikermcneil Nov 3, 2017
4223b5c
Update dependencies that can be updated.
sgress454 Nov 3, 2017
1826f27
Turn off sockets hook in production lift test
sgress454 Nov 4, 2017
86e1cb4
Turn off sockets hook in other production tests
sgress454 Nov 4, 2017
b88c3ba
Change 'lift failed' message suffix to only log in 'silly' mode, to a…
mikermcneil Nov 4, 2017
4849c51
Adjust tests to account for new default homepage view location
sgress454 Nov 4, 2017
aff278b
Update badge links
sgress454 Nov 4, 2017
4c98f0a
Couple more badge updates
sgress454 Nov 4, 2017
7a7f271
Fix https://trello.com/c/UJSSj0BK and revert accidental dependency de…
mikermcneil Nov 5, 2017
ce7fb14
Negotiate E_FAILED_TO_LOAD_SAILS error to improve console output in s…
mikermcneil Nov 5, 2017
27711d0
1.0.0-40
mikermcneil Nov 5, 2017
a32337f
Handle `initialize` and `configure` hook method errors in the next tick
sgress454 Nov 5, 2017
2de57de
Update README.md
mikermcneil Nov 5, 2017
0bfc7b5
Remove language about upgrade tool only being available to Flagship u…
sgress454 Nov 5, 2017
6646fcc
Don't throw error if upgrading when Sails dep is already v1
sgress454 Nov 5, 2017
ab28d09
Add some additional lift-time info.
mikermcneil Nov 7, 2017
ae0e132
Pick up log colors in prod
mikermcneil Nov 7, 2017
201800c
Give tests their own .eslintrc
sgress454 Nov 9, 2017
cdf46a0
Add ability to parse array route syntax in `getRouteFor`
sgress454 Nov 9, 2017
fdd7dd7
Add no-use-before-define rule to eslintrc.
mikermcneil Nov 12, 2017
180ecfd
Bump eslint devdep.
mikermcneil Nov 12, 2017
6ec9376
Clean up renderView() a bit, and add deprecation warning log to res.g…
mikermcneil Nov 12, 2017
ab4080b
Remove two unnecessary cloneDeeps, improve comments, add TODOs, and a…
mikermcneil Nov 12, 2017
28e619b
Move locale-setting code in renderView() up so that it actually does …
mikermcneil Nov 12, 2017
a7830e0
Add 'await' support to sails.renderView().
mikermcneil Nov 12, 2017
6482c70
Remove comment which is no longer relevant
mikermcneil Nov 12, 2017
fb13a40
Add note about exposeLocalsToBrowser not being available in sails.ren…
mikermcneil Nov 12, 2017
5709aed
Push out handling of load errors to whelk, and add note about the REPL
mikermcneil Nov 21, 2017
4b0daa6
Bump whelk SVR as an accompaniment to 5709aed7b3d5f9199e2dbd83a6bf0ca…
mikermcneil Nov 21, 2017
c2bf06c
1.0.0-41
mikermcneil Nov 21, 2017
9b9e93a
Update eslint dev dep, normalize rules, and clean things up accordingly.
mikermcneil Nov 24, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use schema: true in tests
  • Loading branch information
sgress454 committed Mar 9, 2017
commit 2a610a358df3145c6d96747cadbad7830ed799c1
1 change: 0 additions & 1 deletion test/integration/fixtures/sampleapp/api/models/Empty.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
schema: false,
attributes: {
foo: 'string'
}
Expand Down
1 change: 0 additions & 1 deletion test/integration/fixtures/sampleapp/api/models/Pet.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
schema: true,
primaryKey: 'pet_id',
attributes: {
id: false,
Expand Down
1 change: 0 additions & 1 deletion test/integration/fixtures/sampleapp/api/models/Quiz.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
schema: false,
attributes: {
bar: 'string'
}
Expand Down
1 change: 0 additions & 1 deletion test/integration/fixtures/sampleapp/api/models/User.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
schema: true,
primaryKey: 'user_id',
attributes: {
id: false,
Expand Down
3 changes: 2 additions & 1 deletion test/integration/fixtures/sampleapp/config/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ module.exports = {
}
},
models: {
migrate: 'alter'
migrate: 'alter',
schema: true
},
globals: false
};
9 changes: 3 additions & 6 deletions test/integration/hook.blueprints.restful.routes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('blueprints :: ', function() {
},
models: {
migrate: 'drop',
schema: false,
schema: true,
attributes: {
createdAt: { type: 'number', autoCreatedAt: true, },
updatedAt: { type: 'number', autoUpdatedAt: true, },
Expand Down Expand Up @@ -156,7 +156,7 @@ describe('blueprints :: ', function() {
},
models: {
migrate: 'drop',
schema: false,
schema: true,
attributes: {
createdAt: { type: 'number', autoCreatedAt: true, },
updatedAt: { type: 'number', autoUpdatedAt: true, },
Expand Down Expand Up @@ -231,7 +231,7 @@ describe('blueprints :: ', function() {
},
models: {
migrate: 'drop',
schema: false,
schema: true,
attributes: {
createdAt: { type: 'number', autoCreatedAt: true, },
updatedAt: { type: 'number', autoUpdatedAt: true, },
Expand Down Expand Up @@ -941,7 +941,6 @@ describe('blueprints :: ', function() {
moduleDefinitions: {
models: {
user: {
schema: true, // So that `omit` works
attributes: {
name: 'string',
favoriteColor: 'string',
Expand Down Expand Up @@ -1163,7 +1162,6 @@ describe('blueprints :: ', function() {
orm: {
moduleDefinitions: {
models: {
schema: true, // so that `omit` works
user: {
attributes: {
name: 'string',
Expand All @@ -1174,7 +1172,6 @@ describe('blueprints :: ', function() {
}
},
pet: {
schema: true, // so that `omit` works
attributes: {
name: 'string',
animal: 'string',
Expand Down
5 changes: 3 additions & 2 deletions test/integration/hook.blueprints.shortcut.routes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('blueprints :: ', function() {
},
models: {
migrate: 'drop',
schema: false,
schema: true,
attributes: {
createdAt: { type: 'number', autoCreatedAt: true, },
updatedAt: { type: 'number', autoUpdatedAt: true, },
Expand Down Expand Up @@ -157,7 +157,7 @@ describe('blueprints :: ', function() {
},
models: {
migrate: 'drop',
schema: false,
schema: true,
attributes: {
createdAt: { type: 'number', autoCreatedAt: true, },
updatedAt: { type: 'number', autoUpdatedAt: true, },
Expand Down Expand Up @@ -232,6 +232,7 @@ describe('blueprints :: ', function() {
},
models: {
migrate: 'drop',
schema: true,
attributes: {
createdAt: { type: 'number', autoCreatedAt: true, },
updatedAt: { type: 'number', autoUpdatedAt: true, },
Expand Down