Commit Graph

104 Commits

Author SHA1 Message Date
Sami Mazouz
89b194034b
fix: nickname regex validation not working (#3430)
* test: regex validation for nickname on registration
* fix: nickname regex validation not working
* test: regex validation works with valid inputs
2022-05-20 14:04:14 +01:00
Daniël Klabbers
592039c483 update constraint to v1.3 2022-05-10 16:28:35 +02:00
flarum-bot
f667faa1bd Bundled output for commit 542cc42538
Includes transpiled JS/TS.

[skip ci]
2022-04-13 15:33:52 +00:00
Alexander Skvortsov
a595665bfb
fix: Assorted Typing Fixes (#3348)
With all the commits below, we resolve all outstanding typing issues in the repo, and CI jobs run green.

* fix: Convert DashboardPage and DashboardWidget to TypeScript

* fix: fix type errors in package manager ext

* fix: Convert Post component to TypeScript

* fix: avatar typings should accept null user

* fix: convert Notification component to TypeScript

* fix: properly use `typeof` in ForumApplication

* feat: make Notification content attr generic

* chore: format Notification component

* fix: Convert DiscussionRenamedNotification to TypeScript

* fix(pusher) move shims to a location where they get applied

* fix(pusher): fix some typing errors

* fix(akismet): fix some typing issues

* chore: update core dist typings

* chore(pusher): format

* fix: anchorScroll should accept string selectors

* fix: more accurately represent ApiQueryParamsPlural

* fix: convert PostStreamState to TypeScript

* chore(core): rebuild typings

* feat: allow extending app.routes

* fix: more flexible typings for highlight.ts

* fix: use primitive `number` type for Discussion typings

* fix: convert DiscussionListItem to TypeScript

* chore: rebuild core typings

* fix: final pusher type fixes

* feat: start tags TypeScript conversion

* fix: require-dev tags in pusher for CI TypeScript purposes.

* chore(core): format

* chore(tags): build dist typings

* feat(pusher): use dist types from tags.

* feat: convert flags to TypeScript

* chore(flags): generate dist typings

* fix(akismet): last type errors

* chore: update .yarn-integrity

* chore: partially run flarum-cli audit infra --fix

The tsconfig changes from that command are ignored, since we don't yet support "replacable sections" that would let us add custom config.

* chore: use type imports

* fix: broader gitattributes

* chore: run flarum-cli audit infra --monorepo --fix

* feat: make `app.data` typings extensible

* chore(core): format

* chore: boost tags TypeScript coverage

* fix(tags): further increase type coverage.
2022-03-23 11:43:14 -04:00
dependabot[bot]
37a882118a
chore(deps): bump glob-parent from 3.1.0 to 5.1.2 in /extensions/emoji/js (#3345)
* chore(deps): bump glob-parent in /extensions/emoji/js

Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 3.1.0 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v3.1.0...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply fixes from StyleCI

[ci skip] [skip ci]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-03-11 18:11:20 -05:00
Alexander Skvortsov
5fc0b4963a chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
Alexander Skvortsov
693da58c41 chore: set up composer path repos 2022-03-11 18:02:49 -05:00
Alexander Skvortsov
2bf6b12a64 chore: remove centralizable repo config
- Remove .github conf folder from Flarum packages

- Remove styleci config from all packages
2022-03-11 18:01:44 -05:00
flarum-bot
f82ccbbf92 Bundled output for commit 05e936bbe4
Includes transpiled JS/TS.

[skip ci]
2022-02-22 15:30:11 +00:00
Clark Winkelmann
05e936bbe4 Make frontend use gate output instead of hard-coded logic
Hide nickname from edit modal if user cannot edit
2022-02-22 16:28:36 +01:00
Daniel Klabbers
4cce5fbbda Release v1.2 2022-01-20 12:10:11 +01:00
flarum-bot
c14642c985 Bundled output for commit 5f43267a40
Includes transpiled JS/TS.

[skip ci]
2022-01-20 08:48:25 +00:00
Alexander Skvortsov
5f43267a40 chore: flarum-cli audit infra --fix 2022-01-20 03:47:04 -05:00
flarum-bot
05f7a9a582 Bundled output for commit d593d3ca15
Includes transpiled JS/TS.

[skip ci]
2022-01-11 10:38:13 +00:00
Ian Morland
d593d3ca15 chore: repo maintenance (#5)
* Bump deps

* Update imports

* Format
2022-01-11 10:37:09 +00:00
flarum-bot
aeafc483e3 Bundled output for commit 3c5229610f
Includes transpiled JS/TS.

[skip ci]
2021-11-17 16:18:54 +00:00
Alexander Skvortsov
3c5229610f Prompt for nickname on registration (#4)
Allow users to set a nickname while registering, controlled by settings. Also, add a setting to hide the username input entirely and randomly generate the username.

Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2021-11-17 11:17:36 -05:00
David Wheatley
745de66d23 chore: bump bundled extension constraint to core 1.1 2021-10-13 08:03:27 +01:00
Alexander Skvortsov
04576fd209 Release v1.1.0 2021-10-11 21:13:44 -04:00
Daniel Klabbers
c7b1b9283f fix branch alias 2021-05-25 22:52:11 +02:00
Daniel Klabbers
ddc49d8280 changes for stable 2021-05-25 16:29:56 +02:00
Alexander Skvortsov
a07828dde0 Bump composer reqs for 1.0.0 2021-05-16 18:28:49 -04:00
David Wheatley
0807d75ec1 Update copyright year 2021-05-15 00:56:32 +01:00
flarum-bot
9e80c69124 Bundled output for commit ce65375e2a
Includes transpiled JS/TS.

[skip ci]
2021-05-13 00:02:47 +00:00
Alexander Skvortsov
ce65375e2a Adjust EditUserModal import 2021-05-12 19:46:07 -04:00
Alexander Skvortsov
0b65a4c375 Update changelog for 0.1.0-beta.16.1 2021-04-06 18:20:14 -04:00
Alexander Skvortsov
c9d9e85780 Fix FullTextGambit interface compatibility 2021-04-04 15:44:07 -04:00
Alexander Skvortsov
ac4edef78c Use extender for setting NicknameFullTextGambit 2021-04-04 13:41:15 -04:00
Daniel Klabbers
4d5238f983 Release v0.1.0-beta.16 2021-03-15 12:15:01 +01:00
Alexander Skvortsov
f2b2a26caf Use Settings extender serializeToForum properly now that it supports defaults. 2021-03-13 17:18:55 -05:00
Alexander Skvortsov
8266966fec Remove unused import 2021-03-13 15:18:56 -05:00
Robert Korulczyk
c315ba49e5 Move locale files from language pack to extension. (#3) 2021-02-17 16:46:21 -05:00
Robert Korulczyk
be9d498614 Register locale extender to refresh translations after enabling extension (#2) 2020-12-23 16:10:51 -05:00
Daniël Klabbers
3b59e80955 changelog and constraint for beta 15 2020-12-15 09:18:59 +01:00
Alexander Skvortsov
9875d93b26 Update composer metadata for admin dashboard 2020-12-08 19:57:21 -05:00
flarum-bot
eff0f8281d Bundled output for commit 18cb1b1395 [skip ci] 2020-12-07 20:49:24 +00:00
Alexander Skvortsov
18cb1b1395 Use namespaced imports 2020-12-07 15:48:05 -05:00
Alexander Skvortsov
54f7a41c49 Add alert if nicknames display name driver not enabled 2020-12-07 15:46:16 -05:00
Sami Mazouz
ffbb37e956 Make sure usernames cannot take the value of nicknames (#1) 2020-12-05 17:27:05 -05:00
Alexander Skvortsov
02298127b7 Remove IdOnlyUserSlugDriver from nicknames 2020-12-04 15:34:27 -05:00
flarum-bot
a98fca554c Bundled output for commit c603c39aaf [skip ci] 2020-12-04 20:10:03 +00:00
Alexander Skvortsov
c603c39aaf Fix reverting nickname to username in EditUserModal 2020-12-04 15:08:55 -05:00
flarum-bot
ad8707d9fc Bundled output for commit bd307e4780 [skip ci] 2020-12-02 22:30:38 +00:00
Alexander Skvortsov
bd307e4780 Only show nickname edit options if nickname driver is enabled 2020-12-02 17:29:39 -05:00
Alexander Skvortsov
f0a68617f7 Improve package description 2020-12-02 15:43:48 -05:00
Alexander Skvortsov
b3f6fb8241 If unique nicknames are enabled, don't allow using someone else's username as a nickname 2020-12-02 15:29:08 -05:00
Alexander Skvortsov
a82404f1c9 Add default settings and permissions 2020-12-02 15:10:46 -05:00
flarum-bot
2cb560e59a Bundled output for commit 24b7525f3e [skip ci] 2020-12-02 00:05:21 +00:00
Matthew Kilgore
24b7525f3e Merge remote-tracking branch 'origin/master' 2020-12-01 19:04:31 -05:00
Matthew Kilgore
271f5ca922 Finished working version 2020-11-30 20:48:10 -05:00
Matt Kilgore
78a8ee4ec2 Fix composer requirements to be correct 2020-11-24 11:42:50 -05:00
flarum-bot
c7f0b19cfa Bundled output for commit dbc67937ed [skip ci] 2020-11-24 04:19:04 +00:00
Matthew Kilgore
dbc67937ed Initial working extension 2020-11-23 23:17:55 -05:00
Matthew Kilgore
350ce11f17 Initial commit 2020-11-23 23:10:17 -05:00