OldHawk
f052ea853e
Merge commit 'b43c80e2c097b11114f4e4f01b9718321721a89b'
...
* commit 'b43c80e2c097b11114f4e4f01b9718321721a89b':
feat(build): Update dependencies (#1847 )
fix(travis): Fix Travis failing on webdriver issues (#1845 )
fix(eslint): Inconsistent spacing before function parentheses (#1844 )
fix(mongodb): update ssl connection settings (#1809 )
Remove deprecated crypto package (#1843 )
feat(config): Mongo Seed 2.0 (#1808 )
fix(users): don't fail on missing old image on image upload (#1839 )
feat(build): Turn on mangling for uglify (#1841 )
fix(gulp): fix broken test:server:watch task (#1842 )
feat(core): Enhancement page title directive (#1686 )
feat(user): Add email support to forgot password (#1834 )
fix(mocha): update mochajs version to reduce vulnerabilities (#1830 )
refactor(menus): Refactor to the Menus client service to use functional loops/filters (#1575 )
feat(config): Mongoose 4.11 upgrade (#1818 )
# Conflicts:
# config/env/development.js
# config/lib/app.js
# modules/articles/server/models/article.server.model.js
# modules/chat/client/config/chat.client.routes.js
# modules/core/client/directives/page-title.client.directive.js
# modules/core/client/services/menu.client.service.js
# modules/users/client/config/users-admin.client.routes.js
# modules/users/client/views/password/forgot-password.client.view.html
# modules/users/server/models/user.server.model.js
# package.json
2017-08-22 13:35:29 +08:00
Mikael Korpela
f44c9bce71
fix(eslint): Inconsistent spacing before function parentheses ( #1844 )
...
Defines `space-before-function-paren` eslint rule and changes files accordingly.
2017-08-14 23:50:33 +03:00
Pierre Brisorgueil
c69644db65
feat(core): Enhancement page title directive ( #1686 )
...
* fix(users): test for usernameOrEmail
* Add comment to remind change for mongo replicaset connection
* clean comment ..
* Generic pageTitle concept
* Revert "Generic pageTitle concept"
This reverts commit ff00ec950f085ca3b6d1abb564eab1965ab0a56e.
* align on meanjs state
* fix atom beautify newline
* align to mean indent
* pageTitle directive
automatic pageTitle directive
fix loads add ..
clean lodash dependencies
clean code
clean code & indent
clean lodash
* pageTitle directive
automatic pageTitle directive
fix loads add ..
clean lodash dependencies
clean code
clean code & indent
clean lodash
2017-08-09 22:47:01 -07:00
OldHawk
063b7ba244
feat(users): add sign up open/closed function
...
if sign up is open, all user can free register
otherwise, sign up is closed, and show tooltip message to user
2017-06-05 14:30:03 +08:00
OldHawk
15c3e40346
open admin menu access to oper
2017-05-12 19:08:55 +08:00
OldHawk
52a31c164d
user can reset their passkey now
2017-05-09 13:40:16 +08:00
OldHawk
42f18c5657
change menu translate
2017-05-05 18:27:22 +08:00
OldHawk
756c0a9052
add many multilingual fields
...
add torrents and forum topbar menu
2017-03-26 18:27:53 +08:00
OldHawk
111ab49b06
add many multilingual fields
...
add torrents and forum topbar menu
2017-03-26 00:52:31 +08:00
OldHawk
ecad977de7
add angular-translate multilingual support
2017-03-25 23:49:29 +08:00
Cameron Behar
aebaf2ff74
fix(core): Remove the <base> tag.
2016-10-10 16:05:10 -07:00
Michael Leanos
6be12f8a06
fix(core): Add custom 400 and 404 error messages ( #1547 )
...
* Added 400 and 404 custom error messages
* nicer error message views
* Sign Up & Sign In error responses
Changed the error responses returned from the Sign Up & Sign In API
calls to use 422 rather than 400.
For insight into why this change was made:
https://github.com/meanjs/mean/pull/1510#issuecomment-247435378
For reference on why to use 422 over 400:
https://www.bennadel.com/blog/2434-http-status-codes-for-invalid-data-400-vs-422.htm
2016-10-07 22:03:31 -07:00
hyperreality
8b54669614
fixed 403 redirect if not signed in ( #1496 )
2016-09-13 12:39:50 -07:00
Ryan Hutchison
b2462ec86c
feat(core): Modify core module to implement style guidelines.
...
Update the core module to implement the style guidelines.
Reduce size of init.js - moved filter logic out to it's own config.
Rename Menus to menuService
2016-03-23 15:41:57 -04:00
Marek Grzybek
d14d5130af
feat(config): Deprecate JSHint in favor of ESLint
...
Add basic ESLint setup extending well-known Airbnb code style.
Fixes #1072 , #1097
2016-03-15 19:11:12 +01:00
mleanos
b00498629c
fix(core): Remove trailing slash from routes
...
Adds an angular $urlRouterProvider service Rule to the Core module
configuration, that removes any trailing slashes in the URL for all routes.
The Rule is defined in the core routes configuration. Thus, in order for
this to work on all routes in the application, we have to inject the Core
module into each client module, as a dependecy in the client.module
configuration. Otherwise, we'd have to define the Rule in each module's route
configuration individually.
Adds missing client-side route configuration tests.
Tests demonstrate that the various route configurations can handle a trailing
slash in the URL, and gets resolved to the correct client route.
Fixes #1075
2016-03-06 20:56:29 -08:00
IteloFilho
49f6a83032
feat (title): Dynamic Title: Improve SEO
2016-02-10 12:12:10 -03:00
Andrew Throener
48eabd02ed
fix(core menu): Menuize the account routes so they can be added to by submodules
...
Newlines fix
Removed Comment
2016-01-25 19:40:05 -06:00
Andrew Throener
ed89f9ea08
Unauthorized client routing
...
Added Auth Interceptor tests
cleaned up test
Update routes
2015-08-24 17:04:36 -05:00
Liran Tal
b8147cb278
Merge pull request #844 from Gym/404-behavior
...
mask exception route for 404 responses.
2015-08-23 23:40:44 +03:00
Ryan Hutchison
c6d26831fc
do not save state to previous (history) for routes marked ignoreState.
2015-08-23 04:09:36 -04:00
Ryan Hutchison
9fdd2a0b9c
mask exception route, but show not-found page.
2015-08-23 03:59:43 -04:00
Andrew Throener
d319f9203f
Initial commit to return /client to the URL include paths
...
Conflict Resolve
Fixed Karma testing
Added back cacheIDFromPath as I am not sure what that does. Just removed the replaceing of /client
2015-08-13 11:07:02 -05:00
Ryan Hutchison
ef3a3f9548
formatting reboot (space-2 and consistency)
...
JSCS fixes
update editorconfig
2015-07-31 10:04:02 -04:00
Ryan Hutchison
60660204ac
Admin module base & user admin implementation.
...
update displayName
implements #700 (client-side role security) on angular routes.
2015-07-24 20:03:35 -04:00
Mikael Korpela
ba1a4475e9
#501 Handle 404 errors at Express backend at at Angular frontend
...
- `/{api|modules|lib}/*` returns error page when path doesn’t exist
(from Express).
- `/*` always returns index (from Express), but if `$state` doesn’t
exist, Angular redirects to `/not-found` (no 404 status in that case
though!)
- If `Accept: application/json` header is present without `Accept:
text/html`, return error as json. Hence looking at non existing /api/*
paths with browser would show html error, but querying them with script
would return json.
- Slightly prettier 404 error
Test:
```bash
curl http://localhost:3000/api/notfound -4 -H "Accept: application/json"
```
=> json error.
```bash
curl http://localhost:3000/api/notfound -4 -H "Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0
.8"
```
=> html error (imitates Chrome’s Accept header).
Starting point was @dotch’s PL: https://github.com/meanjs/mean/pull/503
And `req.accepts()` idea came from http://stackoverflow.com/a/9802006
2015-05-18 17:38:30 +03:00
Christian Berendt
e027f4025b
Add missing newline at the end of text files
...
On Unix it is common to have a newline at the end of text files.
2015-02-16 21:39:55 +01:00
Christian Berendt
4879a8ea2a
Remove executable bit when not necessary
...
The executable bit is set for a lot of files where it is not necessary
to have the executable bit set. This PR removes the executable bit from
those files.
2015-02-16 14:19:56 +01:00
Amos Haviv
ab81d61bd3
New 0.4 version
2014-11-10 23:12:33 +02:00