Commit Graph

95 Commits

Author SHA1 Message Date
Julian Lam
82a82afe99 updated the way privileges were handled in the .get() category controller 2014-03-11 15:32:32 -04:00
barisusakli
88c4b90fc8 accounts controller removed duplication 2014-03-11 04:33:08 -04:00
barisusakli
037e8943a8 removed left over 2014-03-11 04:10:39 -04:00
barisusakli
9564b6fda2 closes #1165 2014-03-11 04:10:00 -04:00
barisusakli
3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js 2014-03-11 03:39:41 -04:00
barisusakli
974333dbc3 fixed missing currentPage 2014-03-10 18:28:34 -04:00
psychobunny
30cfddda68 fix for topics view count, and marking topics as unread 2014-03-09 23:20:59 -04:00
psychobunny
6ea4d89edc fixed search routes 2014-03-09 21:43:35 -04:00
psychobunny
a99be8e7be got rid of all the res.locals.isAPI checks in all controller methods. now 1000% cleaner :shipit: 2014-03-09 20:05:14 -04:00
psychobunny
faf3de7e27 added a check for res.locals.isAPI inside res.render, instead of doing it all over the place in code 2014-03-09 19:54:16 -04:00
psychobunny
464c2f42c3 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	public/templates/admin/themes.tpl
	src/meta.js
	src/routes/api.js
2014-03-09 19:19:13 -04:00
psychobunny
f20a2a2047 merging changes from deprecated routes/user.js 2014-03-06 00:52:12 -05:00
psychobunny
8f7a7fec7d more cleanup; commenting out custom plugin routes until its fixed properly 2014-03-05 17:13:55 -05:00
psychobunny
48df0cf889 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	src/routes/admin.js
2014-03-04 14:50:44 -05:00
psychobunny
c24c2a5422 search and reset routes, the very last of the views to be refactored :shipit: 2014-03-03 17:16:53 -05:00
psychobunny
d3aead7c13 changing renderHeader function signature to req, res, next 2014-03-03 16:54:28 -05:00
psychobunny
7ef6f9bbf5 buckled down and refactored pretty much all of admin routes x_x 2014-03-03 16:35:21 -05:00
psychobunny
94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route 2014-03-03 12:30:27 -05:00
psychobunny
5b8e8e4b67 deprecating use of templates.setGlobal on server side in favour of passing in api.config into res.locals (still needs work) 2014-03-03 12:16:46 -05:00
psychobunny
188aeabba8 missed a file in previous commit 2014-03-03 11:45:40 -05:00
psychobunny
7bef58deb1 started moving out api functionality out of the route file into controllers/api.js 2014-03-03 11:45:23 -05:00
psychobunny
d18ce28de0 fixxed categories.get; privileges object and currentPage were missing on original route 2014-03-03 11:28:31 -05:00
psychobunny
88ca3733a7 more jshinting 2014-03-02 23:07:16 -05:00
psychobunny
cdf92c5cda fixed a really annoying bug - the original topics route pre-refactor never actually included a privileges object 2014-03-02 22:54:03 -05:00
psychobunny
fa2b5d1ee6 re-implementing meta and link tags - completified 2014-03-02 22:15:27 -05:00
psychobunny
3eb9f65c2e jshinting controllers/index.js; adding back meta tags to home page 2014-03-02 22:12:08 -05:00
psychobunny
8df33e65ac fixing bug in topics causing meta tags to revert on subsequent refresh 2014-03-02 22:10:57 -05:00
psychobunny
dbbbe21883 re-implementing meta and link tags part 1 2014-03-02 15:14:38 -05:00
psychobunny
6820e9e662 random jshinting expedition 2014-03-02 14:45:57 -05:00
psychobunny
f35c14ee07 bugfixes + cleanup for accounts and users routes 2014-02-28 15:58:29 -05:00
psychobunny
fa103b2d6e finally done with routes/user.js; accounts.getUserByUID; bug fixing and cleanup 2014-02-28 15:33:25 -05:00
psychobunny
08d3d9feb3 accounts.uploadPicture 2014-02-28 15:26:39 -05:00
psychobunny
bfcb61f37d forgot to port getUserDataByUserSlug 2014-02-28 14:22:49 -05:00
psychobunny
d072ad60de all users/ pages converted 2014-02-28 14:19:43 -05:00
psychobunny
7c873c4314 decided to functionally separate accounts from users 2014-02-28 14:08:06 -05:00
psychobunny
e64d87cb1d all user account pages; all static pages; outgoing page 2014-02-28 14:04:21 -05:00
psychobunny
00df660fa5 robots + sitemap; some clean up 2014-02-27 17:16:06 -05:00
psychobunny
942d16a3b4 confirmEmail route 2014-02-27 17:04:41 -05:00
psychobunny
dae7b06f4d initial login and register routes 2014-02-27 16:52:46 -05:00
psychobunny
e193d58112 unreadTotal route 2014-02-27 16:39:34 -05:00
psychobunny
beafc881c4 added recent and unread in categoriesController 2014-02-27 16:35:29 -05:00
psychobunny
96d6b96ce4 controllers.home 2014-02-27 15:06:39 -05:00
psychobunny
ad222dce2a controller indexx 2014-02-27 14:56:14 -05:00
psychobunny
233e49fd34 topics controller 2014-02-27 14:56:05 -05:00
psychobunny
62a4b419e3 categories controller 2014-02-27 14:55:53 -05:00