12835 Commits (165b0f856581b0404ad1680e9f1a9e01c9677cb9)

Author SHA1 Message Date
Barış Soner Uşaklı 3f56b135d4 dashboard 2 years ago
Barış Soner Uşaklı 252c9f646b remove dupe buttons on dashboard 2 years ago
Barış Soner Uşaklı 5adc418fef manage ip address dropdown 2 years ago
Barış Soner Uşaklı d0e9eb2ca4 fix: dont add deleted users to users:online
dont set their lastonline field
2 years ago
Barış Soner Uşaklı db3bff094e fix: #11679, fix username change
only effected usernames with special characters & quotes
2 years ago
Barış Soner Uşaklı 04998908ba
Fixes for "validate email" & "send validation email" in ACP (#11677)
* confirmObj changes

dont expire confirm:<code>, add a expires field instead
dont expire confirm:byUid:<uid>

on admin manage users display the users email status
	1. verified
	2. verify email sent (pending)
	3. verify email sent (expired)
	4. no email entered

fix validate email in acp to use
	email in user:<uid> if they have one
	if not check if its in confirm:<code>
	if its not in above cant validate throw error

fix send validate email to use
	email in user:<uid> if they have one
	if not check if its in confirm:<code>
	if its not in above too cant validate throw error

* add back socket.io tests

* test: fix confirm tests

no longer using pexpire
return correct time left on token

* chore: update openapi

* fix: delete call

* test: mget test fixes

* test: fix tests
2 years ago
Barış Soner Uşaklı 32f60df108 refactor: remove log 2 years ago
Barış Soner Uşaklı b73f307abe fix: filter null nav items 2 years ago
Barış Soner Uşaklı e89cfd447e feat: closes #11671, allow custom classes on body
res.render('myplugin', { bodyClasses: ['myplugin', 'special']});
2 years ago
Barış Soner Uşaklı 2ba70e4367 dont shrink left-sidebar 2 years ago
Barış Soner Uşaklı d3c5a79d44 fix: #11664, dont create backlinks for quotes 2 years ago
Barış Soner Uşaklı a5b080ea6f fix: wrap on events page 2 years ago
Barış Soner Uşaklı 7e05905372 some mobile fixes for tables and headers 2 years ago
Barış Soner Uşaklı 9989ad9658 fix missing button style 2 years ago
Barış Soner Uşaklı e0f25b3633 fix order plugins 2 years ago
Barış Soner Uşaklı 3e8bcdc6b8 align upload table 2 years ago
Barış Soner Uşaklı c3afe44686
Acp redesign (#11639)
* acp sidebar

* gap in nav

* remove shadow

* label fixes

* color fixes

* feat: settings page wip

* feat: scroll spy 👓

move social into general, store social in meta.config like other settings
write upgrade script

* remove social

* rermove openapi routes

* cleanup, highlight selected nav item

* more cleanup

* advanced margin top

* derp

* match design

* bring back version alert

fix homepage js, since it moved to general settings

* remove unused tpls

these moved to general settings

* remove more  css

* offcanvas for mobile

fix search

* add timeout

* add new props

* manage categories

* small fixes

* category-edit

* feat category page fixes

* add title to settings pages

add user settings page

* small fixes

* some more settings pages

* fix: plugin page titles

* more settings pages

* more padding

* more pages, add acp paginator.tpl

so it doesn't change when active theme changes

* remove placeholder

* dashboard table

* fix: openapi

* fix: controller tests

* use fonts from core

* some small fixes

* fix rep page

* refactor: fix name of upgrade script

* create category modal

group edit

* group/groups pages

* admins mods

* privs

* uploads

* missing margin

* more acp pages

* more pages

* plugins/rewards/widgets

* wrap rewards

* fix widgets

* fix widget clone button

* fix group acp edit link

* update search dropdown

* remove display block from tbody

* use less css

* remove some derp links

* remove striped tables

* remove p tags from lang files

* update email settings

* Update api.tpl

* move tag-whitelist
2 years ago
Barış Soner Uşaklı 11cd32722e Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 67f44a3212 feat: add back support for req.body._csrf
used in login.tpl etc for noscript login
2 years ago
Barış Soner Uşaklı afb684ebe7 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 3256fb30e7 fix: rimraf usage in user image delete
https://github.com/isaacs/rimraf/issues/275#issuecomment-1562402287
2 years ago
Barış Soner Uşaklı 8c9ab01f3f feat: closes #11630
install & launch forum after entering admin user details in one step
2 years ago
Barış Soner Uşaklı 3066519028 add await 2 years ago
Barış Soner Uşaklı ed15cbb06a feat: translate bodyShort
turns [[notifications:upvoted_your_post_in, test1, Vote *for* NodeBB :ballot_box_with_ballot:]]   into <strong>test1</strong> has upvoted your post in <strong>Vote *for* NodeBB :ballot_box_with_ballot:</strong>. so emoji plugin can parse emojis and they don't get escaped by translator client side
2 years ago
Barış Soner Uşaklı d586b8b6b5 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 8cb6ebb90b fix: logins dashboard user images 2 years ago
Barış Soner Uşaklı 8f6a68ca09 fix: closes #11612
fix selectors
2 years ago
Barış Soner Uşaklı 24bd9d4e88 https://github.com/NodeBB/NodeBB/issues/11612
fix post content and title edit
2 years ago
Barış Soner Uşaklı 3cef2535cc fix: closes #11612
fix selectors
2 years ago
Barış Soner Uşaklı cf7d933439 https://github.com/NodeBB/NodeBB/issues/11612
fix post content and title edit
2 years ago
Barış Soner Uşaklı 5daaa5ea78 fix: edge case in category filter
selecting a category and then clicking on all categories was breaking selection icons
2 years ago
Barış Soner Uşaklı 160b891979 add userFilter-placeholders to core 2 years ago
Barış Soner Uşaklı 29303f4a13 fix: #11572
add width to emojis
2 years ago
Barış Soner Uşaklı 2910cb2b26 fix: #11572
add width to emojis
2 years ago
Barış Soner Uşaklı adf14ea57c fix: browser title if options.title is undefined 2 years ago
Barış Soner Uşaklı 51096ad234 poc: use csrf_token in ws handshake (#11573) 2 years ago
Barış Soner Uşaklı 63b859f053
poc: use csrf_token in ws handshake (#11573) 2 years ago
Barış Soner Uşaklı efea33d906 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 8eed5a8413 fix: #11600, prevent helmet crash on startup 2 years ago
Barış Soner Uşaklı 85d104c375 fix: #11594
set the order of theme to same as the on it's replacing
2 years ago
Barış Soner Uşaklı 77528b984a add btn-group 2 years ago
Barış Soner Uşaklı d6ead3d4c4 fix: lang strings 2 years ago
Barış Soner Uşaklı bd80d36e0d Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 28740de766 fix: #11595, use default value 2 years ago
Barış Soner Uşaklı 11d315df50 fix: #11594
set the order of theme to same as the on it's replacing
2 years ago
Barış Soner Uşaklı a75fd636ad test: add missing tests 2 years ago
Barış Soner Uşaklı aff6d20f9f test: fix digest test 2 years ago
Julian Lam 6765d053ce test: additional tests for .roll() 2 years ago
Julian Lam 3e6dd78d86 fix: relocated upgrade script, removed outdated code that called core.api for tokens 2 years ago
Julian Lam f42b636adc test: fix authentication tests to use new token saving utility functions 2 years ago
Julian Lam 4f524e9f94 feat: token rolling API for admins
+ tests
2 years ago
Julian Lam ce23caf7e6 feat: token editing and deletion 2 years ago
Julian Lam e4888dea17 feat: api token migration, new ACP tokens list, token creation 2 years ago
Julian Lam 7b8bffd763 feat: internal utility functions for token management (creation, deletion, etc)
Including tests
2 years ago
Julian Lam 686ecea123 fix: #11589, regression where a user could not confirm their email if requireEmailAddress was enabled 2 years ago
Barış Soner Uşaklı ad1ae29105 dep: closes #11577
Breaking: Cross-Origin-Embedder-Policy middleware is now disabled by default. See #​411
2 years ago
Julian Lam e94c58becd Merge remote-tracking branch 'origin/master' into develop 2 years ago
Barış Soner Uşaklı 8a1ec4d645 fix: reset password
https://community.nodebb.org/post/93016
2 years ago
Barış Soner Uşaklı 78f793473d feat: up emoji, remove title parse code 2 years ago
Barış Soner Uşaklı 6d5a2635ba parse topic titles for post summaries 2 years ago
Barış Soner Uşaklı 2cdc454f3e use order by 2 years ago
Barış Soner Uşaklı f083cd559d
feat: add getSortedSetMembersWithScores (#11579)
* feat: add getSortedSetMembersWithScores

* lint: fix

* test: fix redis

* fix: mongo/psql
2 years ago
Barış Soner Uşaklı e1473bcc2d fix: strip html tags from browser title 2 years ago
Julian Lam 84313712a2 fix: add an additional check on page load to enforce `requireEmailAddress` setting
The old behaviour would require that an email be entered, but did not block access to the forum (nor did it ensure that the email was verified).

The new behaviour (if the setting is enabled) will ensure that only those users with a confirmed email can continue through.

The only exceptions are super admins (so they don't get locked out).
2 years ago
Barış Soner Uşaklı ca93084cc5 fix: gdrp checkboxes 2 years ago
Barış Soner Uşaklı 18e76ba5fc fix: #11570
fix direction of dropdowns on rtl
2 years ago
Barış Soner Uşaklı e0db9a8978 test: fix assert.reject calls
fix tests
2 years ago
Barış Soner Uşaklı fbf44a10e7 feat: expiration date for widgets
closes #10495
2 years ago
Barış Soner Uşaklı 093ec0e8ab fix: closes #11559, fix some rtl issues 2 years ago
Barış Soner Uşaklı 589761be97 group filter 2 years ago
Barış Soner Uşaklı 8e63e43a3b refactor: move to modals 2 years ago
Julian Lam 2b8dd3d202 fix: #11554, email requirement bypass by sending in whitespace 2 years ago
Barış Soner Uşaklı d02f257945 fix badge bg 2 years ago
Barış Soner Uşaklı ec0da196d8 chore: whopps 2 years ago
Barış Soner Uşaklı 83fca31628 feat: closes #11549, new error pages 2 years ago
Barış Soner Uşaklı caac938428 add flex-fill 2 years ago
Barış Soner Uşaklı 73d02725f0 new 404 page 2 years ago
Julian Lam 36895421ba refactor: topic mark read/unread routes 2 years ago
Julian Lam 69b409385d refactor: migrate `posts.getReplies` to write API 2 years ago
Julian Lam ee9f53f1ff refactor: deprecate socket method posts.getPidIndex 2 years ago
Julian Lam d814e281a0 feat: write API shorthand to query post routes by their topic index (requires tid in either query string or request body)
middleware.checkRequired is also updated to check for matches in req.query as well.
2 years ago
Julian Lam cdd7748003 fix: add back removed socket method, added deprecation warnings, as there are no breaking changes allowed in v3.1.0 2 years ago
Julian Lam f2082d7de8 refactor: started work on porting socket methods to write API [breaking]
The following socket calls have been removed:

* `posts.getRawPost`
* `posts.getPostSummaryByPid`

Two new Write API routes have been added:

- `GET /api/v3/posts/:pid/raw`
- `GET /api/v3/posts/:pid/summary`
2 years ago
Julian Lam 604a8f7e60 fix: black on red coloration on error when a bad reset code is received 2 years ago
Barış Soner Uşaklı ec8d8ec45b fix: closes #11511
reset all user skins if they are no longer available
2 years ago
Barış Soner Uşaklı e070b851b1 fix: outgoing style 2 years ago
Barış Soner Uşaklı 8e0f9ce573 fix: #11541, fix leave chat error 2 years ago
Barış Soner Uşaklı 870472108e refactor: if position 2 years ago
Barış Soner Uşaklı e3551d80d7 feat: allow tag editing from topic tools
closes #7536
closes #7465
closes #11538
2 years ago
Barış Soner Uşaklı 9f485ce6f1 fix: remove positions 2 years ago
Barış Soner Uşaklı 5ead9b7365 fix: scroll on edit textarea 2 years ago
Barış Soner Uşaklı eb0c77fd69 feat: #7096, improve chat editing
use a new template for editing chats,
remove the data-mid on the chat inputEl
2 years ago
Barış Soner Uşaklı b891c5accd test: fix group tests
no idea how these passed on gh runner
2 years ago
Barış Soner Uşaklı c23689d305 fix: #11531, fix teasers
1. with scheduled topics, pid is no longer reliable, lower pid can have higher timestamp(scheduled in the future) so use timestamp for sorting teasers
2. when restoring/deleting topics, update the teaser tid as the last step because it checks topicData.deleted
2 years ago
Barış Soner Uşaklı 3099d57f24 feat: #11431
add joindate/postcount/reputation to user
add lastposttime to topic
2 years ago
oplik0 2bfdd76180 feat: show even uninstalled active plugins if set via config 2 years ago
oplik0 74cb224344 feat: add option to autoinstall plugins on setup 2 years ago
Barış Soner Uşaklı 2720a692cf fix: #11530, fix topic rescheduling
don't display scheduled posts in group page
when topic is rescheduled update post sorted sets with new timestamp
when post is published update group posts zset
fix markTopicRead if topic was read while it was still hidden
2 years ago
Barış Soner Uşaklı 5607e5bccb
fix: #10594, move counter code (#11529)
instead of updating counters one by one on each topic move, update them once after all topics are moved, use zcard instead of incr/decr
2 years ago
Barış Soner Uşaklı c3854b786e feat: closes #11432, use edited time if its greater 2 years ago
Barış Soner Uşaklı 619af8871a only show thumb selector if more than 1 2 years ago
Barış Soner Uşaklı 8a43aeac16 add padding 2 years ago
Barış Soner Uşaklı 84a78c2d5f feat: move topic thumb to template
use a single modal to show all thumbs and allow switching
2 years ago
Barış Soner Uşaklı 6b51dd5a2f
feat: closes #11424, add category selector to fork modal (#11491)
select the current category on open
2 years ago
Barış Soner Uşaklı eb8c5d8234 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 30b6bcfca1 fix: #11519, clear parent cache all the way to root 2 years ago
Barış Soner Uşaklı 94229688c2 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı de2669a2c6 fix: only remove deleted tag, closes #11515 2 years ago
Barış Soner Uşaklı e8fb6711b8 fix: #11512, filter by cid 2 years ago
Barış Soner Uşaklı 7d7904b045 fix: closes #11511, reset skin if it was removed from bootswatch 2 years ago
Barış Soner Uşaklı 94f2e50883 feat: add hits/sec for cache 2 years ago
Barış Soner Uşaklı 5c26cb5888 fix: add composer:showHelpTab to api 2 years ago
Barış Soner Uşaklı f055b7fb74 refactor: get rid of floats in deleted-message.tpl 2 years ago
Barış Soner Uşaklı 6bed65dde6
fix: numeric strings in mongo (#11498) 2 years ago
Barış Soner Uşaklı af7ab9b468 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 05c96033ab fork at least 1 thread in minifer 2 years ago
Veronikya c931183287
fix: NodeBB#11482 thumbs Post Can not upload a thumbnail, only multip… (#11483)
* fix: NodeBB#11482 thumbs Post Can not upload a thumbnail, only multiple uploads

* Modify upload thumbnail test

* Modify upload thumbnail test +,

* Get rid of v2 uploads test

* edit times

* Modify amount of files associated post test

* edit post file amount
2 years ago
Julian Lam 2615c1e584 fix: #11426, proper v3 style error on maintenance mode [breaking]
The v3-style error only applies to v3 routes. Existing Read API and page routes are unaffected.
2 years ago
Barış Soner Uşaklı a0bac74e63 lint: remove chalk 2 years ago
Barış Soner Uşaklı 9806d89f15 refactor: remove log, to much noise 2 years ago
Barış Soner Uşaklı 59b149784f fix: closes #11466
show username instead of uid on history
2 years ago
Barış Soner Uşaklı 6eb1dd8687 fix: #11438, show flag history to mods
also prevent regular mods from seeing flags that are not in their category if they use direct link to flag
2 years ago
Brutus5000 ae5afdbc66 feat: name theme on error:theme-not-set-in-configuration 2 years ago
Barış Soner Uşaklı 132476d581 feat: update mkdirp to 3.x, closes #11455 2 years ago
Barış Soner Uşaklı 43c6087b34 feat: update rimraf to 5.x, closes #11456 2 years ago
Barış Soner Uşaklı c3cedefef3 feat: update lru-cache to 9.x, closes #11454 2 years ago
Barış Soner Uşaklı 0cd657ff2c fix: closes #11447, fix timestamp of fork event 2 years ago
Julian Lam 0fc9fdd53d fix: throw generic not-allowed error on groups.join if a non-owner tries to add another user to a group 2 years ago
Julian Lam 18447b06af fix: remove socketGroups.addMember; update admin checks to allow admin:groups privilege, hide add member controls if not admin 2 years ago
Julian Lam f043dcec96 fix: remove socketGroups.kick 2 years ago
Julian Lam 9d49ec60a1 fix: remove socketGroups.issueMassInvite 2 years ago
Julian Lam b53f92fa2e fix: handle client-side acceptAll and rejectAll 2 years ago
Julian Lam 18c45b4461 refactor: group invitations; issuing, accepting, rejecting; now via API 2 years ago
Julian Lam 0788fb5118 feat: #11420, add new GET routes to retrieve pending and invited members of a group, plus accept/reject pending 2 years ago
Barış Soner Uşaklı 8680ea4d3d fix: closes #11437, link to queued post from event 2 years ago
Barış Soner Uşaklı c0b62346f0 feat: update thumbs modal styling 2 years ago
Barış Soner Uşaklı d36aad073e refactor: replace rimraf glob doesn't work on windows 2 years ago
Julian Lam b551b0ad47 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 4d2d76897a fix: don't crash on objects with toString property 2 years ago
Barış Soner Uşaklı 7397873db3 fix: fire action:user.online on user login 2 years ago
Julian Lam 7cb2e02cd7 fix: #11396, removal of base_templates_path variable 2 years ago
Julian Lam 491487a1a2 Merge remote-tracking branch 'origin/master' into develop 2 years ago
Barış Soner Uşaklı 37b48b82a4 fix: don't crash if event name is not a string 2 years ago
Barış Soner Uşaklı a83734fb2b fix: dont show search input if user doesn't have tag search priv 2 years ago
Barış Soner Uşaklı 68db271dfd chore: remove logs 2 years ago
Barış Soner Uşaklı 2c5a5bf366 feat: change chat notification delivery
instead of checking if user is online in the past x minutes, check if the user has read the room, if they have already marked the chat as read don't send notification
2 years ago
Barış Soner Uşaklı 2a9b3ee464 fix: add missing delete 2 years ago
Barış Soner Uşaklı 9c0996e40a feat: add placeholder for category search 2 years ago
Julian Lam 03e05b5154 fix: #9397, trash the active session on account lockout, if there is one 2 years ago
Julian Lam 596db09f7e Merge branch 'master' into develop 2 years ago