Commit Graph

224 Commits

Author SHA1 Message Date
Julian Prieber bbad48998b Map domain to specific profile
Admins can now map domains to specific profiles.
To do this add this array to your advanced config:

  'custom_domains' => [
    ['domain' => 'example.com', 'name' => 'example_user',],
    ['domain' => 'example.example.com', 'id' => '1',],
    // more entries as needed
  ],

For each entry, a domain and user name or id has to be defined.
2023-12-12 00:27:48 +01:00
Julian Prieber 32a796181a Refactored code 2023-12-06 16:57:35 +01:00
Julian Prieber 64938046b7 Now displaying checkmark by default when user is set to VIP 2023-12-05 22:39:13 +01:00
Julian Prieber aab11565c0 Fixed email verifications not sending the first time 2023-12-05 19:06:24 +01:00
Julian Prieber 2e5dde0f88 Now returning 404 on user page when user is blocked 2023-12-05 16:09:45 +01:00
Julian Prieber 3beddca69c Set admin account ID to always be 1 2023-12-01 17:11:35 +01:00
Julian Prieber 712101c3f4 Now generating new link IDs at random 2023-12-01 16:19:51 +01:00
Julian Prieber 6f6502095f Updated user table default sorting 2023-12-01 14:02:20 +01:00
Julian Prieber f6155b5959 Now generating new user IDs at random
Default is length is 6 digits. This can be changed in the linkstack.php config file in /config with the key user_id_length.
Sequential numbering can still be used by setting disable_random_user_ids to true.
2023-12-01 14:00:46 +01:00
Julian Prieber 9e980fea5b Update UserController.php 2023-11-26 01:29:32 +01:00
Julian Prieber 7536457e12 Namechanges now update user home page
https://github.com/LinkStackOrg/LinkStack/issues/625
2023-11-24 17:48:08 +01:00
Julian Prieber af7972d723 Disabled sending user registration emails if disabled in the config 2023-11-24 16:35:50 +01:00
Julian Prieber 404aa7549c Added page to report user profiles
Sends notification with report to admin email set in env with SMTP server.
2023-11-17 17:05:50 +01:00
Julian Prieber 18586719a4 Updated users route 2023-11-02 22:14:25 +01:00
Julian Prieber 48e32118a1 Added Middleware LinkId 2023-11-02 22:02:20 +01:00
Julian Prieber 970580b629 Update AdminController.php 2023-10-26 11:50:13 +02:00
Julian Prieber 896e6dae0e Improve function 2023-10-25 18:37:32 +02:00
Julian Prieber 132c5cfbed Updated delete function 2023-10-24 01:04:17 +02:00
Julian Prieber 8ca57d9d31 Fixes 2023-10-23 23:55:19 +02:00
Julian Prieber 0dea6bf503 Update UserTable.php 2023-10-20 01:21:30 +02:00
Julian Prieber 87e17d60c7 Fixed config 2023-10-20 01:19:04 +02:00
Julian Prieber ba87dd1360 Livewire Table 2023-10-20 00:29:37 +02:00
Julian Prieber 4df96237f3 Revert "Livewire Table"
This reverts commit 9e4357eb4f.
2023-10-20 00:27:48 +02:00
Julian Prieber 9e4357eb4f Livewire Table 2023-10-20 00:20:19 +02:00
Julian Prieber 64b61e683c Added click count to link info page 2023-10-19 17:19:29 +02:00
Julian Prieber f863cd4257 Update AdminController.php 2023-10-18 23:58:52 +02:00
Julian Prieber 0510326171 Added link-info page
Shows user details and destination for any link.
2023-10-18 23:45:43 +02:00
Julian Prieber d7d6256f14 Redirect to login page on expired session
https://github.com/LinkStackOrg/LinkStack/issues/598
2023-10-18 15:21:35 +02:00
Julian Prieber 8942b33f09 Reworked maintenance mode
https://github.com/LinkStackOrg/LinkStack/issues/590
2023-10-10 16:20:04 +02:00
Julian Prieber 909bf9636b Update UserController.php 2023-10-08 17:54:53 +02:00
Julian Prieber b79d5905e2 Added unique redirection to user page with ID
https://example.com/u/{user_id}
2023-10-08 17:45:49 +02:00
Julian Prieber 02f6200922 Session now expires after password change 2023-09-29 15:37:08 +02:00
Julian Prieber fe7b99eae8 Now only allowing Trusted Hosts 2023-09-29 15:23:43 +02:00
Julian Prieber 6dabe3d46e Fixed empty Form Submissions Result in NULL Database Entries
https://github.com/LinkStackOrg/LinkStack/issues/577

https://github.com/LinkStackOrg/linkstack-docker/issues/86
2023-09-20 14:54:26 +02:00
Julian Prieber be4228cd1c Bugfix
https://github.com/LinkStackOrg/LinkStack/issues/576
2023-09-20 13:35:48 +02:00
Julian Prieber 406cd4edb0 Fixed user deletion to also delete associated links
https://github.com/LinkStackOrg/LinkStack/issues/576
2023-09-20 13:33:51 +02:00
Julian Prieber 74460ad378 Update AdminController.php 2023-09-10 19:40:46 +02:00
Julian Prieber bedb1cadb1 Bugfix 2023-08-24 14:10:21 +02:00
Julian Prieber 6f0ca87514 Bugfix 2023-08-23 12:09:16 +02:00
Julian Prieber ad69668105 Bugfix 2023-08-23 12:06:35 +02:00
Julian Prieber 6be7a3e012 Added headers Middleware 2023-08-20 14:57:10 +02:00
Julian Prieber 708b60ee5b Reduced DB queries 2023-08-18 13:20:27 +02:00
Julian Prieber 7e357565b9 Translation support 2023-07-27 16:00:59 +02:00
Julian Prieber 07336bb34c Multiple fixes and improvements
- Fixed JS exploit using SVG
 - Improved security
 - Now sanitizing EXIF and metadata
 - Now allowing multiple file types as profile picture
 - Added error messages
2023-07-27 15:45:05 +02:00
Julian Prieber 613e802f2f Fixed error ERROR: SQLSTATE[42S22] 2023-07-22 13:32:20 +02:00
Julian Prieber c5970309b4 Revert "Disabled request lifecycle middleware on public routes"
This reverts commit 658617c8bb.
2023-07-22 13:16:28 +02:00
Julian Prieber 2b37c3de82 Update RedirectIfAuthenticated.php 2023-07-19 19:27:15 +02:00
Julian Prieber 658617c8bb Disabled request lifecycle middleware on public routes
Effectively sets no cookies on public pages
2023-07-19 18:14:19 +02:00
Julian Prieber 9d7b383c4e Improved error handling for invalid background images 2023-07-19 14:01:13 +02:00
Julian Prieber 47f9ce4a01 Fixed bug preventing deletion of custom background image
https://github.com/LinkStackOrg/LinkStack/issues/495
2023-07-19 13:42:13 +02:00