barisusakli
224e3dc263
fix settings page
10 years ago
barisusakli
dce9a19882
resolve method name collision, getPostsFromSet -> getPostSummariesFromSet
10 years ago
psychobunny
0f199af84d
moved widget code out of controller; cleaned up code into a folder
10 years ago
barisusakli
9518c006b5
fix userlang
10 years ago
barisusakli
7b550b13b9
display both redis/mongo info if available
10 years ago
barisusakli
0083d4ff1c
return user settings in api
10 years ago
Barış Soner Uşaklı
c74d32a172
fix off by 1 error on user/topics posts #3120
10 years ago
barisusakli
73d65dd123
filter:users.search filter:users.build hooks
10 years ago
barisusakli
4f8a1174a1
default about me length
10 years ago
barisusakli
a924c456b9
closes #3113
10 years ago
barisusakli
7312540b72
closes #3109
10 years ago
barisusakli
9749658d35
added about me field
10 years ago
barisusakli
51212c2bfa
closes #3096
10 years ago
barisusakli
dc16a665ae
page checks #3089
10 years ago
barisusakli
47a2377229
closes #3089
10 years ago
Barış Soner Uşaklı
21b634e03f
closes #3081
10 years ago
barisusakli
d99e028a1e
only call sortedSetCard if using pagination
10 years ago
barisusakli
dd61bdb9c6
closes #3038
10 years ago
barisusakli
6dfb229c66
closes #2842
10 years ago
barisusakli
0c91391c75
display posts cache capacity/post count
10 years ago
barisusakli
1f06f90a50
closes #3051
...
updated lru to latest
created new files posts/cache.js posts/parse.js posts/edit.js
10 years ago
Julian Lam
8ee40ece71
removed checks that would send the user to 404 if the slug didn't match, restored old behaviour of redirecting to the correct slug. #3047
10 years ago
Julian Lam
5d495483ad
using url module to normalise passed-in url prior to saving in db, closes #3043
10 years ago
Fokke Zandbergen
1eee970ebb
Allow NodeBB version to be set via config to package.json version can be incremented when needed.
10 years ago
Barış Soner Uşaklı
c9b5948034
closes #2927
10 years ago
barisusakli
d5dd48ecc8
closes #3013
10 years ago
barisusakli
f7a3aef322
escape on the way out, fixes birthday/age calculation
10 years ago
barisusakli
5501c0c759
closes #3005
10 years ago
barisusakli
dd175ada67
closes #3003
10 years ago
barisusakli
3de083208d
closes #3002
10 years ago
barisusakli
835d4db481
dont add category/topic slug if user doesnt have read permission
...
or category is disabled etc.
10 years ago
Barış Soner Uşaklı
0ed46c3bae
closes #2963 , closes #2957
10 years ago
Barış Soner Uşaklı
e0996d67ca
more rel_path upload fixes
10 years ago
Barış Soner Uşaklı
3f92984be2
fix image url in relative_path install in post
10 years ago
Barış Soner Uşaklı
ed57a41d17
#2943
10 years ago
Barış Soner Uşaklı
4af8a5ec02
closes #2940
10 years ago
Julian Lam
56fc958939
closes #2891
10 years ago
Barış Soner Uşaklı
5641e54192
added route to /users
10 years ago
psychobunny
27ad7e41c9
process.env is an object
10 years ago
Сергей Савельев
ce743be779
Delete errors
10 years ago
Сергей Савельев
6b3b44e2fc
Delete errors
10 years ago
Сергей Савельев
18c5354ec7
Merge branch 'master' of https://github.com/atomoc/NodeBB
10 years ago
Сергей Савельев
621ae9c91a
Add admin hooks for get categories
10 years ago
barisusakli
2fd4bcde3f
added req.uid user id for logged in users, 0 for guests
10 years ago
barisusakli
878e548296
renamed end to stop globally
...
fixed getting favourites for admins
10 years ago
barisusakli
27bab3330a
pass data to getCategoryTopics, renamed end to stop
10 years ago
Julian Lam
47a7ab15be
refactored translator system to be a require.js module, and not a global
10 years ago
Barış Soner Uşaklı
c4569d533d
added filter:categories.build
10 years ago
Julian Lam
89442c91c6
fixed bug where privilege state was not correctly calculated for MongoDB installs, and fixed columnCount not being present when a the privilege list is refreshed
10 years ago
barisusakli
e528f52cfb
closes #2757
10 years ago
Julian Lam
4f2c7382c5
passing in the column count so a message can be displayed to users when no users have privs in a category, #2887
10 years ago
Julian Lam
9dece4a1db
added some missing files from previous commits, fixed setParent mechanic which broke after I refactored, #2463
10 years ago
Julian Lam
9b84a887d3
a huge frickin' number of changes for #2887 . This is part of #2463
10 years ago
Julian Lam
a1621145d5
Merge branch 'master' into categories_revamp
...
Conflicts:
public/less/admin/admin.less
public/src/admin/manage/categories.js
src/controllers/admin.js
src/views/admin/manage/categories.tpl
src/views/config.json
10 years ago
barisusakli
04ed79e587
fix profile image upload on subfolder install
10 years ago
Barış Soner Uşaklı
9e7af15bbc
Merge pull request #2876 from cismous/master
...
remove comma
10 years ago
psychobunny
d2dae2d62f
standardize showSelect amongst category and topic_list routes
10 years ago
Barış Soner Uşaklı
d05ef6ddbc
closes #2822
10 years ago
barisusakli
254fcff01f
forgot db require
10 years ago
barisusakli
6c58bd9520
closes #2871
10 years ago
Barış Soner Uşaklı
37fe438c63
reset fix for t.js bug :rage3:
10 years ago
cismous
3bd42c8b7a
remove comma
10 years ago
barisusakli
201c4b35da
pagination data
...
if query is empty get all uids
10 years ago
Julian Lam
2a80140e70
fixed issue where socket.io would no longer reconnect perpetually, new behaviour waits 10x the reconnect delay, and then starts over. Also upped the reconnection delay default to 1.5s.
10 years ago
barisusakli
724df69561
fix redirects
10 years ago
barisusakli
ddd4680ea7
added helpers.redirect
10 years ago
Barış Soner Uşaklı
33723f8b1b
closes #2835
10 years ago
barisusakli
2a8437f08f
removed templates config and mapping 🐑
10 years ago
Julian Lam
f14c5f7e1c
added new hook 'action:meta.override404' so plugins can override the regular handling of pages that are not found
10 years ago
Barış Soner Uşaklı
9915e31bc5
closes #2826
10 years ago
Barış Soner Uşaklı
c851b5a9b1
made getBaseUser public
10 years ago
barisusakli
c40258a82c
removed 2x calls to getRecentTopicReplies
10 years ago
psychobunny
5b67cd841e
fire filter:config.get even if anonymous
10 years ago
psychobunny
0fadaf037a
filter:homepage.get for populating available routes on ACP
10 years ago
psychobunny
657fa8de73
oops action:homepage.get:*
10 years ago
psychobunny
44e8323efa
action:navigation.get:*
10 years ago
psychobunny
c97c1ab4b9
filter:config.get
10 years ago
Barış Soner Uşaklı
8b21f1c8ab
dont reload settings page on every save
...
only show an alert if reload is required
renamed settings.language to settings.userLang to match the config
10 years ago
Barış Soner Uşaklı
5140e5db8d
closes #2759
10 years ago
psychobunny
b07574d838
unnecessary return
10 years ago
psychobunny
3cc3e2f306
moved homepage configuration to its own acp page
10 years ago
Julian Lam
e0c7ef1451
fixed #2781
10 years ago
psychobunny
b1f835b053
Merge remote-tracking branch 'origin/master' into sortable-menu
10 years ago
psychobunny
2ff59278c9
navigation cleanup
10 years ago
psychobunny
fbc0a11c87
nav - basic ACP setup
10 years ago
Julian Lam
55262b399a
tweaks and refactoring for #2774
10 years ago
Barış Soner Uşaklı
c94c1430b7
api/post/pid route
10 years ago
Julian Lam
03e39f7b9b
isInvited mechanic for #2758
10 years ago
psychobunny
13fa1f6b9a
require socket.io only when you need it, shaves off another 0.5s on load
10 years ago
Julian Lam
8262c38ac8
upgrading privilege sets to be system groups, so they're not in the way
10 years ago
Julian Lam
d3ff6a9f47
hidden groups are invisible to non-members, #2758
10 years ago
Julian Lam
218ecce6c1
accessing search route with no term auto-expands the form now, part 1 of 2, #2757
10 years ago
psychobunny
cb7c318377
closes #2751
10 years ago
Barış Soner Uşaklı
767816e669
#2738
10 years ago
Barış Soner Uşaklı
c1ce0a9e1d
closes #2738
10 years ago
Barış Soner Uşaklı
743cd20441
closes #2267
10 years ago
psychobunny
bdcf090aaa
init rewards system
10 years ago
Barış Soner Uşaklı
da305210e2
closes #2618
10 years ago
barisusakli
aa94dafac1
closes #725
10 years ago
Barış Soner Uşaklı
dca143fd87
Merge pull request #2706 from acardinale/master
...
Add hooks "filter:topic.build" and "filter:category.build"
10 years ago
acardinale
6607dfc4c9
Update categories.js
10 years ago
acardinale
8975a0962e
Update topics.js
10 years ago
Barış Soner Uşaklı
276cd51836
closes #2467
10 years ago
psychobunny
0611b7e1ea
closes #2733
10 years ago
Barış Soner Uşaklı
bd553eb05d
closes #2002
10 years ago
barisusakli
d152254bcb
removed availableTemplates assign
10 years ago
barisusakli
b2fc4d5dc4
#2002
10 years ago
Barış Soner Uşaklı
0421b6ef06
closes #2639
10 years ago
Barış Soner Uşaklı
3f31098144
closes #2619
10 years ago
Barış Soner Uşaklı
2c86ca59e6
fire filter:serch.build if query is empty
10 years ago
Barış Soner Uşaklı
6a55cdfbaf
fix relative_path image url for sub installs
10 years ago
Barış Soner Uşaklı
57d6bb3b4c
filter:search.build hook
10 years ago
barisusakli
5e7bf7a272
default search in posts
10 years ago
Barış Soner Uşaklı
c98720ee4c
show results as WIP
10 years ago
Julian Lam
1843d0364e
closed #2708
10 years ago
acardinale
612acc41ba
Add hook "filter:category.build"
...
Same behavior as "filter:register.build"
10 years ago
acardinale
a63c679935
Add hook "filter:topic.build"
...
Same behavior as "filter:register.build"
10 years ago
barisusakli
d96e4ec22a
fix category filter and pagination, strip marquee
10 years ago
barisusakli
eff1256dfb
search sort, search in posts, titles, posts& titles
10 years ago
Julian Lam
957415463f
Merge branch '0.7.0'
...
Conflicts:
package.json
src/search.js
10 years ago
barisusakli
8bbd7d971b
fix index to post if sorting is by votes and pagination is used
10 years ago
barisusakli
c859586269
calculate topic post indices instead of querying db
10 years ago
Julian Lam
ff5eeb3a85
fixed #2704
10 years ago
barisusakli
38dd3d4281
search newer/older than and better pagination
10 years ago
barisusakli
9bca777320
closes #2700 allowGroupCreation setting
10 years ago
barisusakli
5c0bcd7e5d
proper qs, pagination on search results
10 years ago
barisusakli
161b934827
reply count filter atleast/atmost
10 years ago
barisusakli
def600e927
search in categories and children
10 years ago
barisusakli
b7602c6e80
removed winston.err
10 years ago
barisusakli
fd773807e9
#2685 fix copy paste fail 😦
10 years ago
barisusakli
25ccc573c0
closes #2687
10 years ago
barisusakli
255f50343c
closes #2685
10 years ago
barisusakli
6a837632fa
fix first post loading when pagination is enabled
10 years ago
barisusakli
2c8e8a1f1c
closes #2550 , closes #2518
10 years ago
Julian Lam
e4e9020e1f
added groups page to user profile
10 years ago
Julian Lam
4a7ec3ccc6
added groups page to user profile
10 years ago
barisusakli
b54f2de504
pass uid to getUsers and getUsersFromSets
10 years ago
barisusakli
57453f33ab
new group members route
...
getMembers can take start end
ability to specify how many group members to return
10 years ago
barisusakli
aaa1fae558
closes #2597
10 years ago
barisusakli
98ff75b9c3
closes #2581
10 years ago
barisusakli
9db7f0f9a0
doing on master as well
10 years ago
psychobunny
f253b11d71
passed in wrong object
10 years ago
psychobunny
0828caab32
renamed to filter:userlist.get
10 years ago
psychobunny
943e268ffc
add filter:users.get
10 years ago
barisusakli
27518716a0
make getUsers public for plugins
10 years ago
Julian Lam
08e39d150e
fixed #2655
10 years ago
Julian Lam
c026a64e8e
adding concept of group slugs, #2588 . ping @barisusakli for downstream plugin changes
10 years ago
barisusakli
3eb922393f
closes #2616
10 years ago
barisusakli
cd99324286
closes #2413 , closes #2599
10 years ago
barisusakli
fd2edcaf6f
closes #2594
10 years ago
Julian Lam
a8c818c6cd
added new hook, filter:controllers.topic.get
10 years ago
barisusakli
6ccdf187ea
closes #2595
10 years ago
Julian Lam
50ac813388
Merge branch 'private-groups', closed #2588
10 years ago
Julian Lam
675968f0f3
cover photo for groups, #2588
10 years ago
barisusakli
456b844e61
closes #2596
10 years ago
barisusakli
f417e07b9d
user search changes
10 years ago
Julian Lam
612b8f01b6
Merge remote-tracking branch 'origin/master' into private-groups
10 years ago
Julian Lam
08e883de44
added widget areas to the bottom of the group details page, #2588
10 years ago
barisusakli
0305ad989c
match uploader return
10 years ago
barisusakli
f74383bba4
changed userPhoto to files[]
10 years ago
barisusakli
1caddb6182
uploads controller
10 years ago
Julian Lam
a5d7fee623
Merge remote-tracking branch 'origin/master' into private-groups
10 years ago
Julian Lam
d747ce5760
granting and rescinding ownership, #2588
10 years ago
barisusakli
a77a761433
closes #1917
10 years ago
barisusakli
ce9c17f8e5
ability to search posts by user
10 years ago
Julian Lam
1868a02bd7
Merge branch 'master' into private-groups
10 years ago
barisusakli
60f1b9679a
search filters
10 years ago
Julian Lam
917f76feab
group join/leave controls in groups list page (+ helper!)
10 years ago
barisusakli
c1ac92ac19
popular topics will use topic creation time
10 years ago
Baris Usakli
8522af504a
closed #2571
10 years ago
Julian Lam
ad723e2943
Merge branch 'master' into categories_revamp
...
Conflicts:
src/views/admin/partials/menu.tpl
10 years ago
Julian Lam
1ddb90720c
Merge branch 'guest-handles'
10 years ago
barisusakli
6d31fee3f5
closes #2564
...
change user.search to accept params
can search substr with startsWith:false
no infinite scroll on admin user search page
10 years ago
Julian Lam
7dc309fc16
template in composer #2569
10 years ago
Julian Lam
a091757aa0
adding dedicated category edit page for ACP #2463
10 years ago
Julian Lam
6b95b28db7
drag/drop re-ordering fixed in ACP, #2463
10 years ago
Julian Lam
c98331de82
revamping categories management page in ACP, #2463
10 years ago
barisusakli
4364b50ecf
closes #2562
10 years ago
barisusakli
d1540322c9
closes #2555
10 years ago
barisusakli
e0edb71a8a
use socket.io default and ["polling", "websocket"]
10 years ago
barisusakli
14e46a87a6
closes #2529
10 years ago
psychobunny
da7dcd99a8
#2532 renamed to "socket.io:transports"
...
Sample config:
"socket.io": {
"transports": ["websocket"]
}
10 years ago
barisusakli
7ec8393004
closes #2532
10 years ago
barisusakli
8965855218
made breadcrumbs regular function
...
less db calls as well
10 years ago
barisusakli
518c6f7cfa
closes #2521
10 years ago
barisusakli
86bd85bba4
removed qs fix indent
10 years ago
barisusakli
ddd6ed9e8c
#2477 403 page
10 years ago
barisusakli
be11577aa4
closes #2477
10 years ago
barisusakli
9023060008
moved category redirect up
10 years ago
Julian Lam
78763834fe
closed #2122
10 years ago
Julian Lam
03b106b03a
final pass, #1984
10 years ago
barisusakli
5ac5d20e4b
users:online refactor
10 years ago
Julian Lam
1b526026a0
closed #2442
10 years ago
Julian Lam
1c21ca78dc
preventing ctrl-f hijacking if no search plugin is installed
10 years ago
Julian Lam
fa39b5e46b
closed #2446
10 years ago
barisusakli
4be8f3ec75
closes #2316
10 years ago
Julian Lam
deac12c540
closed #2424
10 years ago
barisusakli
7f5984d1fd
removed dupe code
10 years ago
Julian Lam
ae1528dc7e
closed #2407
10 years ago
barisusakli
0a1fa72bd8
use loadMoreFromSet
10 years ago
barisusakli
114d0506e1
fixed typo
10 years ago
barisusakli
8e114c2093
moved isAdminOrMod check out of getTopicsByTids
10 years ago
barisusakli
653850661e
topics.getTopics doesnt take set param
10 years ago
barisusakli
c1b61522f7
check if topic is deleted
10 years ago
barisusakli
c458a7f7b2
missing nconf require
10 years ago
barisusakli
9852809c2c
cleanup
10 years ago
barisusakli
1d2d69fa45
use helpers, redis crash fix
10 years ago
barisusakli
556e7066e8
moved notFound notAllowed to helpers
10 years ago
barisusakli
f8cfd82667
less code in uploadimage
10 years ago
barisusakli
d9a071d710
removed unused code from category and topic controller
10 years ago
barisusakli
519b1b7e37
closes #2377
10 years ago
barisusakli
a1624013f8
closes #2400
10 years ago
barisusakli
05a4737e84
closes #2409
10 years ago
barisusakli
e6973b55d4
closes #1990
10 years ago
barisusakli
a45858dacd
previous commit doesnt show unusud tags in admin
10 years ago
barisusakli
68e8039ac7
closes #2379
...
also fixed a bug where tags with 0 topics were showing up in /tags
10 years ago
barisusakli
4c7a4d3688
fix topicIndex,
10 years ago
barisusakli
9a16a359a8
auth refactor
10 years ago
barisusakli
eada3daf9f
fixed recent and unread
10 years ago
Julian Lam
6ea10aa7e3
ensuring that the filter:category.get hook always sends data in the same format
10 years ago
barisusakli
af4cbfb20d
closes #2368
10 years ago
barisusakli
166f353aaa
filter:register.build change #1527
10 years ago
barisusakli
db979d7a20
filter:category.get change #1527
10 years ago
Julian Lam
a12907512f
refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author, #2355
10 years ago
barisusakli
f3d485bd58
filter:user.account
10 years ago
barisusakli
719290cd2b
dont display email/fullname if they are private
10 years ago
barisusakli
39b679705b
closes #2248
10 years ago
barisusakli
595ff1f4b1
closes #2303
...
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
10 years ago
Barış Soner Uşaklı
b89b960f86
Merge pull request #2328 from dwendt/master
...
Made hiding widgets for guests/registered sensible.
10 years ago
Julian Lam
44175188c4
handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
10 years ago
barisusakli
cdfaa941b1
error checks missing return
10 years ago
barisusakli
04c83dbdcc
update deprecated sendfile
10 years ago
barisusakli
268ecd5157
single call to get slug and postcount
10 years ago
barisusakli
209edf182f
404 pages that are out of range
10 years ago
heart
c38ca146c7
Made hiding widgets for guests/registered sensible.
10 years ago
barisusakli
fb1095fc28
added allowed true to /chats
10 years ago
barisusakli
e97bfc139b
#1848
10 years ago
Julian Lam
61aaff025b
adding in 'allowed' to template, re: #2321
10 years ago
barisusakli
433769eb36
closes #2146
...
first tab (recent) shows last 50 messages instead of just last 24 hours
10 years ago
barisusakli
189eaf2bea
escape output
10 years ago
barisusakli
c5ba327d8f
fix empty pages
10 years ago
barisusakli
9909f8ba79
more err checks
10 years ago
barisusakli
eaf89dc316
use parseSignature
10 years ago
barisusakli
c74370bfb1
removed recent/day week month
...
it starts with most recent 20 topics now and goes back instead of
showing empty if there are no new replies in the past 24 hours
10 years ago
barisusakli
9a21e9646f
only use multipart on upload routes,
...
delete temp files if there is an error in admin,
admin/mods should see topic reply
10 years ago
barisusakli
c5224d099e
parseInt show title
10 years ago
barisusakli
55a5d56989
fixed view count for guests
10 years ago
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
10 years ago
barisusakli
40fe40deac
removed users:online set
...
using websockets.getConnectedClients directly
10 years ago
barisusakli
fced152e41
read total from global object
10 years ago
psychobunny
2c95d8d82e
fixed ajaxifying to advanced/logs
10 years ago
barisusakli
5dbd4bcda9
fix status if it was never set before
10 years ago
barisusakli
61c73b7761
fix urls
10 years ago
barisusakli
1d1625f5c4
closes #2157
10 years ago
psychobunny
729ed6fbda
all your semi-colons are belongs to me
10 years ago
psychobunny
eb4baf62b5
closes #2235
10 years ago
psychobunny
298625225a
use default 403 message for accounts
10 years ago
psychobunny
7bd49a96b2
#2235
10 years ago
barisusakli
f6f6ca7f76
closes #2132
10 years ago
barisusakli
394a01fdef
closes #2188
10 years ago
barisusakli
6ca06a8e54
closes #2233
10 years ago
barisusakli
348911fd2d
closes #2195
10 years ago
barisusakli
ccf58ed40e
closes #2213
10 years ago
psychobunny
d70aab6a1e
more linting
10 years ago
psychobunny
1b2ccda40b
closes #2231 ; see #2218
10 years ago
barisusakli
5db24fbe68
closes #2175
10 years ago
barisusakli
33780e6fdb
closes #2133
10 years ago
barisusakli
0e3c5195db
closes #2219
10 years ago
barisusakli
6aa53b8323
nextStart changes, fixed move topic notification text
10 years ago
barisusakli
7b8656ef8b
facebook share doesn't display &
11 years ago
Julian Lam
632fb3a618
closed #2184
11 years ago
Julian Lam
dedf7a6715
closed #2087
11 years ago
psychobunny
81bc481efc
removing page views from the dashboard stats
11 years ago
psychobunny
ed35e4bcef
switching /admin/index to /admin/dashboard
11 years ago
psychobunny
341959be82
ultimate acp route refactorizationing
11 years ago
psychobunny
385632e173
moved over admin/appearance/widgets into extend namespace
...
cleaning up my own todo's in record time, @barisusakli will be proud
11 years ago
barisusakli
4af54d48f6
closes #2169
11 years ago
psychobunny
144992426d
converted pageviews tracking to sorted set, and using pre-built getStatsForSet function
...
thanks @barisusakli
11 years ago
barisusakli
97e4f13a4d
fix page count
11 years ago
barisusakli
1202322700
fix acp users page
11 years ago
barisusakli
0eb4b93882
moved hasPassword to edit route
...
its only used there no need to display it everywhere user info is
retrieved
11 years ago
psychobunny
f98e3aaf64
segregated the "theme" route (now "appearance") into their own separate routes
11 years ago
psychobunny
6af1e4f6d0
removing "branding" until I can figure out how to do this properly
...
(tbh, even I don't know how it works anymore)
11 years ago
psychobunny
467d486e58
closes #2145
11 years ago
barisusakli
c000e852b5
closes #1935
11 years ago
barisusakli
da64eb0873
closes #2117
11 years ago
psychobunny
9f40cd03e8
on /admin/settings, render general
11 years ago
psychobunny
117b8dece4
settings acp refactor for dedicated routes
11 years ago
barisusakli
23197af725
closes #2114
11 years ago
Julian Lam
e1211527b0
Merge branch '0.5.1' into hashtalk
...
Conflicts:
src/controllers/topics.js
11 years ago
barisusakli
0767998022
closes #2124
11 years ago
barisusakli
2d5dc44ce5
closes #2123
11 years ago
psychobunny
0db93504ce
forgot comma
11 years ago
psychobunny
2b90add560
fix for topics without category data (?)
...
@barisusakli lemme know if this is legit, if not, see line 195 as well
11 years ago
barisusakli
ba90b5d113
widget render change
11 years ago
barisusakli
0914004e12
crash fix
11 years ago
Moritz Schmidt
d1273516b5
default for missing post_index parameter
...
Avoid getting NaN if post_index param is not set (NaN is passed through to redis, redis complains, and the user ends up at /404)
11 years ago
barisusakli
5323934cc2
calculate page count in controller
11 years ago
barisusakli
b7fd4c22d4
removed checkPostIndex middleware
...
1 less call to get topic post count
11 years ago
psychobunny
a52c69d2a1
only send noscript paginator data on cold loads
11 years ago
barisusakli
59120df71c
bulk fix
11 years ago
barisusakli
7652f2bf39
escape input tag
11 years ago
barisusakli
55cbaf6a19
#2032
11 years ago
barisusakli
926acd16b2
closes #2032
11 years ago
barisusakli
c1f3b94d67
closes #2073
11 years ago
barisusakli
a0cc2ee6a9
duh
11 years ago
barisusakli
3abbeb8795
show recent posts of child categories
11 years ago
barisusakli
4066607388
closes #2052
11 years ago
Julian Lam
0b7a21b8d1
Merge branch 'hashtalk' of github.com:NodeBB/NodeBB into hashtalk
11 years ago
Julian Lam
8bac0bf361
Merge branch 'csrf-excision' into hashtalk
11 years ago
Julian Lam
a061079995
fixed all POST routes to use new csrf middleware
11 years ago
psychobunny
1caf4806e8
closes https://github.com/NodeBB/NodeBB/issues/2103
11 years ago
Julian Lam
4f6b3055ff
Merge branch '0.5.1' into csrf-excision
11 years ago
barisusakli
aae7f2434d
closes #2088
11 years ago
psychobunny
22577917da
closes https://github.com/NodeBB/NodeBB/issues/2093
11 years ago
psychobunny
ecd00bb679
refactored widgets api call to render all at once rather than one area at a time, closes https://github.com/NodeBB/NodeBB/issues/2062
11 years ago
barisusakli
9a96458f79
closes #2053
11 years ago
barisusakli
da86c46b4c
Merge remote-tracking branch 'origin/0.5.1' into hashtalk
11 years ago
barisusakli
7c3dc4877a
closes #2089
11 years ago
Julian Lam
84d4035597
Child categories no longer show up on homepage, re: #2080
11 years ago
barisusakli
f1d5db6be0
pagination fix
11 years ago
barisusakli
ddb02978c8
cleanup
11 years ago
barisusakli
e56b18822b
added topic titles to notifs
...
upvote, favourite and flag has topic titles now
11 years ago
barisusakli
493d0dea1e
part 1 of notif refactor
11 years ago
Julian Lam
40e5ad075f
started work on #2082
11 years ago
barisusakli
4b20e78de2
hopefully final fix
11 years ago
barisusakli
518d731562
one more time
11 years ago
barisusakli
f9c9f58561
post_index fix
11 years ago
barisusakli
126b1c4f4c
only get 20 chats
11 years ago
psychobunny
071be4ae7f
cache popular route for anons
11 years ago
psychobunny
9f0fff4434
closes #2039
11 years ago
Julian Lam
063d270f1a
introducing "sort" querystring parameter in topic route, so that sorting can be overridden via query string.
11 years ago
barisusakli
171f02101d
closes #2035 , closes #2036
11 years ago
barisusakli
b8dfbdaff2
small optimization to online users
11 years ago
barisusakli
ae6d5e72f4
closes #2015
11 years ago
Julian Lam
298d904d45
refactored login process to be a form submit instead of ajax-redirect, implemented error message parsing using req.flash
11 years ago
barisusakli
603cddc687
closes #1934
11 years ago
barisusakli
4f5c78d675
merge
11 years ago
barisusakli
537dea4e4b
crash fix
11 years ago
barisusakli
5f2380fdcd
dont display all categories
11 years ago
barisusakli
94c765fa25
closes #1996
11 years ago
barisusakli
95c839579e
closes #2007
11 years ago
Julian Lam
b7c7dd98c3
ACP setting and API return for subcats
11 years ago
barisusakli
06119510b7
merge
11 years ago
psychobunny
4dd32e1024
filter:category.get applies to all category-like API calls now
...
@a5mith
https://gist.github.com/psychobunny/572d867935469774c6e8#comment-1281883
11 years ago
barisusakli
d411ed5c28
closes #1995
11 years ago
barisusakli
5ae7c92d55
notifications refactor
...
added getMultiple which works with an array of nids
11 years ago
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
11 years ago
barisusakli
b2f8a65bc8
removed slice
11 years ago
barisusakli
522fda2e58
closes #1936
11 years ago
barisusakli
d852f284da
closes #1948
11 years ago
barisusakli
d91fa5747d
closes #1964
11 years ago
barisusakli
5c91bc4335
optimized home
11 years ago
barisusakli
5c84a3adb5
closes #1974
11 years ago
barisusakli
4e4a583d9d
took out the meta config check from image.js
11 years ago
barisusakli
528ee335d5
optimize getTopicsByTids and getTeasers
11 years ago
psychobunny
3a32058be1
closes #1958
11 years ago
psychobunny
bb48bdb008
closes #1942
11 years ago
barisusakli
95979d9d97
closes #1947
11 years ago
barisusakli
e7700a3fde
minor refactor
11 years ago
barisusakli
0773f51260
closes #1932
11 years ago
barisusakli
76ad2b8fb2
fixed to account header
11 years ago
barisusakli
cfc67d4e90
closes #1924
11 years ago
Julian Lam
bb7a71389e
using websocketAddress config if supplied
11 years ago
Julian Lam
4d73a563c5
closed #1850
11 years ago
barisusakli
3bfad766b3
closes #1900
11 years ago
Julian Lam
883cee31bc
added support for showSiteTitle in ACP, closes #1519
11 years ago
barisusakli
6c48cbe6ce
regFormEntry array
11 years ago
barisusakli
1e6d589080
show topics on home instead of replies
...
no template changes, instead of showing the latest x posts under
categories, we are now showing the latest x posts of the latest x
topics.
11 years ago
barisusakli
81018d1305
closes #1863
11 years ago
barisusakli
ef8bbdd359
closes #1864
...
doing andrew's //todo's since 1991
11 years ago
psychobunny
803b6f64b8
ability to disable sitemap.xml
11 years ago
psychobunny
704d81fe53
disable category RSS
11 years ago
psychobunny
b6a8845d52
disable topic RSS
11 years ago
barisusakli
e036c20072
closes #1808
11 years ago
barisusakli
0362c1a3b0
show day/week/month/year popular topics
11 years ago
psychobunny
5b6acbad1e
optimized widget call by bundling all queries into one for #1428 ; fixes active users widget crash
...
also fixes b3819fd076
properly
11 years ago
psychobunny
c6183f1a82
closes #1428
11 years ago
Julian Lam
4404387218
Merge branch 'master' into chat-route
11 years ago
Julian Lam
71916f0691
marathon bugfixing with @barisusakli re: #1788
11 years ago
barisusakli
64d04f7aa6
closes #1803
11 years ago
Julian Lam
d9cdd2f165
limiting recent chats to 20
11 years ago
Julian Lam
13e4e8dad7
a couple final tweaks to contact list and such... #1788
11 years ago
Julian Lam
1db96dc627
typing notifcation socket implementation for chat page, #1788
11 years ago
Julian Lam
84e046185b
WIP
11 years ago
Julian Lam
4d85df5bae
issue #1788 - start
11 years ago
barisusakli
bc257c1c10
removed dupe version
11 years ago
psychobunny
ddcca28cf0
pass allowRegistration in login API for #1786
11 years ago
barisusakli
e6c9647acf
display user post topic stats in admin index
11 years ago
barisusakli
b8b6ae7b2f
moved upload route into API namespace
11 years ago
barisusakli
5ec289eee2
closes #1769
11 years ago
psychobunny
92c0bd07c9
Ability to enable/disable the upvote/downvote system, closes #1672
11 years ago
psychobunny
a2f85648c5
allow voting system to be disabled
11 years ago
barisusakli
1cabf885a2
closes #1730
...
postCount != lastPostIndex unfortunately, that will need some rethinking
11 years ago
barisusakli
f8afb8da3e
allow plugins to add new links to user profile menu
11 years ago
Julian Lam
6f218857cb
added connect-flash package. npm also alphabetically re-ordered the deps... thanks npm?
11 years ago
barisusakli
2479a34c56
closes #1710 , closes #1700
11 years ago
psychobunny
db3523b10b
#1701
11 years ago
barisusakli
39886c8545
removed unread total route
11 years ago
barisusakli
3b1e373e7b
group titles
11 years ago
psychobunny
b12ca5ab9f
closes #1673
11 years ago
barisusakli
870bf95e5b
deleted topic feed fix
11 years ago
psychobunny
eeabae5738
closes https://github.com/NodeBB/NodeBB/issues/1668
11 years ago
barisusakli
d32dfd98b7
remove main post if page is greater than 1
...
this fixes pagination after the main post change
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
efe04c12d3
closes #1635
...
if email isnt confirmed, show a warning in account/edit and let users
resend confirm email
11 years ago
barisusakli
b537666e5c
closes #1592 , closes #1634
11 years ago
barisusakli
0574022e02
fixes to infinitescroll
11 years ago
barisusakli
55dbc5c823
closes #1612
...
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
11 years ago
psychobunny
791fde7904
fixing #1587 properly for unread count
11 years ago
psychobunny
0334a487b5
fixing #1587 properly for profile views
11 years ago
psychobunny
74097be2e4
additional fix for #1587
11 years ago
psychobunny
fee591e551
fixes #1587
11 years ago
psychobunny
bfa3b0f22f
global header widgets
11 years ago
barisusakli
9c0446d416
closes #1593
11 years ago
barisusakli
48aba5fc64
category widget changes
11 years ago
Julian Lam
f20926f93d
finished up group list and group details pages - closed #1563
11 years ago
Julian Lam
7425b72245
most of the work for #1563
11 years ago
Julian Lam
7bdbb966aa
groups pages WIP
11 years ago
barisusakli
b8b482e287
closes #1555
11 years ago
barisusakli
fa1275c03a
closes #1557
11 years ago
barisusakli
746df87d89
upgrade tags to sorted set
11 years ago
barisusakli
51e07e197b
added isSelf to account route
11 years ago
barisusakli
87fe5bf1bb
delete tag if it has no topics left
11 years ago
barisusakli
df73ceaeb7
closes #1556
...
added tag input box to composer when creating a topic
added new routes for viewing tags 'tags' and 'tags/:tagname'
respectively
post_bar.tpl shows the tags of the topic
can edit the main post to remove or add new tags
added a new menu item to header to go to the tags page
11 years ago
barisusakli
c7c54560bc
fixes going into deleted topics for admins
11 years ago
barisusakli
cd08a16f77
return post count to with categories
11 years ago
Aziz Khoury
8d6a8dc928
filter:register.build now returns what it was passed, in order. fixes #1540 , we seriously need to consider standarizing the hooks arguments, maybe some ideas here #1527
11 years ago
Julian Lam
e43ebb0423
Merge pull request #1533 from akhoury/master
...
captcha support
11 years ago
Julian Lam
b1534b7798
removing allowGuestPosting logic in NodeBB
11 years ago
Julian Lam
3474cdc5ea
added new privilege "find", added guest meta group, closed #1282
11 years ago
Aziz Khoury
0e0f66ba9e
minor cleanups.
11 years ago
Aziz Khoury
d3a11f7ad8
Merge remote-tracking branch 'upstream/master'
11 years ago
barisusakli
b1aae05a08
closes #1518
11 years ago
barisusakli
3e86bdb38f
more work on #1518
...
still needs more work, category is next
11 years ago
Aziz Khoury
086013829b
added 'filter:register.build' hook to augment register template data
11 years ago
psychobunny
a5a2e6f04e
update BS brand colors in ACP
11 years ago
Julian Lam
d54ecea506
more privilege changes
11 years ago
Julian Lam
7c8b442dcd
more updates to privileges revamp
11 years ago
barisusakli
c5d9a68b4b
closes #1445
11 years ago
psychobunny
10716c37d3
closes #1376
11 years ago
Julian Lam
b56df975e0
fixed 1495
11 years ago
barisusakli
1f7fd51b40
some work for #1482
11 years ago
barisusakli
7a25f0bb36
fix for #1496
11 years ago
psychobunny
38a3ab6365
fixes routes for https://github.com/designcreateplay/NodeBB/issues/1485
11 years ago
barisusakli
c8efeb7d7c
closes #1400 , bunch of other fixes to 404, 403 in accounts
11 years ago
psychobunny
bb12ebac48
closes #1442
11 years ago
Julian Lam
b049bd466c
added 'config.version' to client-side
11 years ago
barisusakli
ee12b4fd3e
removed duplication in uploads
11 years ago
barisusakli
53021d31b0
closes #1446
11 years ago
barisusakli
1d1d677b56
closes #1422
11 years ago
barisusakli
c9551abc5d
closes #1432
...
ability to select a default gravatar image (default, identicon,
mystery-man, monsterid, wavatar, retro) or upload a custom image to use
as default gravatar image
11 years ago
Julian Lam
5f5906860e
fixed #1406
11 years ago
barisusakli
a1e6a3616c
ability to install/uninstall plugins from ACP
11 years ago
psychobunny
0be414dab9
add registered-only checkbox option to widgets
11 years ago
Julian Lam
126260a027
added cache-buster to template xhr urls -- closed #1392
11 years ago
barisusakli
e7a415246e
closes #1390
11 years ago
Julian Lam
84a34933fe
fixed #1351 -- ACP will tell user that they need to restart, if they need to restart
11 years ago
barisusakli
01555cbb5c
return privileges in category
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
90540f64cf
removed some unused translator requires
11 years ago
Julian Lam
df8728c785
allowing plugins to define new sounds -- woot.
...
Also moving the core sounds into a separate package, soundpack-default
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
barisusakli
0ac58dbee6
more error strings
11 years ago
barisusakli
1e96c21cae
removed the span size
11 years ago
barisusakli
2195b20385
closes #1263
11 years ago
barisusakli
d2033abf96
fixes unread page
...
if you had more than 20 unread topics it was loading 40 now it will only
load 21 then keep loading with infinite loading
11 years ago
frissdiegurke
993b745f1c
Added svg-support for category pictures
11 years ago
barisusakli
a7c5a5e819
closes #1334
11 years ago
barisusakli
421a25eb56
closes #1288
11 years ago
barisusakli
4bc3f54468
closes #1318
11 years ago
psychobunny
7926514c95
draft zone for widgets, closes #1238
11 years ago
psychobunny
576246c315
global widget areas (sidebar/footer) - closes #1097
11 years ago
barisusakli
0e5c65199d
simpler static
11 years ago
barisusakli
824d849a52
removed req
11 years ago
barisusakli
a3842d2c61
removed similar code
11 years ago
barisusakli
e5a5b8e8bf
added privateUserInfo and isLoggedIn for #1275
11 years ago
Julian Lam
be45ad163a
properly fixed #1274
11 years ago
Julian Lam
585eb9e1be
fixed #1274
11 years ago
barisusakli
61ae01543c
fixed to use postsPerPage
11 years ago
barisusakli
a400e5de81
#1269
11 years ago
barisusakli
6fc3103aef
topic og:image changes
11 years ago
barisusakli
48ed540801
closed #1267
11 years ago
barisusakli
0c744a947e
chat will use timeago
11 years ago
barisusakli
0741b162cb
#1265
11 years ago
barisusakli
f247c2195e
fixed user picture in og:image
11 years ago
barisusakli
94a589e0e4
#1190
11 years ago
barisusakli
1f2d5abbb7
possible fix for #1256
11 years ago
barisusakli
0cfd05d839
closes #1254
11 years ago
barisusakli
db3632557e
moved notification push out of markAsRead
11 years ago
barisusakli
bac3cf03cb
moved unread to new file
11 years ago
barisusakli
7f193041a8
removed admin topics
11 years ago
barisusakli
fa98da6978
related to #1250
11 years ago
Julian Lam
c709b7ed5b
Merge remote-tracking branch 'origin/master'
11 years ago
Julian Lam
4239c376c8
truncating user list in Groups ACP page, resolved #1132 . Refactored system groups handling
11 years ago
barisusakli
567d867b1e
fixed require to missing public config.json
11 years ago
barisusakli
0f66e80a5a
added setting to disable notification sounds
11 years ago
Julian Lam
c1ccc81400
ACP integration for Sounds
11 years ago
Julian Lam
17903adace
Merge branch 'master' of github.com:designcreateplay/NodeBB
11 years ago
barisusakli
46a475fdde
controllers/admin/users cleanup
11 years ago
barisusakli
ea4931fa1d
removed dupe from controllers/user.js
11 years ago
barisusakli
37e8856861
new middleware to add slug to topic and category
11 years ago
Julian Lam
f942c03a58
Merge branch 'master' of github.com:designcreateplay/NodeBB
11 years ago
barisusakli
611c16b5a6
closes #1126
11 years ago
barisusakli
1354739d19
user deletion #746
...
user deletion NOT SKALABLE
11 years ago
Julian Lam
6d03f713c5
"Sounds" tab in Settings page... WIP, needs fixing.
11 years ago
barisusakli
175230e337
closes #1205
11 years ago
barisusakli
90e398e5c9
user js refactor, category fix
...
if a category that didn't exist was request with category/1231 or
api/category/1231 it was crashing.
11 years ago
psychobunny
f47f146320
moved out uploads and users from controllers/admin into their own files
11 years ago
psychobunny
641ec3ef82
moved duplicate upload validation code into its own fn
11 years ago
psychobunny
0bbff06cfa
use middleware.authenticate instead of checking in each fn
11 years ago
psychobunny
01cda60704
moved admin upload functions into controllers/admin; re-organized routes/admin to look like routes/index; removed unused deps
11 years ago
barisusakli
e9ab9dcce2
search cleanup
11 years ago
Julian Lam
f28c690f2f
fixing up robots.txt
11 years ago
barisusakli
813b3d6fcc
changes for live streaming of posts
11 years ago
Julian Lam
b259c3d422
categoryData should return better topics (non-anon uid passed in now)
11 years ago
Julian Lam
82a82afe99
updated the way privileges were handled in the .get() category controller
11 years ago
barisusakli
88c4b90fc8
accounts controller removed duplication
11 years ago
barisusakli
037e8943a8
removed left over
11 years ago
barisusakli
9564b6fda2
closes #1165
11 years ago
barisusakli
3d68c7c6b6
added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js
11 years ago
barisusakli
974333dbc3
fixed missing currentPage
11 years ago
psychobunny
30cfddda68
fix for topics view count, and marking topics as unread
11 years ago
psychobunny
6ea4d89edc
fixed search routes
11 years ago
psychobunny
a99be8e7be
got rid of all the res.locals.isAPI checks in all controller methods. now 1000% cleaner :shipit:
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
464c2f42c3
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
...
Conflicts:
public/templates/admin/themes.tpl
src/meta.js
src/routes/api.js
11 years ago
psychobunny
f20a2a2047
merging changes from deprecated routes/user.js
11 years ago
psychobunny
8f7a7fec7d
more cleanup; commenting out custom plugin routes until its fixed properly
11 years ago
psychobunny
48df0cf889
Merge remote-tracking branch 'origin/master' into webserver.js-refactor
...
Conflicts:
src/routes/admin.js
11 years ago
psychobunny
c24c2a5422
search and reset routes, the very last of the views to be refactored :shipit:
11 years ago
psychobunny
d3aead7c13
changing renderHeader function signature to req, res, next
11 years ago
psychobunny
7ef6f9bbf5
buckled down and refactored pretty much all of admin routes x_x
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
188aeabba8
missed a file in previous commit
11 years ago
psychobunny
7bef58deb1
started moving out api functionality out of the route file into controllers/api.js
11 years ago
psychobunny
d18ce28de0
fixxed categories.get; privileges object and currentPage were missing on original route
11 years ago
psychobunny
88ca3733a7
more jshinting
11 years ago
psychobunny
cdf92c5cda
fixed a really annoying bug - the original topics route pre-refactor never actually included a privileges object
11 years ago
psychobunny
fa2b5d1ee6
re-implementing meta and link tags - completified
11 years ago
psychobunny
3eb9f65c2e
jshinting controllers/index.js; adding back meta tags to home page
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
f35c14ee07
bugfixes + cleanup for accounts and users routes
11 years ago
psychobunny
fa103b2d6e
finally done with routes/user.js; accounts.getUserByUID; bug fixing and cleanup
11 years ago
psychobunny
08d3d9feb3
accounts.uploadPicture
11 years ago
psychobunny
bfcb61f37d
forgot to port getUserDataByUserSlug
11 years ago
psychobunny
d072ad60de
all users/ pages converted
11 years ago
psychobunny
7c873c4314
decided to functionally separate accounts from users
11 years ago
psychobunny
e64d87cb1d
all user account pages; all static pages; outgoing page
11 years ago
psychobunny
00df660fa5
robots + sitemap; some clean up
11 years ago
psychobunny
942d16a3b4
confirmEmail route
11 years ago
psychobunny
dae7b06f4d
initial login and register routes
11 years ago
psychobunny
e193d58112
unreadTotal route
11 years ago
psychobunny
beafc881c4
added recent and unread in categoriesController
11 years ago
psychobunny
96d6b96ce4
controllers.home
11 years ago
psychobunny
ad222dce2a
controller indexx
11 years ago
psychobunny
233e49fd34
topics controller
11 years ago
psychobunny
62a4b419e3
categories controller
11 years ago