Commit graph

77 commits

Author SHA1 Message Date
Comus Leong
464e20a96c eslint & clean up code, also fixed some bugs (#1515)
* [eslint] update eslint rules & add .eslintignore to ignore non-ready nova packages

* [clean-up] nova-voting

* [clean-up] [bug] nova-users: missing user parameter

* [clean-up] nova-users

* [clean-up] nova-subscribe

* [clean-up] nova-settings

* [clean-up] nova-rss

* [clean-up] [bug] nova-posts: correct UsersRemoveDeletePosts

* [clean-up] nova-posts

* [clean-up] nova-notifications

* [clean-up] [bug] nova-newsletter: no error.message on throw error

* [clean-up] nova-newsletter

* [clean-up] nova-lib

* [clean-up] nova-kadira

* [clean-up] nova-inject-data

* [clean-up] nova-getting-started

* [clean-up] nova-forms

* [clean-up] nova-events

* [clean-up] [bug] nova-embedly: no FlowRouter

* [clean-up] nova-embedly

* [clean-up] nova-email-templates

* [clean-up] nova-email

* [clean-up] nova-debug

* [clean-up] nova-core

* [clean-up] [bug] nova-comments: correct UsersRemoveDeleteComments

* [clean-up] nova-comments

* [clean-up] [bug] nova-cloudinary: use Telescope.settings.collection instand

* [clean-up] nova-cloudinary

* [clean-up] nova-categories

* [clean-up] nova-base-components

* [clean-up] nova-api

* [eslint] extends react recommended

* [clean-up] for jsx files

* [eslint] extends meteor recommended

* i forgot this one little change
2016-11-25 13:46:55 -05:00
Ben Gott
fc5f31b224 move field schemas from user schema to newsletter custom fields
per @xavcz’s suggestion, because the nova:users package doesn’t need to
know about these newsletter-specific fields
2016-11-24 05:54:02 -06:00
Ben Gott
846e5c43ad rename newsletter settings
correctly this time! ;)
2016-11-17 14:43:35 -06:00
Ben Gott
8192b06451 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into newsletter-subcription-fixes 2016-11-17 11:39:59 -06:00
Ben Gott
cb55efbd81 whitespace edits 2016-11-17 11:38:35 -06:00
Ben Gott
dc594af50f fix newsletter banner dismissal persistence 2016-11-17 11:37:26 -06:00
xavcz
4ae1c01eec complete eslint devDeps and fix lint errors 2016-11-15 09:02:30 +01:00
xavcz
7059b19772 'users.remove' method: check if the user wants to remove itself or another user ; ensure options are defined in related callbacks 2016-11-06 12:04:20 +01:00
Matt Lively
eef2b7e233 ml/cjl: adding reset password feature 2016-10-28 21:27:27 -07:00
xavcz
6a4c9c1f57 consistency on users callbacks (users.new, users.profileCompleted), remove dead code (~copy of users.edit method) not used anymore: what it did is now handled thanks to callbacks 2016-10-07 10:50:21 +02:00
xavcz
7775838980 change old reference to AutoForm (legacy): field schema "autoform" -> "form" 2016-10-05 08:43:13 +02:00
xavcz
5463ff7b86 prefer Users namespace to Meteor.users in active packages 2016-10-05 08:37:48 +02:00
xavcz
4646e1041a ensure user slug unicity, fixes #1213 2016-10-04 22:42:07 +02:00
xavcz
f17560047d prefer displayName to username on notifications/events: getDisplayName fallbacks to getUserName if it doesn't exist 2016-09-21 12:37:26 +02:00
Comus Leong
b5dafdf16b Update groups.js 2016-09-11 14:49:56 +08:00
Sacha Greif
d64c0f689f Merge branch 'devel'
# Conflicts:
#	README.md
2016-08-29 08:56:34 +09:00
chptung
935c1fa5c0 Update callback.js to include Linkedin
- Update the options.email if/else if statement to include a section for Linkedin
- Update the displayName if/else if statement to include a section for Linkedin
2016-08-22 10:07:37 -07:00
xavcz
fef3e3281c add intl support for avatar + fix typo in avatar's doc 2016-08-17 18:08:37 +02:00
Sacha Greif
72b6353321 put statuses on Telescope object instead of Posts 2016-08-10 10:40:17 +09:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
Sacha Greif
00d65bbc4d clean up helpers 2016-07-21 15:02:20 +09:00
Sacha Greif
4a05939bb7 Users.is.admin -> Users.isAdmin 2016-07-21 14:51:58 +09:00
Sacha Greif
1b015b0a2b add /groups debug route 2016-07-21 12:38:11 +09:00
Sacha Greif
616a34f0c6 more permissions refactoring 2016-07-21 09:53:58 +09:00
Sacha Greif
9cc7840b85 new permissions 2016-07-21 09:40:05 +09:00
Sacha Greif
c748bdc5bd permissions clean up & refactoring 2016-07-20 10:25:05 +09:00
Sacha Greif
c50bdcb2e4 groups first pass 2016-07-19 17:30:59 +09:00
Sacha Greif
7bd5c1f044 more i18n cleanup 2016-07-07 10:38:18 +09:00
Sacha Greif
d6c0be150d remove old i18n function call 2016-07-04 10:42:50 +09:00
Sacha Greif
4c3b752748 fix user edit; add edit user link to profile page for admins; fix user name link 2016-06-30 12:05:59 +09:00
xavizalote
4bf0a15a41 whoops, remove console.log 2016-06-27 22:59:06 +02:00
xavizalote
bfcc395c6f import Users in publications & some components 2016-06-27 21:36:45 +02:00
Sacha Greif
51623d7e31 Telescope.email -> NovaEmail 2016-06-23 16:42:06 +09:00
Sacha Greif
4ce55702eb removing Events global 2016-06-23 15:16:32 +09:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09:00
Sacha Greif
d9e69110a6 removing Posts global 2016-06-23 11:40:35 +09:00
Sacha Greif
d0275aa77f update readme 2016-06-22 18:29:35 +09:00
Sacha Greif
2dd3f3c7fa move newsletter callback to server only; split users.setSetting method in method+mutator; always call mutator directly when on server 2016-06-15 19:55:59 +09:00
Sacha Greif
28dec2d449 add imports 2016-06-15 11:07:10 +09:00
Sacha Greif
550ca85258 complete work on react-router 2016-06-14 10:01:44 +09:00
Sacha Greif
bc22398192 react-router wit (fix later) 2016-06-11 16:37:03 +09:00
Sacha Greif
f899713408 more work on i18n 2016-06-09 20:26:33 +09:00
Sacha Greif
5ee570299a replacing packages with their npm equivalents 2016-06-07 15:03:00 +09:00
Sacha Greif
204fa1d8b7 added support for field groups; small tweaks to user edit form 2016-06-03 11:03:36 +09:00
xavizalote
a6991a3a28 don't use newsletter_showBanner anymore 2016-05-23 08:15:05 +02:00
xavizalote
aa2d9ca3e7 use undefined instead of null (no falsy value) 2016-05-22 14:36:49 +02:00
xavizalote
45248aebfa fix #1327 2016-05-22 14:29:04 +02:00
Sacha Greif
ecb58a98a3 make avatars work with hash instead of email 2016-05-22 15:46:44 +09:00
Justin Gross
bcfa305530 Complete soft delete feature for comments
- Add deleteComment function to CommentsItem.jsx
- Add Delete link next to Edit link in CommentsItem.jsx
- Hide reply link if comment.isDeleted
- Add styling for Delete link element in _comments.scss
- Add check for document.isDeleted in Users.can.edit in permissions.js
2016-05-06 17:07:40 -04:00
Sacha Greif
453634c4c4 small improvements and clean up to components 2016-05-03 12:44:50 +09:00