Commit Graph

4929 Commits

Author SHA1 Message Date
John O'Nolan
93b0505d68 Fixup broken error page styles 2015-06-08 12:14:58 +01:00
Hannah Wolfe
5e0cc1ae10 Merge pull request #4783 from claydiffrient/master
Makes most special characters be replaced with a dash
2015-06-04 11:54:23 +01:00
Hannah Wolfe
311b728b5a Merge pull request #5391 from jaswilli/notification-cleanup
Fix call to this.notification
2015-06-04 11:38:14 +01:00
Jason Williams
164fa2768f Fix call to this.notification
Refs #5351
- Injected services need to be accessed via .get().
2015-06-04 00:02:03 -05:00
Jason Williams
60e160d169 Merge pull request #5361 from ErisDS/fix-contexts
Fix context setup (remove dep on req.route.path)
2015-06-03 16:28:16 -05:00
Jason Williams
8c0bc6cea5 Merge pull request #5366 from ErisDS/anon-middleware
Ensure middleware functions are named
2015-06-03 16:26:56 -05:00
Jason Williams
f16f72ad7a Merge pull request #5389 from ErisDS/test-imprv
Ensure importer tests don't clash
2015-06-03 16:18:12 -05:00
Jason Williams
ff8ffa524c Merge pull request #5388 from ErisDS/update-deps
Upgrading most production dependencies
2015-06-03 15:04:43 -05:00
Jason Williams
12c4d031fc Merge pull request #5387 from ErisDS/func-tests
Improvements for debugging transient test failures
2015-06-03 15:04:02 -05:00
Hannah Wolfe
3d533b68ec Upgrading most production dependencies
no issue

- includes the majority of upgrades to out-of-date dependencies
- lodash is being left as it has backwards incompatible changes, as well as causing unmet deps warnings
- glob & cherio are being left as upgrading them causes unmet deps warnings
- bookshelf & knex should be done together separately
2015-06-03 18:54:03 +01:00
Hannah Wolfe
8ec8eff6c0 Ensure importer tests don't clash
no issue

- I've noticed the importer tests going wrong on SQLite a couple of times recently.
- I think it's because the teardowns were clashing, hopefully this will help
2015-06-03 18:46:45 +01:00
Hannah Wolfe
2d5a731022 Improvements for debugging transient test failures
refs #4483

- update PSM test to see if it works better this way
- ensure every assertion has a message, so that it's clearer what is failing
2015-06-03 18:12:20 +01:00
Jason Williams
5ec1979447 Merge pull request #5380 from acburdine/ghost-ember112
Update Ember to 1.12.1 and Ember-Data to 1.0.0-beta.18
2015-06-03 00:07:17 -05:00
Austin Burdine
28d265c9c1 update Ember to 1.12.1/ember-data to 1.0.0-beta.18
No issue
- fixed "{{#each}}" helper in templates to use block syntax
- fixed deprecated ember.controller getter/setter function to use new syntax
- removed unnecessary pass-protect route view
2015-06-02 22:26:16 -06:00
Jason Williams
87519f7fd4 Merge pull request #5376 from acburdine/ghost-fastclick
Reimplement fastclick library
2015-06-02 16:59:42 -05:00
Austin Burdine
27d7718b3c re-implements fastclick into ember
closes #5375
- adds an addon for fast click to the npm dependencies
2015-06-02 13:28:16 -06:00
Jason Williams
f233d97ce3 Merge pull request #5372 from ErisDS/char-fix
Removing non utf-8 char
2015-06-02 10:45:53 -05:00
Hannah Wolfe
7eacd2876d Ensure middleware functions are named
refs #5091

- adds names to all middleware functions, for debugging purposes
2015-06-02 14:49:18 +01:00
Hannah Wolfe
9d01016025 Merge pull request #5353 from morficus/issue-5286
splitting client authentication-related middleware in to its own file
2015-06-02 11:10:43 +01:00
John O'Nolan
9c7a1e2e50 Merge pull request #5318 from acburdine/private-form
Rewrite default private.hbs for new zelda styles
2015-06-02 10:54:59 +01:00
Hannah Wolfe
f5d4d4d378 Removing non utf-8 char
no issue

- I noticed this in CodeClimate, it was reporting errors for this file because of a dodgy char.
- Removed it and named the functions whilst I was in there :)
2015-06-02 09:56:02 +01:00
Hannah Wolfe
eb9d924e1b Merge pull request #5306 from acburdine/remove-email
Removes "email" from settings
2015-06-02 09:44:21 +01:00
Maurice Williams
b3cbb20be1 splitting client authentication-related middleware in to its own file
* refs #5286
* includes test cases for `addClientSecret`
* no tests first `generateAccessToken` and `authenticateClient` because there isn't anything to test in them
2015-05-31 12:35:03 -04:00
Hannah Wolfe
fc0e1d7e45 Merge pull request #5367 from JohnONolan/themechooser
Add theme selector, update package mgmt styles
2015-05-31 09:38:12 +01:00
John O'Nolan
83b7993ff3 Add theme selector, update package mgmt styles 2015-05-30 23:12:40 +01:00
Hannah Wolfe
6ab5e70d5f Merge pull request #5360 from hex337/move-spam-middleware
Move the spam prevention into its own file.
2015-05-30 19:28:06 +01:00
Hannah Wolfe
8cdabc3546 Merge pull request #5365 from sembrestels/fixed-fixture
Fixed fixture. Code wasn't formatted.
2015-05-30 19:20:09 +01:00
Sem
72569de3c3 Fixed fixture. Code wasn't formatted. 2015-05-30 05:25:51 +02:00
Alex Kleissner
766bf99de9 Move the spam prevention into its own file.
issue #5286
- Moved the spam prevention functions into their own file
- Added unit tests for the functions
2015-05-29 08:59:29 -07:00
Austin Burdine
bf0e40eda1 rewrites default private.hbs for new zelda styles
closes #5073
- changes format to match new zelda layout
- modifies the input_password helper to allow customization of class & placeholder
2015-05-29 06:25:32 -06:00
Hannah Wolfe
e7a078a541 Merge pull request #5362 from JohnONolan/thememgmt
First pass theme management page
2015-05-29 13:16:22 +01:00
John O'Nolan
d979ffb55f First pass theme management page 2015-05-29 13:01:28 +01:00
Hannah Wolfe
cc00c6c64a Fix context setup (remove dep on req.route.path)
refs #5344

