Julian Lam
22a619d9c7
fixed #2631
10 years ago
Julian Lam
491e0060d4
more files that should be loaded for maintenanceMode to work
10 years ago
Julian Lam
fe45fc967d
updating maintenance mode middleware so js doesn't crash until login client-side js is ready
10 years ago
barisusakli
02dbce57fb
relative path fix missing ;
10 years ago
barisusakli
2974f1ba8a
closes #2602
10 years ago
barisusakli
f74383bba4
changed userPhoto to files[]
10 years ago
Oleksandr Pidlisnyi
f9887de478
footer.tpl loggedIn variable support
10 years ago
barisusakli
b1edc59987
fix undefined next
10 years ago
barisusakli
2ea5f85d9b
closes #2481
10 years ago
barisusakli
8ed06eb773
closes #2528
10 years ago
barisusakli
04084807c2
removed app.loadConfig
10 years ago
barisusakli
6a8a5a9de0
use validator.escape
10 years ago
barisusakli
0cb0dafae3
another relative_path fix
11 years ago
barisusakli
03de918f10
fix more relative path redirects
11 years ago
barisusakli
011c42bde3
updated analytics
...
accumulate pageviews, uniquevisitors and uniqueIps locally and update db
every 10 mins instead of on every page view
11 years ago
barisusakli
8965855218
made breadcrumbs regular function
...
less db calls as well
11 years ago
Barış Soner Uşaklı
5f47f2226a
escape topic title and category name
11 years ago
barisusakli
9f7196f5b0
dont crash if config is undefined, added error to plugins
11 years ago
Julian Lam
b278f27ffe
partial fix to #2509
11 years ago
barisusakli
356f577a74
redirect to correct login
11 years ago
barisusakli
97d01de155
fix acp
11 years ago
barisusakli
be11577aa4
closes #2477
11 years ago
Julian Lam
aa44894db2
fixing home breadcrumb, #1984
11 years ago
barisusakli
957800b2c3
Merge remote-tracking branch 'origin/master' into socket.io1.x
11 years ago
Julian Lam
604f883ac2
closed #2478
11 years ago
Julian Lam
110fd863e4
fixing breadcrumbs for subfolder installs, #2122
11 years ago
Julian Lam
78763834fe
closed #2122
11 years ago
barisusakli
0c5881b51f
update online users regardless of status
11 years ago
barisusakli
80d7ae597b
closes #2451
11 years ago
Julian Lam
ba9a5ad7d7
fixed #2448
11 years ago
Julian Lam
fe7726d249
fixed #2431
11 years ago
barisusakli
6012223b81
show message name, fix template name overwrite
11 years ago
barisusakli
9c1216eb63
closes #2432
11 years ago
barisusakli
d5453efdac
added current template name to return
11 years ago
Julian Lam
5292a47a96
fixed maintenance mode page not working with new CSRF implementation, #2424
11 years ago
Julian Lam
deac12c540
closed #2424
11 years ago
Julian Lam
23485fcbf3
missed one invocation of old LESS library, #2419
11 years ago
barisusakli
61863a69fe
sendfile is deprecated
11 years ago
barisusakli
af4cbfb20d
closes #2368
11 years ago
barisusakli
d2cc4b8516
possibly fixes 2301
11 years ago
Julian Lam
9215930cfc
fixed #2292
11 years ago
Julian Lam
ffdc4b5d24
fixed places where site_title was being referenced in config, instead of the correct "title"
11 years ago
Julian Lam
a28b4bb8b9
fixed maintenance mode assets not being loaded properly
11 years ago
barisusakli
b5fe2c7b91
closes #2255
...
if user is banned log them out on header render
11 years ago
barisusakli
b23373c265
parseInt maintenance mode
11 years ago
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
11 years ago
barisusakli
fced152e41
read total from global object
11 years ago
barisusakli
5d79d2a75a
closes #2191
...
added unique visitors analytics
only update it every hour
11 years ago
psychobunny
eb4baf62b5
closes #2235
11 years ago
psychobunny
84b9b86dd1
no better way to spend your saturday
...
inb4 linting bonanza
11 years ago
psychobunny
1b2ccda40b
closes #2231 ; see #2218
11 years ago
Julian Lam
60c45d8b9b
fixed issue where non-admins would get maintenance mode header if maintenance mode was NOT enabled (logic errors, grrr..)
11 years ago
Julian Lam
24ac7ba316
better templating and styling for #2099
11 years ago
barisusakli
cf252a29a7
closes #2196
11 years ago
psychobunny
d0452fb93f
random attempt to fix traviscl
11 years ago
psychobunny
d79b6b3803
forum traffic graph - unique visitors vs pageviews
11 years ago
psychobunny
144992426d
converted pageviews tracking to sorted set, and using pre-built getStatsForSet function
...
thanks @barisusakli
11 years ago
barisusakli
ebfc6d9785
#2152 dont pass undefined into parser
11 years ago
psychobunny
1a18bf22aa
linting
11 years ago
psychobunny
99a56acab8
#1999 sending ajaxify-data to client on cold loads
...
commented out until we figure out what we're doing with the renamed
properties (see issue)
11 years ago
Julian Lam
9b9e79ef27
re: #2099
11 years ago
barisusakli
b7fd4c22d4
removed checkPostIndex middleware
...
1 less call to get topic post count
11 years ago
barisusakli
803a2436de
wait for increment to complete before expire
11 years ago
barisusakli
1844250967
check err
11 years ago
barisusakli
93b83060be
fix expireAt using millis
11 years ago
Julian Lam
cd135dda13
renamed middleware to applyCSRF, re: #2082
11 years ago
Julian Lam
8bac0bf361
Merge branch 'csrf-excision' into hashtalk
11 years ago
psychobunny
a6089ba4aa
closes https://github.com/NodeBB/NodeBB/issues/2096
11 years ago
psychobunny
ab1c231b84
re-enabling updateLastOnlineTime - calling that middleware for page loads only instead of every API call
11 years ago
psychobunny
76fb2c3378
daily + monthly pageview analytics middleware
11 years ago
Julian Lam
40e5ad075f
started work on #2082
11 years ago
psychobunny
61895633b3
disabling updateLastOnlineTime until we can move this key to redis
11 years ago
barisusakli
ae6d5e72f4
closes #2015
11 years ago
Julian Lam
caa9c8c157
more stuff using new returnTo behaviour
11 years ago
Julian Lam
08c9cbdf70
changing admin API calls to return 404 if unauthenticated, and redirect user to login for regular URL. closes #1885
11 years ago
barisusakli
0847eb2c3d
added uid to filter:header.build
11 years ago
psychobunny
631edc92d3
extra var
11 years ago
barisusakli
cfc67d4e90
closes #1924
11 years ago
Julian Lam
4d73a563c5
closed #1850
11 years ago
barisusakli
81018d1305
closes #1863
11 years ago
psychobunny
08df29e4dd
random console.log
11 years ago
Julian Lam
71916f0691
marathon bugfixing with @barisusakli re: #1788
11 years ago
Julian Lam
d18461c8eb
wtf. Merge remote-tracking branch 'origin/chat-route' into chat-route
...
Conflicts:
public/language/en_GB/modules.json
src/controllers/accounts.js
src/middleware/middleware.js
src/routes/index.js
11 years ago
Julian Lam
89dc8c490a
WIP
11 years ago
Julian Lam
0dad7adb8d
issue #1788 - start
11 years ago
Julian Lam
b03bb3a32b
issue #1788 - start
11 years ago
barisusakli
b8b6ae7b2f
moved upload route into API namespace
11 years ago
barisusakli
a9e5e82431
closes #1758
11 years ago
barisusakli
1cabf885a2
closes #1730
...
postCount != lastPostIndex unfortunately, that will need some rethinking
11 years ago
Julian Lam
a3d01aea58
added error handling if bad LESS is written in ACP. closes #1715
11 years ago
barisusakli
13854e8774
closes #1603
11 years ago
barisusakli
3bd4d0e418
closes #1692
11 years ago
barisusakli
4c2765a79c
closes #1679
11 years ago
barisusakli
7610c11cd1
closes #450
...
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.
added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.
the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
11 years ago
barisusakli
8d0c659f08
small fix to redirect
11 years ago
barisusakli
61b79de3e8
closes #1641
11 years ago
psychobunny
d7eb89336d
add logo to windows live tile
11 years ago
psychobunny
cf3f33a23d
closes #1633
11 years ago
barisusakli
0574022e02
fixes to infinitescroll
11 years ago
psychobunny
ee1e869ccb
add loggedIn state to template parsing
11 years ago
barisusakli
0dce8647ba
closes #1476
11 years ago
Julian Lam
93e3eb4d28
fixed #1584
11 years ago
barisusakli
e003582289
fixes redirect loop for empty slugs
11 years ago
Julian Lam
2e49fe9f50
fixed meta property to name, for keywords
11 years ago
barisusakli
ed57edde3b
fixed undefined next
11 years ago
Julian Lam
b56df975e0
fixed 1495
11 years ago
barisusakli
883978007d
closes #1482
...
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
11 years ago
psychobunny
14db999684
closes #1494
11 years ago
barisusakli
63d88957a8
replace self links client side
11 years ago
barisusakli
c8efeb7d7c
closes #1400 , bunch of other fixes to 404, 403 in accounts
11 years ago
psychobunny
da4113e1f1
Revert "last commit doesn't play well with ajaxify, need a rethink."
...
This reverts commit f85678e938
.
11 years ago
psychobunny
f85678e938
last commit doesn't play well with ajaxify, need a rethink.
11 years ago
psychobunny
1f9bdd840f
allow for the possibility of custom post-header or pre-footer templating
11 years ago
psychobunny
e5486db1ae
Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
...
Conflicts:
src/database.js
11 years ago
barisusakli
3e60451ce4
closes #1013
...
lets user change languages,
11 years ago
barisusakli
beb7313138
added err to next
11 years ago
barisusakli
8aa4f053e8
converted translator.get to translator.translate
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
psychobunny
f16d98fcab
linting
11 years ago
psychobunny
3840a9e67e
translating the footer... and sending the original 'doh
11 years ago
psychobunny
0f20352fbb
closes #1289
11 years ago
barisusakli
219c0d75c4
fix for #1290
11 years ago
Julian Lam
31606578f5
putting cache buster back in header template arguments
11 years ago
Julian Lam
c2f6717e88
adding cache-buster to template globals
11 years ago
Julian Lam
8c7b474e8b
moved fontawesome CSS into stylesheet.css, and updating the js and css middlewares to compile at app start, not on first load
11 years ago
barisusakli
0cfd05d839
closes #1254
11 years ago
barisusakli
37e8856861
new middleware to add slug to topic and category
11 years ago
Julian Lam
7111adb3c2
fixed subfolder installs again (a bit), also stopped apple-touch-icon from clobbering /apple-touch-icon
11 years ago
barisusakli
9564b6fda2
closes #1165
11 years ago
psychobunny
6ea4d89edc
fixed search routes
11 years ago
psychobunny
4793b6b4f9
fixed invalid path for apple-touch-icon
11 years ago
psychobunny
faf3de7e27
added a check for res.locals.isAPI inside res.render, instead of doing it all over the place in code
11 years ago
psychobunny
1ef95bd09e
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
...
Conflicts:
app.js
public/templates/category.tpl
public/templates/popular.tpl
public/templates/recent.tpl
public/templates/unread.tpl
src/routes/plugins.js
src/webserver.js
11 years ago
psychobunny
e84dd4fd94
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
...
Conflicts:
public/templates/accountedit.tpl
public/templates/header.tpl
src/routes/meta.js
src/webserver.js
11 years ago
psychobunny
a3a0aabd22
return error if template doesn't exist
11 years ago
psychobunny
c24c2a5422
search and reset routes, the very last of the views to be refactored :shipit:
11 years ago
psychobunny
8802fc5a33
fixing link tags; misc bug fixes
11 years ago
psychobunny
d3aead7c13
changing renderHeader function signature to req, res, next
11 years ago
psychobunny
48b9289002
use the proper footer for admin
11 years ago
psychobunny
d360320441
finally got admin header and footer working 👍
11 years ago
psychobunny
eed97648b1
started moving admin mdw into middleware/admin.js; res.render post-processing to append admin footer/header
11 years ago
psychobunny
209bcaba8c
middleware.updateLastOnlineTime; middleware.prepareAPI (reinstated)
11 years ago
psychobunny
94aeb3ab22
notifications route; added middleware.authenticate to user/uploadpicture api route
11 years ago
psychobunny
5b8e8e4b67
deprecating use of templates.setGlobal on server side in favour of passing in api.config into res.locals (still needs work)
11 years ago
psychobunny
138b12e815
re-added linkTags into header; clean up
11 years ago
psychobunny
d75bc9578b
deprecating middleware.prepareAPI in favour of using app.all('*') in /api namespace
11 years ago
psychobunny
8df33e65ac
fixing bug in topics causing meta tags to revert on subsequent refresh
11 years ago
psychobunny
dbbbe21883
re-implementing meta and link tags part 1
11 years ago
psychobunny
6820e9e662
random jshinting expedition
11 years ago
psychobunny
6c3c669e31
moved middleware out of webserver.js and into middleware.js
11 years ago