Commit Graph

769 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
007efc21d4 feat: closes https://github.com/NodeBB/NodeBB/pull/11970
allow favicons via upload plugins
dont hardcoded favicon url to /assets/uploads and use whats saved in acp field
2026-02-09 11:47:28 -05:00
Barış Soner Uşaklı
07d1f22401 refactor: get rid of global.env, use process.env.NODE_ENV 2026-01-21 20:14:15 -05:00
Barış Soner Uşaklı
403230ccfd refactor: silence if-function deprecation on prod 2025-12-26 23:38:44 -05:00
Barış Soner Uşaklı
52fec49310 chore: remove obsolete deprecation 2025-09-15 12:57:29 -04:00
Barış Soner Uşaklı
0c48e0e909 feat: use _variables.scss overrides from acp in custom skins and bootswatch skins as well 2025-09-04 10:48:53 -04:00
Julian Lam
d4bf5f0c2f lint: fix comma dangle 2025-08-25 13:23:25 -04:00
Barış Soner Uşaklı
44c0413c75 chore: use fontsource-utils/scss to get rid of deprecation warning
closes #13520
2025-08-20 11:48:19 -04:00
Barış Soner Uşaklı
e851a52390 feat: add new brite skin from bootswatch 2025-07-31 18:44:09 -04:00
Barış Soner Uşaklı
92d6e0220b refactor: switch eslint configs to esm
add rules from https://eslint.style/
refactor for in loops to use Object.entries
2025-04-18 21:57:12 -04:00
Barış Soner Uşaklı
a6839b6149 refactor: only write to db on runJobs processes
similart to analytics.js
2025-04-03 12:52:02 -04:00
Barış Soner Uşaklı
667367a68f refactor: use bulk increment 2025-04-03 11:53:48 -04:00
Barış Soner Uşaklı
bef1792086 fix: closes #13078, toggle /world navItem when AP is toggled 2025-03-08 00:09:41 -05:00
Barış Soner Uşaklı
2b50a74f5e Merge branch 'master' into develop 2025-01-08 09:45:52 -05:00
Barış Soner Uşaklı
d75b169cd8 refactor: silence deprecations in prod 2025-01-06 20:53:03 -05:00
Julian Lam
2ab72ada3f Merge remote-tracking branch 'origin/develop' into activitypub 2024-12-11 10:12:33 -05:00
Barış Soner Uşaklı
9d2af7e10c refactor: replace math.random with crypto 2024-12-09 18:18:02 -05:00
Julian Lam
c0e58b03c5 Merge remote-tracking branch 'origin/develop' into activitypub 2024-11-26 11:34:18 -05:00
Barış Soner Uşaklı
d32a7c3283 silence color function deprecations on prod 2024-11-21 17:41:11 -05:00
Barış Soner Uşaklı
5eb96bcb52 Merge branch 'develop' into activitypub 2024-09-23 09:13:30 -04:00
Barış Soner Uşaklı
3fdec51a40 refactor: silence saas deprecations on prod 2024-09-18 13:02:20 -04:00
Barış Soner Uşaklı
6b33faac54 Merge branch 'develop' into activitypub 2024-06-27 10:40:14 -04:00
Barış Soner Uşaklı
64875b3fae feat: closes #12656, only send required meta/link tags on /api calls 2024-06-26 11:55:24 -04:00
Barış Soner Uşaklı
85b329af25 refactor: use array.some 2024-06-26 09:08:32 -04:00
Barış Soner Uşaklı
232fcc005f Merge branch 'develop' into activitypub 2024-06-16 22:58:45 -04:00
Barış Soner Uşaklı
8f486b1b99 refactor: add placeholders on demand
remove emptylines/whitespace from tpls
2024-06-16 22:56:21 -04:00
Barış Soner Uşaklı
00c70ce7b0 Merge branch 'develop' into activitypub 2024-06-10 17:30:10 -04:00
Barış Soner Uşaklı
b4db2f7faf lint: fix whitespace 2024-06-10 17:03:58 -04:00
Barış Soner Uşaklı
bad1564301 refactor: closes #12629, allow passing arrays to meta.userOrGroupExists 2024-06-10 16:59:55 -04:00
Julian Lam
e0f6b7074b fix: restore userOrGroupExists, as alias to slugTaken 2024-03-22 14:42:29 -04:00
Julian Lam
3cc99a178e feat: category handles, #12434 2024-03-22 12:39:48 -04:00
Barış Soner Uşaklı
ace171a6bf feat: add some new social share buttons 2023-11-15 11:01:30 -05:00
Barış Soner Uşaklı
965780b731 fix: closes #11954, fix custom skins with spaces 2023-08-25 21:02:05 -04:00
Opliko
ac4623ee6d fix: copy FA fonts to build directory instead of serving them directly (#11891)
resolves issues when proxies don't fall back to NodeBB for assets
2023-08-08 19:41:04 -04:00
Barış Soner Uşaklı
23404ad103 feat: #11868 apply blacklist to routes (#11873)
api and regular routes
dont allow blacklisting self ip
check blacklist on socket emits
2023-08-03 10:58:03 -04:00
Barış Soner Uşaklı
3837798292 test: fix test if ip is invalid 2023-08-02 15:13:08 -04:00
Barış Soner Uşaklı
38c0c8dec0 refactor: ip blacklist.test
also dont call ipaddr.parse if cidr rules is empty
add a test for cidr
2023-08-02 12:52:46 -04:00
Barış Soner Uşaklı
b688b6d4f2 bs5.3 updates (#11667)
* bs5.3 updates

* bootstrap 5.3.1

* chore: up bootswatch

* chore: up deps
2023-08-01 22:04:45 -04:00
Barış Soner Uşaklı
b5a8941a51 get rid of less, slideout 2023-08-01 14:31:15 -04:00
Opliko
b709ed9e63 feat: move to npm fontawesome dependency and support fa pro (#11820)
* feat: move to npm fontawesome dependency

* feat: move shims to a separate file

* fix: thin style prefix

* feat: proper style and FA pro handling in icon selector

* docs: add fontawesome properties to openAPI

* fix: default for styles

* feat: select all styles by default

Turns out browsers lazy-load fonts.
So since the actual CSS for each style is small, there is no perf reason for defaulting to free styles for FA pro users.
This means they'll have to only change one setting.

Still, the option to select styles remains for those who want it.

* fix: remove console.log
2023-07-31 11:22:09 -04:00
Barış Soner Uşaklı
c1361ee580 add: new filter to filter skins 2023-07-20 15:31:12 -04:00
Barış Soner Uşaklı
5e696c9046 change to console.error 2023-06-19 16:37:24 -04:00
Barış Soner Uşaklı
4768d06b27 lint: fix whitespace 2023-06-16 18:07:54 -04:00
Barış Soner Uşaklı
556fd65d51 feat: custom skins panel in acp 2023-06-16 18:04:22 -04:00
Barış Soner Uşaklı
9522951fbd refactor: remove log 2023-06-10 19:35:10 -04:00
Barış Soner Uşaklı
de68f7493d feat: add new tab to define bs variables
to override bootstrap vars.
dont crash if scss fails to compile, just use empty css and log the error, this allows accessing the acp if client scss has errors
2023-06-10 19:27:15 -04:00
Barış Soner Uşaklı
2edfe0ef3e feat: bring back noskin option
if forum sets a default skin there was no way for the user to go back to the no skin version
2023-06-10 11:55:59 -04:00
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
2023-05-31 11:54:48 -04:00
Barış Soner Uşaklı
11d315df50 fix: #11594
set the order of theme to same as the on it's replacing
2023-05-11 22:39:37 -04:00
Julian Lam
3e6dd78d86 fix: relocated upgrade script, removed outdated code that called core.api for tokens 2023-05-11 15:22:50 -04:00
Julian Lam
f42b636adc test: fix authentication tests to use new token saving utility functions 2023-05-11 15:22:50 -04:00