- As a result of #5344, context are pretty broken.
- This PR removes all dependence on req.route.path, and uses res.locals.relativeUrl
- res.locals.relativeUrl is used for many things and is dependable
2015-05-29 09:16:04 +01:00
Matt Enlow
da9fcc7a19 Merge pull request #5357 from ErisDS/misc
Misc grunt /dev updates
2015-05-29 10:10:18 +02:00
Hannah Wolfe
06959661c0 Misc grunt /dev updates
- Updated all dev dependencies in the root package.json
- Added `--colors` to mocha when called from grunt test:... so that works better
- Removed non-unit tests from coverage, because they're just not useful
- Updated docker config to generate useful docs again - as a statement of intent, I also updated docs in key files
- Setup grunt watch-docs task for documentation writing easyness
2015-05-28 20:25:14 +01:00
Jason Williams
1f8abc3869 Merge pull request #5344 from ErisDS/frontend-route-refactor
Frontend route refactor / cleanup
2015-05-27 23:15:38 -05:00
Hannah Wolfe
916a6fd87c Merge pull request #5354 from jaswilli/ember-fixup
Fix up new setup code
2015-05-27 21:58:58 +01:00
Jason Williams
482740e682 Fix up new setup code
No issue
- Prevent download count ajax request from running forever, even after setup is complete.
- Remove unneeded setup routes and controllers.
- Refactor to use ES6-imported ajax.
- Refactor to use injected services.
2015-05-27 15:10:47 -05:00
Sebastian Gierlinger
a7555d7497 Merge pull request #5316 from ErisDS/onboarding-zelda
First pass at user onboarding screens
2015-05-27 17:23:40 +02:00
Matt Enlow
557a888873 Merge pull request #5351 from jaswilli/injection
Use Ember.inject instead of needs and initializers
2015-05-27 16:55:13 +02:00
Jason Williams
c3ad1ae9e2 Use Ember.inject instead of needs and initializers
No Issue
- Switches to the newer style of dependency injection.
- Instead of injection Controllers via "needs," use
  Ember.inject.controller().
- Get rid of initializers that were only injecting objects
  into various factories. Converts these objects into Ember.Service
  objects and declaratively inject them where needed via
  Ember.inject.service().  The added benefit to this is that it's no
  longer a mystery where these properties/methods come from and it's
  straightforward to inject them where needed.
2015-05-27 07:41:42 -05:00
Hannah Wolfe
f6aa46e446 Frontend route refactor / cleanup
refs #5091

- This is step one of several steps towards ending up with dynamic routes for channels
- Refactoring this way makes the similarities between all the routes clearer to see
2015-05-27 11:17:15 +01:00
Matt Enlow
3ece83f68d Merge pull request #5348 from jaswilli/es6-ajax
ES6 module version of ic-ajax instead of global
2015-05-27 09:34:00 +02:00
Matt Enlow
78041cd644 Merge pull request #5340 from jaswilli/ember-routing
Clean up Ember router map
2015-05-27 09:07:36 +02:00
Jason Williams
d864fcb1d6 ES6 module version of ic-ajax instead of global 2015-05-26 22:13:25 -05:00
Jason Williams
5018f2fb9e Clean up Ember router map
No Issue
- Switch resources to routes.
- No longer nest "settings" routes so the router reflects
  the way the templates are rendered.
- Remove renderTemplate override from settings routes.
- Remove unneeded routes, controllers, and views.
- Adjust users page so that infinite scroll loading of users works
  and markup remains the same for Zelda styling.
2015-05-26 16:12:12 -05:00
Jason Williams
45feb20ac1 Merge pull request #5347 from cobbspur/nprogress
Nuke nprogress
2015-05-26 16:01:58 -05:00
cobbspur
d249591290 Nuke nprogress
closes #5328

- removes all references to nprogress and loading indicator
2015-05-26 19:24:32 +01:00
Hannah Wolfe
623ff35d34 Merge pull request #5341 from tyre/patch-1
Update to use SPDX idetifier
2015-05-26 09:27:04 +01:00
Chris Maddox
e3f4129494 Update to use SPDX idetifier
Per https://docs.npmjs.com/files/package.json#license. Removes warning on install.
2015-05-25 21:00:32 -07:00