Commit graph

95 commits

Author SHA1 Message Date
Sacha Greif
eb0a792dc7 vote power tweaks 2015-03-11 17:49:42 +09:00
Sacha Greif
74f1ec9a0c Merge branch 'devel' of https://github.com/Baxter900/Telescope into Baxter900-devel 2015-03-11 17:42:21 +09:00
Bandersnatch
81b7c4e3fb Change votePowerEq to getVotePower. getVotePower can now be a function, or a number. 2015-03-10 20:31:31 -06:00
Sacha Greif
b7ad74e6e6 Use new set of arguments for methods and hooks 2015-03-10 14:24:05 +09:00
Bandersnatch
8e5af099d5 Added the ability to modify vote power from packages. Set votePowerEq to a function in a package and that function will be how vote power is determined. Makes sure to re-export votePowerEq from you function! 2015-03-07 23:30:20 -07:00
Bandersnatch
69f10079ce Added Synchronous Method callbacks for each vote callback. 2015-03-07 22:19:00 -07:00
Bandersnatch
8e42994483 Added hooks for canceling up voting and down voting. 2015-03-07 21:54:32 -07:00
Sacha Greif
0d65cb9f1c added postApprovedCallbacks 2015-01-21 16:47:02 +09:00
Sacha Greif
201af43cf9 adding upvote and down vote callbacks 2015-01-21 10:38:59 +09:00
Sacha Greif
0b3cfeabed add thread modules zone 2015-01-20 11:42:03 +09:00
Anthony Mayer
f197b930e6 Cleaning up vote click handling functions and adding tests.
Also combining can.upvote and can.downvote and deleting unused permissions function and random cleanup.
2015-01-19 00:04:41 -08:00
Sacha Greif
35ae630ebd working on grid layout; added callback for injecting CSS classes for post items 2015-01-19 11:40:27 +09:00
Sacha Greif
9c5bd4ce4d extract postRank into its own post module 2015-01-16 16:11:36 +09:00
Anthony Mayer
f9d9891fba Getting rid of redundant permissions functions
Switched everything over to use can.* functions from telescope-lib instead of using can* functions from lib/permissions.js, deleted lib/permissions.js, added some tests for permissions, and some other random cleanup like deleting unused code.

Conflicts:
	client/views/comments/comment_form.js
