Commit Graph

14809 Commits

Author SHA1 Message Date
Martijn Walraven
fa38facc83 Specify explicit dependency on npm to avoid installing earlier version
The cordova dependency pulled in npm 1.3.4, which apparently has a bug
reading npm-shrinkwrap.json with tarball dependencies.
2015-07-23 15:25:46 -07:00
Martijn Walraven
6038c8dc00 Use npm 3 for building dev bundle on Unix 2015-07-23 15:25:46 -07:00
Martijn Walraven
4d6a5fe795 Use console.log instead of Console.debug when cleaning up
For some reason, Console was undefined here…
2015-07-23 15:25:46 -07:00
Martijn Walraven
01afd89a59 Install initial version of npm from dist and only use npm for building dev bundle 2015-07-23 15:25:46 -07:00
Martijn Walraven
cb9111a978 Don't put temp directory for generating dev bundle under scripts, but one level up 2015-07-23 15:25:46 -07:00
Martijn Walraven
b6cb554364 Install npm 3 to avoid having to flatten packages manually 2015-07-23 15:25:45 -07:00
Martijn Walraven
1d862f1437 Fix check for PLATFORM env variable 2015-07-23 15:25:45 -07:00
Martijn Walraven
10fe112959 To be removed path no longer exists 2015-07-23 15:25:45 -07:00
Martijn Walraven
d01d7d5f8d Replace PowerShell operations by cmd to avoid long directory name errors 2015-07-23 15:25:45 -07:00
Ben Newman
2b4331b188 Bump dev bundle version to 0.5.6. 2015-07-23 16:45:14 -04:00
Ben Newman
bf353fc66e Upgrade escope and use the new API in js-analyze.js. 2015-07-23 16:45:14 -04:00
Ben Newman
78d8afc861 Remove esprima from dev bundle. 2015-07-23 16:45:14 -04:00
Ben Newman
da928ba737 Use require("meteor-babel").parse in files.js instead of Esprima.
This removes the last dependency on Esprima from tool code!
2015-07-23 16:45:14 -04:00
Ben Newman
8b9a1f590b Use require("meteor-babel").parse for js-analyze instead of Esprima.
The Babel parser is faster, it has to be installed (unlike Esprima, which
can be removed after a few more changes like this), and better matches the
parsing we do for ECMAScript transpilation.
2015-07-23 16:45:14 -04:00
Slava Kim
173bfb7c03 Expose and use wrapped fs/path moduldes in Plugins 2015-07-23 13:10:26 -07:00
Anubhav Jain
cfe29661fc Added more reserved names in compile time check 2015-07-23 12:12:35 -07:00
Anubhav Jain
b6a2dfedc1 Fix for preventing templates from having reserved names like 'body' and 'instance' 2015-07-23 12:12:35 -07:00
Slava Kim
d5586d0126 Disable in-place builder on Windows 2015-07-23 12:07:18 -07:00
Slava Kim
8975ae6a34 Write file after removing the old directory on file rewrite 2015-07-23 11:57:53 -07:00
Ben Newman
c2d8a1b6c4 Upgrade meteor-babel and enable jscript plugin for client-side code.
The jscript plugin works around various limitations of older Internet
Explorer versions, in particular those described here:
http://kiro.me/blog/nfe_dilemma.html
2015-07-23 14:39:18 -04:00
Peter Choo
8121695c96 Make Spacebars links consistently link to master branch 2015-07-23 10:21:04 -07:00
David Glasser
43b4b30205 Release PLUGINS-PREVIEW@1
This included removing some internal version constraints. It would be
nice if package A could say "use B@2.0.0" (when both have changed), but
when they're both in the release, we need to make a release that has a
B@2.0.0-rc in it, which doesn't match that constraint. Fortunately,
constraints aren't necessary within a release anyway.
release/PLUGINS-PREVIEW@1
2015-07-22 23:19:11 -07:00
David Glasser
4ab5858ab3 Run jsdoc.sh 2015-07-22 22:30:42 -07:00
David Glasser
3da4e611c9 Get JSDoc working again
- Upgrade to a newer (unreleased) version which supports
     function k({} = {}) {}
  and doesn't also crash

- Filter out boring warnings

- Don't use ES7 syntax that JSDoc doesn't support in one file that
  has JSDoc in it
