Commit Graph

318 Commits

Author SHA1 Message Date
OldHawk
a661e09b4d modify uploads function 2017-04-01 10:57:04 +08:00
OldHawk
e2ec5b7d01 add the footer view 2017-04-01 10:28:54 +08:00
OldHawk
305f48f0cc get movie credits info from tmdb 2017-03-31 13:24:36 +08:00
OldHawk
ee2f358265 add NotifycationService to show custom notify message 2017-03-31 13:23:51 +08:00
OldHawk
b4946a5929 onkeydown keycode 13, begin get movieinfo 2017-03-30 19:09:41 +08:00
OldHawk
23031a43c7 load theMovieDB info by movieID 2017-03-29 19:02:28 +08:00
OldHawk
95d856a07f upload torrent files is ok. 2017-03-29 13:41:47 +08:00
OldHawk
f8144d9434 add torrents file upload API 2017-03-29 11:04:54 +08:00
OldHawk
ab79882d74 fix filestyle directive bug 2017-03-28 12:07:08 +08:00
OldHawk
67146ec788 add filestyle directive 2017-03-28 11:41:03 +08:00
OldHawk
3ae30b8cec add uploads views 2017-03-27 15:54:17 +08:00
OldHawk
e531a1d0af add uploads rules string 2017-03-27 15:53:19 +08:00
OldHawk
2989274c37 add an AnnounceConfig client service, it can read announce config data of server side 2017-03-27 13:37:17 +08:00
OldHawk
ffff1df791 add torrents module server side code
test get movie info from TMDB
2017-03-27 13:35:30 +08:00
OldHawk
756c0a9052 add many multilingual fields
add torrents and forum topbar menu
2017-03-26 18:27:53 +08:00
OldHawk
34e11b53c5 add topbar menu: torrents,forums,chat,upload,rules,ranking,vip etc.
those menu item also added translate
2017-03-26 18:27:31 +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
OldHawk
484c087444 add many fields for torrents about 2017-03-25 23:46:38 +08:00
OldHawk
7f89038044 change torrents and peers models path 2017-03-25 23:45:47 +08:00
OldHawk
68f3c6035b add angular-translate multilingual support 2017-03-25 21:13:45 +08:00
OldHawk
72a572aed1 add passkey validate check 2017-03-25 21:11:09 +08:00
OldHawk
6de8eac7b6 add many fields for torrents about 2017-03-25 16:05:26 +08:00
OldHawk
10ed5c925a add Article model index on field user 2017-03-25 16:03:41 +08:00
OldHawk
e1a6a3b919 add torrents,peers models mongodb Schema 2017-03-25 16:02:35 +08:00
OldHawk
e7af2be34c add announce module 2017-03-24 11:50:58 +08:00
OldHawk
6526d88042 change config file MEAN.js -> meanTorrent 2017-03-23 13:48:43 +08:00
Laurence Tennant
f53db0f2e2 Better autofocus (#1664) 2016-12-13 18:51:19 -08:00
Laurence Tennant
2b6cf53d30 fix(users): Better MIME-type checking, remove image cropping library (#1589)
* Cropping remove, nicer UI

* Fix MIME-type checking, add image upload tests

* Change image config settings to uploads.profile.image to build a more
rational structure for configuring other types of uploads
2016-11-15 15:59:47 -08:00
Sujeeth
fb9d9d912c feat(user): add strict validations for username (#1574)
Idea proposed by @sparshy #1204
Suggestions, rules and tests from Trustroots @simison
Added validations on user server model
Added client side validations
Added relevant tests on user server tests
Added relevant tests on user e2e tests

Fixes #1204
2016-10-19 20:40:26 -07:00
itelo
0e2ea65918 fix(users): fix redirect when signup or add provider (#1573)
Fixes the issue of the redirect after Social login authentication, on signup or user profile add provider.
2016-10-19 17:12:47 -07:00
Pierre Brisorgueil
ae638893b2 fix(users): test for usernameOrEmail (#1582) 2016-10-19 18:59:45 +03:00
Pedro Rodrigues
59c11c622e fix(core): fix twitter meta tags (#1581)
I believe the Twitter meta tags are outdated and this PR fixes them.
Taking into account the current MEAN.js tags and the Twitter docs, the most similar feature I found
is the Twitter Summary Card (https://dev.twitter.com/cards/types/summary).
2016-10-19 11:49:02 +03:00
Liran Tal
d824224b2f fix(core): Remove the <base> tag (continues #1230)
fix(core): Remove the <base> tag (continues #1230)
Merge pull request #1544 from mleanos/remove-base-tag
2016-10-12 14:20:37 +03:00
Sujeeth
d5b8ffa50c feat(core): Add error handler for failed requests (#1557)
Add error handle for failed requests(no response from server)
Using Notification.error to show error message
Added test for the notification in Auth Interceptor

Fixes #1556
2016-10-11 20:47:29 -07:00
Michael Leanos
baa291af4e fix(core): Directive file naming convention (#1558)
Renames show-error & autofocus directives to conform to naming
conventions.

Fixes: https://github.com/meanjs/mean/issues/1233
2016-10-11 20:45:06 -07:00
mleanos
99e5803eae Fix client-side tests after removing <base/>
Fixes the client-side tests after the removal of the <base/> tag from
the main layout.

These fixes aren't ideal. At the moment, they will suffice. This comment
(https://github.com/angular-ui/ui-router/issues/212#issuecomment-60803437),
among others in that issue, led me to choose this method as the fix to
avoid having to change any other core code.
2016-10-10 17:11:25 -07:00
mleanos
c065246a23 Update path in tests
Updated tests to account for new "/" prefix in the path.
2016-10-10 16:05:10 -07:00
Cameron Behar
aebaf2ff74 fix(core): Remove the <base> tag. 2016-10-10 16:05:10 -07:00
Michael Leanos
0ea8cec120 fix(express): Incorrest uses of 400 error codes (#1553)
Fixes incorrest usage of 400 HTTP responses being returned from the
server, in favor of using 422.

Also, changed a few return codes to 401 where it was more appropriate.

See this article for reasoning behind moving to 422, and why 400 isn't
appropriate for these cases.

For ref:
6be12f8a06

Related:
https://github.com/meanjs/mean/pull/1547
https://github.com/meanjs/mean/pull/1510
2016-10-10 16:00:24 -07:00
Sujeeth
607ed061e3 feat(core): add notification feedback with angular-ui-notification (#1532)
Added visual notification for user/article updates
angular-ui-notification config added to core client config
Notification idea from #369
2016-10-10 14:51:44 -07:00
shanavas
5725c449c7 Fix(Users): Remove redundant request body (#1554) 2016-10-09 12:00:47 +03:00
itelo
4aa5d77251 feat(core): change console in angular to (#1551)
logs with $log in client idea proposed by @simison
also removed unnecessary consoles in users.password.server.controller.js

Fixes #1541
2016-10-08 21:43:27 -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
itelo
6a6b630292 feat(users): change username to usernameOrEmail in signin (#1545)
* feat(users): change username to usernameOrEmail in signin

* fix(users): toLowerCase at email in local strategy
2016-10-06 18:34:15 +03:00
hyperreality
73a7c2cf61 feat(core): Minor UI fixes for mobile; autofocus (#1499)
* Added configuration for owasp. Synchronize client owap configs with the server configs.
Also added a time indicator on failed login attempts to give the user feedback on subsequent failed login attempts.

* switched to handlebar template for passing the server's owasp config down to the client.

reverted some of the other changes (regarding the http request).

* Removed debug code.

* Changed variable name to owaspConfig

* Fixed minor type-o's and set owasp.config() rather than the underlying configs.

* chore(tidy): tidying up minor lint and layout issues

* fix(lint): CSS alphabetize warnings (#1498)

Fixes css lintings warnings of properties not alphabetized.

* fix(authentication) Stops error on signin/signup (#1495)

Uses the passport info object to simplify login and remove the need to
temporarily cache the redirect within the session.

* Moved owasp config into default and reverted other config files.

Modified config to be "shared". This will allow future configurations to be easily passed to the client.

* fixed 403 redirect if not signed in (#1496)

* Update form-article.client.view.html

For New Article, delete function no required

* UI changes for mobile; autofocus

* fixed broken password popover balloon

* add e2e test for autofocus

* Remove test, fix delete social login button

* feat(core): Move template to .github folder

* Deprecated $http success/error promise methods (#1508)

Replaces the $http service calls with promise based methods
of the client-side UsersService for the following:
  Users Change Password
  Users Manage Social Accounts
  Users Password Forgot
  Users Password Reset
  Users Signup
  Users Signin

Modifies tests to reflect changes.

Closes #1479

* rebase
2016-10-04 21:14:57 -07:00
Sujeeth
287f81c6dd fix(user): remove bad request for local.png (#1538)
Removes a bad image request from manage social account settings page
Ideas from #1537, suggestions from @mleanos

Fixes #1537
2016-10-01 17:18:06 -07:00
sujeethk
0736a404c9 fix(user): hide delete button for self (#1535)
Remove delete button for self

Fixes #1531
2016-10-01 12:17:15 -07:00
sujeethk
a7aebbd866 fix(article): add callback for remove article (#1534)
Add callback on remove article for state transition

Fixes #1274
2016-09-30 14:55:10 -07:00
Daron Jones
e3eafa6131 fix(users) Handle missing email - OAuth (#1501)
* fix(users) patch OAuth default email issue

- Intentionally omits setting email in constructor to trigger defaults when
creating user. Handles cases where email is not authorized/given by provider.

Related to issue #1250
2016-09-20 21:24:16 -07:00