Commit Graph

240 Commits

Author SHA1 Message Date
barisusakli
81eeab42ed category filter on /unread 2015-07-13 14:47:15 -04:00
barisusakli
2fd4bcde3f added req.uid user id for logged in users, 0 for guests 2015-04-01 00:23:57 -04:00
barisusakli
2a8437f08f removed templates config and mapping 🐑 2015-03-06 19:02:18 -05:00
Barış Soner Uşaklı
c94c1430b7 api/post/pid route 2015-02-24 13:02:58 -05:00
barisusakli
b2fc4d5dc4 #2002 2015-02-13 18:16:36 -05:00
barisusakli
f74383bba4 changed userPhoto to files[] 2015-01-10 18:59:24 -05:00
barisusakli
1caddb6182 uploads controller 2015-01-10 16:40:54 -05:00
barisusakli
1511a0c3fe closes #2568 2014-12-31 13:51:47 -05:00
barisusakli
d28fb153c7 closes #2537 2014-12-18 19:22:59 -05:00
barisusakli
348d05d3d1 remove deprecated res.json usage 2014-12-09 20:07:12 -05:00
Julian Lam
deac12c540 closed #2424 2014-11-18 14:56:22 -05:00
Joseph Chen
cd41df5677 Pass in req.user.uid into uploadFile 2014-11-06 19:03:53 -08:00
Joseph Chen
a1e54fda23 Bug fix - File upload broken due to api changes in 0.6.x. 2014-11-06 17:33:58 -08:00
barisusakli
39b679705b closes #2248 2014-11-05 19:29:45 -05:00
barisusakli
9a21e9646f only use multipart on upload routes,
delete temp files if there is an error in admin,
admin/mods should see topic reply
2014-10-22 18:26:01 -04:00
barisusakli
1d1625f5c4 closes #2157 2014-10-08 13:46:36 -04:00
psychobunny
1b2ccda40b closes #2231; see #2218 2014-10-04 18:47:56 -04:00
barisusakli
1fe5a8788f check err 2014-09-24 21:37:36 -04:00
Julian Lam
cd135dda13 renamed middleware to applyCSRF, re: #2082 2014-09-17 16:11:11 -04:00
Julian Lam
a061079995 fixed all POST routes to use new csrf middleware 2014-09-17 16:07:26 -04:00
psychobunny
d4dc716acd filter:templates.get_config, allows you to modify template config
as found here
https://github.com/NodeBB/nodebb-theme-vanilla/blob/master/templates/config.json
@Schamper
2014-08-05 17:17:13 -04:00
psychobunny
a880ac6e9f do one api call for template configs rather than two on cold load 2014-08-05 17:17:13 -04:00
barisusakli
61f7f0f889 fixed file upload checks 2014-07-14 13:48:37 -04:00
psychobunny
5b6acbad1e optimized widget call by bundling all queries into one for #1428; fixes active users widget crash
also fixes b3819fd076 properly
2014-07-09 19:23:10 -04:00
psychobunny
b3819fd076 temporary fix for acp, need to reconsider how I'm doing this 2014-07-09 16:14:37 -04:00
psychobunny
c6183f1a82 closes #1428 2014-07-09 15:41:03 -04:00
barisusakli
ec1196d288 use router for relative path 2014-07-02 16:13:27 -04:00
barisusakli
24ebf20d7e first commit 2014-07-02 16:13:25 -04:00
barisusakli
b8b6ae7b2f moved upload route into API namespace 2014-06-30 16:33:10 -04:00
barisusakli
ab6429c578 closes #1734 2014-06-22 17:08:55 -04:00
barisusakli
b81f3552bb fixed typo 2014-06-09 02:34:21 -04:00
barisusakli
b5071d504f removed timing #1654 2014-06-09 02:33:07 -04:00
barisusakli
d4b48cd2ac closes #1654 2014-06-09 02:32:32 -04:00
psychobunny
c5b8a7b163 filter:templates.get_virtual for ajaxifying to virtual templates 2014-06-06 17:30:23 -04:00
barisusakli
7d0eb9afaa closes #1463 2014-06-04 11:14:36 -04:00
barisusakli
1f77df794a added lots of error keys 2014-04-09 22:26:23 -04:00
Julian Lam
67ef155c60 fixing image uploads 2014-03-12 20:03:20 -04:00
barisusakli
6e6c5688d9 more cleanup 2014-03-11 22:31:09 -04:00
psychobunny
5dc5eb41df fixed ajaxify bug introduced in last commit 2014-03-11 18:33:19 -04:00
psychobunny
6ea4d89edc fixed search routes 2014-03-09 21:43:35 -04:00
psychobunny
90a80ad83d plugins can now define a templates directory which gets compiled onload without requiring any hooks 2014-03-06 12:06:19 -05:00
psychobunny
34552f7fb0 added middleware.guestSearchingAllowed to the actual search API call 2014-03-05 17:37:54 -05:00
psychobunny
542f937589 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	src/routes/api.js
2014-03-05 17:35:41 -05:00
psychobunny
b9e119241e moved get_custom_templates into plugins.js 2014-03-05 17:23:08 -05:00
psychobunny
c0cd6148f4 one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files 2014-03-05 17:06:24 -05:00
Baris Soner Usakli
c028761857 new route to get recent posts 2014-03-05 16:49:42 -05:00
psychobunny
552eb78db8 template compiling init; changing themes now finally works on this branch 2014-03-04 17:49:56 -05:00
psychobunny
209bcaba8c middleware.updateLastOnlineTime; middleware.prepareAPI (reinstated) 2014-03-03 12:49:47 -05:00
psychobunny
94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route 2014-03-03 12:30:27 -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