2015-07-22 22:29:08 -07:00
David Glasser
abce1797da fix bad jsdoc 2015-07-22 22:06:38 -07:00
David Glasser
cdd71b8312 fewer negatives in canWriteLegacyBuilds 2015-07-22 21:48:07 -07:00
David Glasser
d4a8c491c1 some more comments on compiler-plugin.js 2015-07-22 21:40:52 -07:00
David Glasser
1c93d09834 add standard-minifiers to examples
clean up some other example package usage
2015-07-22 21:28:49 -07:00
Martijn Walraven
12366fc4dc Remove now unnecessary runLog calls in meteor-npm.js 2015-07-22 21:07:15 -07:00
David Glasser
cab2f6a237 Fix crash on publish with no linters 2015-07-22 20:56:24 -07:00
David Glasser
7b0c4f1950 Stop old tools from taking isopack-2-only versions
I thought we could rely on isobuild:compiler-plugin for this, but it's
not good enough: a package could have dependencies that are satisfiable
without choosing a dependency version with a compiler plugin, yet choose
that dependency version at publish time and become ineligble for legacy
builds.
2015-07-22 20:54:07 -07:00
Martijn Walraven
02cfef50d6 Fix runNpmCommand on Windows 2015-07-22 19:12:37 -07:00
Martijn Walraven
1110a69f43 Improve error reporting in meteor-npm.js 2015-07-22 19:10:45 -07:00
Avital Oliver
0d20041683 Add clarifying comment to ddp rate limit test 2015-07-22 10:49:23 -07:00
Anubhav Jain
59c0bcf1d2 Added very simple API description to Tinytest README 2015-07-22 10:14:21 -07:00
Anubhav Jain
d8bedef10d Merge branch 'anubhav-rate-limit' into devel
Adds rate limiting to Meteor in the form of a default rule in accounts_rate_limit for user creation, login attempts and password resets. It also adds a DDPRateLimiter that allows users to add rules to methods and subscriptions.
2015-07-22 09:54:00 -07:00
Anubhav Jain
ce84258bfd Fixed getLastRateLimitEvent mixup and updated DDPRateLimiter tests to reflect that. 2015-07-22 09:52:10 -07:00
Anubhav Jain
ba77b0f6cc Fixed a bug that prevented DDP Rate Limiter from running in IE8 due to some mysterious variable hoisting. 2015-07-22 09:52:10 -07:00
Anubhav Jain
432bc5b61b Fixed ipAddr -> clientAddress and added tests to ensure testing for existence of clientAddress 2015-07-22 09:52:10 -07:00
Anubhav Jain
ab1dc30623 Added summary to rate-limit-tests.js and fixed Tinytest formatting for ddp-rate-limiter and rate-limit tests 2015-07-22 09:52:10 -07:00
Anubhav Jain
a957e613ed Improved naming to rate limiter tests 2015-07-22 09:52:10 -07:00
Anubhav Jain
b83427e369 Updated DDPRateLimiter Tests thanks to Avi!
Modified testing to be extensible and easy to modify and more thorough
Refactored common code into ddp-rate-limiter-tests-common.js
Explicitly defined timeToReset to be passed back to user from livedata_server.js and appended to error object
2015-07-22 09:52:10 -07:00
Anubhav Jain
6a525fbea7 Updated DDPRateLimiter structure per Avi's suggestions and modified tests.
Updated documentation and default rate limit as well.
2015-07-22 09:52:10 -07:00
Anubhav Jain
759b9a2c19 Updating docs 2015-07-22 09:52:09 -07:00
Anubhav Jain
13331009d0 Making more code fixes and documentation update 2015-07-22 09:52:09 -07:00
Anubhav Jain
4cc907f7e4 Updating docs and fixing code review comments. 2015-07-22 09:52:09 -07:00
Anubhav Jain
50d3437da9 Updated comments and line sizes in markdown and rate limiter package 2015-07-22 09:52:09 -07:00
Anubhav Jain
89afc4a22a Added forgot password to default rate limit 2015-07-22 09:52:09 -07:00
Anubhav Jain
4302ad2219 Fix tests to new naming of valid-->allowed 2015-07-22 09:52:09 -07:00
Anubhav Jain
26f612cb0b Moving DDPRateLimiter to a weak dependency to minimize dependencies on DDP 2015-07-22 09:52:09 -07:00