2015-01-07 08:22:46 +01:00
Sacha Greif
f5354bf69d renaming viewNav to viewsMenu and adminNav to adminMenu 2015-01-05 10:06:30 +09:00
Sacha Greif
a49161dc17 get rid of toolbox 2014-12-31 11:55:09 +09:00
Sacha Greif
a7ad1572c3 make primary and secondary nav sortable (fix #642) 2014-12-30 17:44:33 +09:00
Sacha Greif
a39569e883 make embedly call async 2014-12-24 09:42:10 +09:00
Sacha Greif
a85e09f9ad make post-submit callbacks run on server only 2014-12-22 11:49:35 +09:00
Sacha Greif
6fc3bb7092 use type=method for submit and edit forms 2014-12-22 09:49:28 +09:00
Sacha Greif
3d8e6f9237 updating autoform and simpleschema 2014-12-19 11:37:23 +09:00
Sacha Greif
4b4997a784 even more styling 2014-12-16 14:18:32 +09:00
Sacha Greif
6723a532da alternate layout for post items 2014-12-16 13:34:01 +09:00
Sacha Greif
f8cb992069 Adding descriptions in post list pages and showing them in menus. 2014-12-15 09:46:51 +09:00
Sacha Greif
f5eb356ac1 adding commenters avatars 2014-12-14 15:15:34 +09:00
Sacha Greif
fb91613cfe refactor all the things!
- changed the layout CSS for post modules
- changed order of modules
- changed markup of modules
2014-12-14 12:38:48 +09:00
Sacha Greif
fb0cd210b3 refactoring post module markup and CSS 2014-12-13 17:43:52 +09:00
Sacha Greif
1eb72079b4 adding userCreatedCallbacks callback hook and refactoring user creation 2014-12-13 14:02:45 +09:00
Sacha Greif
4fc5091a97 fix digest parameters bug (fix #609) 2014-12-10 09:48:24 +09:00
Sacha Greif
987696657d upgrade to meteor 1.0.1 2014-12-10 09:37:57 +09:00
Sacha Greif
07bc61e938 started extracting invites into their own package 2014-12-09 10:17:16 +09:00
Sacha Greif
755451b394 modularising the user edit page 2014-12-08 20:36:46 +09:00
Sacha Greif
1444039065 decorate upvoted and down votes posts with vote timestamp 2014-12-08 19:51:39 +09:00
Sacha Greif
49a5f54aa9 exclude own posts from upvote/downvote lists 2014-12-08 18:16:44 +09:00
Sacha Greif
980af66167 refactoring and modularising user profile page publications 2014-12-08 17:25:11 +09:00
Sacha Greif
7879172c5d refactoring parameters to simplify showing/hiding future posts, and adding "scheduled" view 2014-12-08 16:39:10 +09:00
Sacha Greif
bb486793e1 making user profile modular 2014-12-08 14:53:26 +09:00
Sacha Greif
75bd8d9920 extracting digest into its own package 2014-12-08 11:15:20 +09:00
Sacha Greif
bdae77a41b fix user profile complete check 2014-12-06 18:19:54 +09:00
Sacha Greif
242bf4e783 fix pending view bug by including posts without a postedAt property as well 2014-12-06 18:06:51 +09:00
Sacha Greif
33f8f066ec display future posts in pending view 2014-12-05 08:21:02 +09:00
Sacha Greif
3e415dce78 Merge branch 'telescope-master-profile-hooks' of github.com:AdmitHub/Telescope into AdmitHub-telescope-master-profile-hooks
Conflicts:
	client/views/posts/modules/post_info.html

Note:
	adapted PR to only keep some of the added features
2014-12-04 12:38:20 +09:00
Sacha Greif
618371636d working on post edit form 2014-11-29 10:25:11 +09:00
Sacha Greif
b8dc56ea40 Merge branch 'master' into quickform
Conflicts:
	.meteor/versions
	client/views/settings/quickFormSettings.html
	collections/posts.js
	lib/router.js
	packages/telescope-api/versions.json
	packages/telescope-base/versions.json
	packages/telescope-module-embedly/versions.json
	packages/telescope-module-share/versions.json
	packages/telescope-notifications/versions.json
	packages/telescope-rss/versions.json
	packages/telescope-theme-base/versions.json
	packages/telescope-theme-hubble/versions.json
2014-11-26 11:22:54 +09:00
Sacha Greif
a3c5c0a4c4 updating tap:i18n 2014-11-25 08:56:29 +09:00
Sacha Greif
e572274249 i18ning missing strings 2014-11-20 14:55:34 +09:00
Sacha Greif
f3ddf53cf7 updating package versions 2014-11-20 10:44:08 +09:00
Sacha Greif
9110fa8e31 Fix digest link 2014-11-18 09:22:59 +09:00
Sacha Greif
0ceda58124 updating to Meteor 1.0 2014-11-17 09:35:29 +09:00
Charlie DeTar
83bb43ab46 Add hooks so packages can modify profiles
Add the following hooks:
 - ``addToUserSchema``: fields to add to the (currently unused) user
   Schema
 - ``postAuthor``: templates to use when rendering the post author in the
   byline
 - ``userProfileDisplay``: additional templates to add to the user
   profile display.
 - ``userProfileEdit``: additional templates to add to the user profile
   editing form.
 - ``userProfileFinishSignup``: additional templates to show in the view
   for completing user signup (adding email, username, etc).
 - ``userEditRenderedCallbacks``: Callbacks executed on "rendered" for
   user_edit view.
 - ``userEditClientCallbacks``: Callbacks used to further process user
   properties before saving changes in user_edit view.
 - ``userProfileCompleteChecks``: Functions called to determine whether
   a user profile is "complete" (e.g. has email, username, and whatever
   else).

These hooks facilitate package authors changing which profile fields are
displayed, which profile fields are required, and how to display
usernames next to posts.
2014-10-27 17:59:12 -06:00