Commit Graph

235 Commits (612b8f01b625e884d51bbfa24c6cfa89c12264cd)

Author SHA1 Message Date
barisusakli f74383bba4 changed userPhoto to files[]
barisusakli 1caddb6182 uploads controller
barisusakli 1511a0c3fe closes
barisusakli d28fb153c7 closes
barisusakli 348d05d3d1 remove deprecated res.json usage
Julian Lam deac12c540 closed
Joseph Chen cd41df5677 Pass in req.user.uid into uploadFile
Joseph Chen a1e54fda23 Bug fix - File upload broken due to api changes in 0.6.x.
barisusakli 39b679705b closes
barisusakli 9a21e9646f only use multipart on upload routes,
delete temp files if there is an error in admin,
admin/mods should see topic reply
barisusakli 1d1625f5c4 closes
psychobunny 1b2ccda40b closes ; see
barisusakli 1fe5a8788f check err
Julian Lam cd135dda13 renamed middleware to applyCSRF, re:
Julian Lam a061079995 fixed all POST routes to use new csrf middleware
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
psychobunny a880ac6e9f do one api call for template configs rather than two on cold load
barisusakli 61f7f0f889 fixed file upload checks
psychobunny 5b6acbad1e optimized widget call by bundling all queries into one for ; fixes active users widget crash
also fixes b3819fd076 properly
psychobunny b3819fd076 temporary fix for acp, need to reconsider how I'm doing this
psychobunny c6183f1a82 closes
barisusakli ec1196d288 use router for relative path
barisusakli 24ebf20d7e first commit
barisusakli b8b6ae7b2f moved upload route into API namespace
barisusakli ab6429c578 closes
barisusakli b81f3552bb fixed typo
barisusakli b5071d504f removed timing
barisusakli d4b48cd2ac closes
psychobunny c5b8a7b163 filter:templates.get_virtual for ajaxifying to virtual templates
barisusakli 7d0eb9afaa closes
barisusakli 1f77df794a added lots of error keys
Julian Lam 67ef155c60 fixing image uploads
barisusakli 6e6c5688d9 more cleanup
psychobunny 5dc5eb41df fixed ajaxify bug introduced in last commit
psychobunny 6ea4d89edc fixed search routes
psychobunny 90a80ad83d plugins can now define a templates directory which gets compiled onload without requiring any hooks
psychobunny 34552f7fb0 added middleware.guestSearchingAllowed to the actual search API call
psychobunny 542f937589 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	src/routes/api.js
psychobunny b9e119241e moved get_custom_templates into plugins.js
psychobunny c0cd6148f4 one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files
Baris Soner Usakli c028761857 new route to get recent posts
psychobunny 552eb78db8 template compiling init; changing themes now finally works on this branch
psychobunny 209bcaba8c middleware.updateLastOnlineTime; middleware.prepareAPI (reinstated)
psychobunny 94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route
psychobunny 7bef58deb1 started moving out api functionality out of the route file into controllers/api.js
psychobunny fe9d4efa98 moved api-only routes into routes/api.js, cleanup & linting
psychobunny d75bc9578b deprecating middleware.prepareAPI in favour of using app.all('*') in /api namespace
psychobunny 26853d024e Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Baris Soner Usakli 24b669bd39 some fixes for search plugin
Baris Soner Usakli e75c303b89 added unique visitor count to admin dashboard