Sami Mazouz
379298acb0
feat: add support for PgSQL ( #3985 )
...
* feat: add support for `PgSQL`
* chore: generate dump
* feat: query exception errors db driver hint
* feat: allow defining supported databases
* chore: review comments
* feat: setting for pgsql preferred search config
2024-06-22 08:03:56 +01:00
Sami Mazouz
a8777c6198
refactor: JSON:API ( #3971 )
...
* refactor: json:api refactor iteration 1
* chore: delete dead code
* fix: regressions
* chore: move additions/changes to package
* feat: AccessTokenResource
* feat: allow dependency injection in resources
* feat: `ApiResource` extender
* feat: improve
* feat: refactor tags extension
* feat: refactor flags extension
* fix: regressions
* fix: drop bc layer
* feat: refactor suspend extension
* feat: refactor subscriptions extension
* feat: refactor approval extension
* feat: refactor sticky extension
* feat: refactor nicknames extension
* feat: refactor mentions extension
* feat: refactor lock extension
* feat: refactor likes extension
* chore: merge conflicts
* feat: refactor extension-manager extension
* feat: context current endpoint helpers
* chore: minor
* feat: cleaner sortmap implementation
* chore: drop old package
* chore: not needed (auto scoping)
* fix: actor only fields
* refactor: simplify index endpoint
* feat: eager loading
* test: adapt
* test: phpstan
* test: adapt
* fix: typing
* fix: approving content
* tet: adapt frontend tests
* chore: typings
* chore: review
* fix: breaking change
2024-06-21 09:36:32 +01:00
Sami Mazouz
4b126d9f4c
feat: revamp search ( #3893 )
...
* refactor: move gambits to frontend (#3885 )
* refactor: move gambits to frontend
* test: GambitManager
* refactor: merge filterer and searcher concepts (#3892 )
* chore: drop remaining backend regex gambits
* refactor: merge filterer & searcher concept
* refactor: adapt extenders
* refactor: no longer need to push gambits to `q`
* refactor: filters to gambits
* refactor: drop shred `Query` namespace
* chore: cleanup
* chore: leftover gambit references on the backend (#3894 )
* chore: leftover gambit references on the backend
* chore: namespace
* feat: search driver backend extension API (#3902 )
* feat: first iteration of search drivers
* feat: indexer API & tweaks
* feat: changes after POC driver
* fix: properly fire custom observables
* chore: remove debugging code
* fix: phpstan
* fix: custom eloquent events
* chore: drop POC usage
* test: indexer extender API
* fix: extension searcher fails without filters
* fix: phpstan
* fix: frontend created gambit
* feat: advanced page and localized driver settings (#3905 )
* feat: allow getting total search results and replacing filters (#3906 )
* feat: allow accessing total search results
* feat: allow replacing filters
* chore: phpstan
2023-11-11 19:43:09 +01:00
IanM
412cfafb3a
feat: notification unsubscribe & email overhaul with HTML multipart ( #3872 )
2023-09-29 16:34:54 +01:00
Sami Mazouz
6f11e044a7
chore: update codebase to php8.1 ( #3827 )
...
* chore: set minimum php version to 8.1
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: update codebase to php8.1
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: update workflow php version
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: more caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: phpstan caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: introduce `Flarum\Locale\TranslatorInterface`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: remove mixin
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: one last error
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-05-30 11:36:12 +01:00
Sami Mazouz
9363682e1c
fix: filter values are not validated ( #3795 )
2023-05-07 18:37:53 +01:00
StyleCI Bot
c8d9f1111e
Apply fixes from StyleCI
2023-01-10 14:04:18 +00:00
Sami Mazouz
e5f05166a0
fix(subscriptions): post notifications not getting access checked
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-01-10 15:04:02 +01:00
Sami Mazouz
62a396e434
feat: send notifications of a new reply when post is approved ( #3656 )
...
* test(subscriptions): approved reply sends out notifications to users
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* feat: send notifications when a post is approved
The code in approval was extracted into a listener because no matter what listeners are always executed before subscribers even if the extension is set to load before.
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2022-11-07 11:52:28 +00:00
David Wheatley
87aaaf6971
feat(subscriptions): add option to send notifications when not caught up ( #3503 )
2022-08-31 11:13:51 +02:00
David Wheatley
3d167749cb
fix(subscriptions): add missing table prefix for filter gambit ( #3599 )
2022-08-15 12:35:03 +02:00
Sami Mazouz
f073c22212
chore: remove debug line that slipped in while rebasing a PR ( #3580 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-04 10:43:26 +01:00
Sami Mazouz
795a500adb
feat: Queue package manager commands ( #3418 )
...
* feat: Queue package manager commands
* adjust tests
* fix: force run whynot command synchronously
* chore: maximize command output box's height
* chore: more user instructions on background queue
* feat: track command peak memory usage
* feat: exit of CLI php version doesn't match web php version
* chore: install deps
* chore: format and typing workflow fix
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-24 14:02:13 +01:00
Sami Mazouz
c2ba3bb7d5
fix(subscriptions): reply notifications not working ( #3445 )
...
* chore: subscriptions backend test infrastructure
* test: reply notification
* fix: fix reply notifications not working
2022-06-03 21:06:30 +02:00
sl-kr
e783a7603d
change value of subscribed from false to null in the JSON API ( #37 )
2021-03-18 12:38:21 -04:00
Alexander Skvortsov
c1c47e81aa
SubscriptionFilterGambit: properly implement conditions
method
2021-03-17 14:22:10 -04:00
Alexander Skvortsov
caaefa1bf1
Use non-deprecated translator interface
2021-03-13 17:11:03 -05:00
Alexander Skvortsov
2da4f8204e
Apply fixes from StyleCI
2021-03-13 21:33:02 +00:00
Alexander Skvortsov
58fa8d4b8c
Update for beta 16
2021-03-13 16:32:48 -05:00
Sami Mazouz
2ef3bf411f
Use new extenders ( #36 )
2020-12-08 12:37:40 -05:00
Alexander Skvortsov
063b853305
Translate notification emails ( #30 )
2020-09-30 15:51:00 -04:00
Matt Kilgore
1fe034460b
Removes AssertPermissionTrait ( #29 )
...
* Removes AssertPermissionTrait
* Apply fixes from StyleCI
* Fix my dumb mistake
Co-authored-by: luceos <daniel+github@klabbers.email>
2020-07-19 17:37:05 -04:00
luceos
fa8e5afbbd
Apply fixes from StyleCI
2020-04-01 13:00:45 +00:00
datitisev
87437d1bdc
Apply fixes from StyleCI
2020-04-01 15:00:28 +02:00
David Sevilla Martin
9f3d6a9a1f
Queue 'new post' notification
...
Fixes flarum/core#1869
2020-04-01 15:00:28 +02:00
Tariq Hussein
b92e5a214f
Replaced whereExists/whereNotExists with whereIn/whereNotIn ( #22 )
2020-01-08 22:02:28 +01:00
Franz Liedke
907cc2fbe7
Apply fixes from StyleCI
2019-11-29 23:02:31 +00:00
Franz Liedke
dfadc8f5fc
Get rid of event subscribers that resolve services too early
...
Refs flarum/core#1578 .
2018-12-16 15:00:02 +01:00
Toby Zerner
f6f604b0d9
Fix new post notifications not being sent
...
It seems that c7aeef19ea
actually caused
a regression. With the order of execution of extensions, this event
listener was always being executed before the discussion metadata
was updated, and the listener priority was not actually necessary.
Fixes flarum/core#1646
2018-11-21 22:04:52 +10:30
Toby Zerner
3e09c2bf33
Database changes ( #18 )
...
* Update core references
* Update core attribute names
2018-09-16 20:50:44 +02:00
Franz Liedke
2dd2847230
Ensure compatibility with DB table prefix
2018-07-23 16:33:30 +02:00
Franz Liedke
4daec37f78
Use Routes extender
2018-02-08 18:30:00 +01:00
Franz Liedke
5cb1fc4627
Adapt new bootstrap format, use Asset extender
2018-01-16 23:24:34 +01:00
Toby Zerner
c7aeef19ea
Remove use of event priorities
...
Event priorities are no longer in Laravel - see dbbfc62bef
Now we can't force this event listener to be run before the discussion
metadata is updated; instead we just subtract one off of the new
last post number.
2018-01-11 14:06:43 +10:30
Toby Zerner
14bc69d6bd
Use *Raw methods instead of Expression
2018-01-11 12:29:33 +10:30
Franz Liedke
96f073c45f
Fix class names
2017-10-03 19:45:42 +02:00
Franz Liedke
1ad71264c3
Fix a namespace
2017-10-03 19:15:16 +02:00
Franz Liedke
e2c97286e1
Update namespaces for beta 8
...
Refs flarum/core#1235 .
2017-10-01 19:54:13 +02:00
Toby Zerner
d136f4fae2
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2016-11-29 05:29:46 +00:00
Toby Zerner
2c10a42d6b
Use new event name
2016-06-03 11:02:48 +09:30
Peter Mein
689d139ca3
Add setting to automatically follow after reply. closes flarum/core#310
2016-03-07 23:01:34 +10:30
Toby Zerner
d9013ae1da
Applied fixes from StyleCI
2016-02-25 22:57:22 -05:00
Toby Zerner
57ac5190d5
Translations are now automatically included
2015-11-02 18:52:59 +10:30
Toby Zerner
fde7921487
Update for composer branch
2015-10-11 17:30:11 +10:30
Toby Zerner
7d1776c18b
Add LICENSE information
2015-09-04 12:30:01 +09:30
Toby Zerner
98369acd70
Don't allow guests to alter subscription
2015-09-03 15:42:12 +09:30
Franz Liedke
74fdf7b79c
Make sure query filter works with database prefix
...
Related to flarum/core#269 .
2015-08-29 23:07:21 +02:00
Franz Liedke
26e6993a49
Make sure query filter works with database prefix, too
...
Related to flarum/core#269 .
2015-08-29 23:00:53 +02:00
Franz Liedke
9fdfb024dd
Use existing helper method
2015-08-29 22:49:43 +02:00
Toby Zerner
a53e5289f3
Use new listen API
2015-08-13 12:51:15 +09:30