Commit Graph

20 Commits

Author SHA1 Message Date
Favour Olayinka 90ff91b1e9
Team functionality (#459)
* add api enpoints for adding, removing, updating user to workspace and leaving workspace

* feat: updates client site workspace settings

* refactor and add domain setting ui in modal

* move workspace user functionality to its own component

* adds tests

* fix linting

* updates select input to FlatSelectInput

* moves workspace user role edit to seperated component

* move user adding to its own component

* adds check to usure users exist before checking is admin

* fix loading users

* feat: invite user to team functionality

* fix token coulmn

* fix self host mode changes

* tests for  user invite

* Refactor back-end

* Rename variables

* Improve some styling elements + refactor workspace settings

* More styling

* More UI polishing

* More UI fixes

* PHP linting

* Implemented most of the logic for team-functionnality

* Fix user avatar URL

* WIP remove users on cancellation

* Finished pricing for team functionality

* Fix tests

* Fix linting

* Added pricing_enabled helper

* Fix pricing_enabled shortcut

* Debug CI

* Disable pricing when testing

---------

Co-authored-by: LL-Etiane <lukongleinyuyetiane@gmail.com>
Co-authored-by: Lukong Etiane <83535251+LL-Etiane@users.noreply.github.com>
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-07-04 17:21:36 +02:00
Favour Olayinka bec8e86b59
2f3fd laravel 11 upgrade (#436)
* fix password reset bug

* upgrade to  laravel 11

* composer.lock

* fix migration issues

* use ValidationRule Contract

* rename password_resets table

* implemented casts as protected function

* update env variables

* fix optional property

* fix validation issues

* use <env> on php unit xml

* fix pint

* cmposer.lock

* composer json fixes

* fix composer dependencies, remove  faker

* remove unused class

* remove test class

* fix default value for mysql migration

* linting

* expression syntax fix

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-06-10 16:10:14 +02:00
Julien Nahum 62971a2ef4 Lint PHP code psr-12, add GH action 2024-02-23 11:54:12 +01:00
Julien Nahum 42c65ae06f Added moderator impersonation 2024-01-19 14:27:04 +01:00
Julien Nahum dd83528a3a JWT token IP restriction 2024-01-09 10:43:07 +01:00
Julien Nahum 8725977068 Fix owns user methods 2023-12-03 15:21:24 +01:00
Julien Nahum 57c695e976 Flush cache on subscription changes 2023-12-03 15:02:48 +01:00
Julien Nahum a18077934c
Cached some model properties and remove useless eager loading (#253)
* Cached some model properties and remove useless eager loading

* Remove ray call

* Remove double loading of forms

* Add disableCache feature when needed
2023-12-02 14:51:08 +01:00
formsdev d65c1be9b5
Create common function for userIsFormOwner & rewrite protected form (#244)
* Create common function for userIsFormOwner & rewrite protected form

* fix testcase
2023-11-28 11:23:04 +01:00
Julien Nahum dc5a828b8e Fix the user issue 2023-11-01 18:14:01 +01:00
Julien Nahum e9174238e4
Appsumo (#232)
* Implemented webhooks

* oAuth wip

* Implement the whole auth flow

* Implement file upload limit depending on appsumo license
2023-11-01 16:58:10 +01:00
formsdev 82d7be3235
Allow users to create private form templates (#210)
* Allow users to create private form templates

* Improve back-end efficiency

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-10-13 12:11:03 +02:00
JhumanJ c02af7800e Add extra pro users via env 2023-10-12 12:06:03 +02:00
formsdev fb79a5bf3e
Enable pricing (#151)
* Enable Pro plan - WIP

* no pricing page if have no paid plans

* Set pricing ids in env

* views & submissions FREE for all

* extra param for env

* form password FREE for all

* Custom Code is PRO feature

* Replace codeinput prism with codemirror

* Better form Cleaning message

* Added risky user email spam protection

* fix form cleaning

* Pricing page new UI

* form cleaner

* Polish changes

* Fixed tests

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-08-30 09:58:29 +02:00
JhumanJ 88812776db Added template editor separate role 2022-11-16 13:12:48 +01:00
Chirag 36bc081f8f
B8f7a improve templates pages for seo (#5)
* Templates

* access templates without login also

* Set required on UI

* Improve templates pages for SEO

* test case for Templates

* Refactor SitemapController

* Cosmetic changes to templates

Co-authored-by: Julien Nahum <jhumanj@MacBook-Pro-de-Julien.local>
2022-10-02 20:38:41 +02:00
JhumanJ 0bded107d6 Merge branch 'main' of https://github.com/JhumanJ/OpnForm 2022-09-21 17:23:41 +02:00
JhumanJ 18ed28da2e Apply previous changes: slack webhooks, date range issue, 12h am/pm format, today preifl, api-keys 2022-09-21 17:23:37 +02:00
Chirag 8ac5f5b9d8
Improved DB performance & loading times (#1) 2022-09-21 14:59:32 +02:00
Julien Nahum f8e6cd4dd6 Initial commit 2022-09-20 21:59:52 +02:00