Commit Graph

279 Commits

Author SHA1 Message Date
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
Julian Prieber c145dd5575 Update admin.php 2023-07-17 16:52:43 +02:00
Julian Prieber 4cdd7256ef Added theme selector to edit user page 2023-07-15 17:32:37 +02:00
Julian Prieber a7424e47e6 Update Impersonate.php 2023-07-14 18:25:25 +02:00
Julian Prieber 4652bc3e5e Refactor 2023-07-14 18:18:41 +02:00
Julian Prieber b3e0b36dba Security fix 2023-07-14 17:59:39 +02:00
Julian Prieber b99a975de1 Switched to session storage 2023-07-14 13:45:42 +02:00
Julian Prieber 066656a073 Update Impersonate.php 2023-07-13 19:25:00 +02:00
Julian Prieber 3fee5bc334 Update Impersonate.php 2023-07-13 19:01:16 +02:00
Julian Prieber 87acd3fd08 Update AdminController.php 2023-07-13 18:57:07 +02:00
Julian Prieber 166261ae31 Update Impersonate.php 2023-07-13 18:56:23 +02:00
Julian Prieber 3f62c84406 Added option for admins to impersonate other users
Inspired by: https://github.com/nextcloud/impersonate
2023-07-13 18:22:50 +02:00
Julian Prieber 37fd33a322 Unique Image String Attached to Uploaded Images
The system now assigns a unique string to uploaded images, ensuring renewed cached images when new ones are uploaded.
https://github.com/LinkStackOrg/LinkStack/issues/480
2023-07-10 19:16:04 +02:00
Julian Prieber 790133025a Images now support unique file names
System can now read unique image file names to renew cached images when uploading a new one.
https://github.com/LinkStackOrg/LinkStack/issues/480
2023-07-10 19:07:41 +02:00
Julian Prieber eef549b5ff Simplified extra functions 2023-07-10 18:49:55 +02:00
Julian Prieber ee922a8656 Bugfix 2023-07-06 17:00:14 +02:00
Julian Prieber 7aacc27f89 Translated footer titles 2023-06-22 14:13:22 +02:00
Julian Prieber ab958a71dc Translated missing section 2023-06-19 14:02:19 +02:00
Julian Prieber acaa4f6290 Now using messages.php 2023-06-16 23:04:59 +02:00
Julian Prieber 61f5eb6072 Officially supported languages
Officially supported languages moderated by volunteer translators.
2023-06-13 16:16:29 +02:00
Julian Prieber e63b3a902a Added command to auto translate the app
php artisan translate
2023-06-13 15:55:59 +02:00
Julian Prieber c57e5163bc Added language select to installer page 2023-06-13 15:19:39 +02:00
Julian Prieber f0c96b954a Fixed remember me token 2023-05-26 00:27:30 +02:00
Julian Prieber 7a38ca1cae Update RegisteredUserController.php 2023-05-25 23:20:26 +02:00
Julian Prieber 2dee1de0a1 Update externalfiles.php 2023-05-25 18:15:16 +02:00
Julian Prieber 8e84566e84 Update externalfiles.php 2023-05-25 18:09:25 +02:00
Julian Prieber 5e58183b4a Update externalfiles.php 2023-05-25 18:04:58 +02:00
Julian Prieber 8caf099eaa Added uri function 2023-05-25 18:00:00 +02:00
Julian Prieber d1d1e86993 Improved compatibility 2023-05-25 17:34:09 +02:00
Julian Prieber 3ecaad28e2 Now wrapping SMTP password in quotes
https://github.com/LinkStackOrg/LinkStack/issues/442
2023-05-19 15:30:27 +02:00
Julian Prieber 0c4384490a Updated redirect 2023-05-15 15:07:00 +02:00
Julian Prieber 1b4c3623f8 Replaced abandoned package
https://github.com/LinkStackOrg/LinkStack/issues/384
2023-05-10 16:52:35 +02:00
Julian Prieber d8b8142707 Added user confirmation mail to admin email 2023-05-10 16:37:07 +02:00
Julian Prieber 73eef01056 Update InstallerController.php 2023-05-10 15:27:11 +02:00
Julian Prieber 058c7ccfdf Fixed error 404 2023-04-27 16:25:01 +02:00
Julian Prieber 5dbb2b182d Version 4.0
-- Dashboard Update --

Update to version 4.0.0.
Complete redesign of the admin panel.
New features and a license change.
2023-04-26 15:44:39 +02:00
Julian Prieber 70a382a6df Update UserController.php 2023-03-28 17:05:29 +02:00
Julian Prieber 90e272d11a Update UserController.php 2023-03-28 16:02:36 +02:00
Julian Prieber dbab3a64ef Fixed vcard edit
Removed file upload from form
2023-03-28 15:12:01 +02:00
Julian Prieber 0155d96381 Bugfix
Fixed vcard title bug
2023-03-28 14:19:37 +02:00
Julian Prieber ad744dbbaa Update UserController.php 2023-03-28 13:45:54 +02:00
Julian Prieber adee9ccaec Initial Vcard
Added Vcard feature
2023-03-27 19:04:41 +02:00
Julian Prieber 8a21ddfff6 Revert "Turned ll home page into one function"
This reverts commit b9c0b38260.
2023-03-21 20:24:23 +01:00
Julian Prieber b47ba6959d Update AdminController.php 2023-03-16 15:11:22 +01:00
Julian Prieber 811e56178b Added option to test SMTP setup 2023-03-13 19:49:30 +01:00
Julian Prieber b9c0b38260 Turned ll home page into one function 2023-03-13 15:32:48 +01:00
Julian Prieber 03db2656ba Bugfix
Checkmark not showing when ll page set as home page. https://github.com/JulianPrieber/littlelink-custom/issues/359
2023-03-11 12:32:37 +01:00
Julian Prieber 7a37f50231 User export now includes profile picture 2023-03-09 00:59:52 +01:00
Julian Prieber 02bc23c832 Avatar type findAvatar() 2023-03-08 22:03:54 +01:00
Julian Prieber 19c6097a1c Removed unique constrain from usernames 2023-03-08 19:12:14 +01:00
Julian Prieber ab3812b5a0 Updated naming format
For exported files
2023-03-08 18:01:23 +01:00
Julian Prieber 4eca39e9ce Added option to import and export user data 2023-03-08 17:20:39 +01:00
Julian Prieber 7aea53e0b8 Added new blocks:
- E-Mail Block
- Telephone number Block
2023-03-05 20:02:42 +01:00
Julian Prieber 40dd951c01 jank 2023-02-16 16:10:41 +01:00
Julian Prieber 231586b69a Added option for users to disable checkmark
First test of the new database user setting save system.
2023-02-16 15:38:17 +01:00
Julian Prieber 5622b4fe65 Update UserController.php 2023-02-16 14:25:37 +01:00
Julian Prieber 65766efd71 Added model to save userdata
UserData::saveData(ID, 'foo', 'bar');
UserData::getData(ID, 'foo');
UserData::removeData(ID, 'foo');
2023-02-16 14:22:18 +01:00
Julian Prieber 2ebfe4db94 Added last seen section to users page 2023-02-16 13:02:05 +01:00
Julian Prieber 5665465076 Added option for admins to upload background image for users 2023-02-15 18:14:54 +01:00
Julian Prieber 5c26f1e8ab Updated users table
Added new fields to the users table.
Added ability to sort users table alphabetically.
2023-02-15 15:53:55 +01:00
Julian Prieber b593b2ddfd Update AdminController.php 2023-02-14 13:45:01 +01:00
Julian Prieber 2798c1f8d1 Update AdminController.php 2023-02-14 13:13:35 +01:00
Julian Prieber 50bf79a800 Update findfile.php 2023-02-13 21:12:44 +01:00
Julian Prieber d727455e96 Fixed error
Call to undefined function exif_imagetype() (View: /htdocs/resources/views/littlelink.blade.php)
2023-02-13 20:02:56 +01:00
Julian Prieber 5c73cc3c59 Added button to remove custom background image 2023-02-13 18:40:18 +01:00
Julian Prieber c279661e0b Added dark/light mode detection to background image
Only active on default theme
2023-02-13 18:10:13 +01:00
Julian Prieber 96c155c518 Custom background image file type 2023-02-13 17:18:32 +01:00
Julian Prieber fc73453872 Added option to upload custom background image 2023-02-13 16:22:11 +01:00
Julian Prieber 3bc5b6418b Bugfix 2023-02-13 14:47:47 +01:00
Julian Prieber 715726d330 Fixed 404 error when installing
https://github.com/JulianPrieber/littlelink-custom/issues/313

https://www.youtube.com/watch?v=VJpZMZOBeB0
2023-02-13 13:22:49 +01:00
Julian Prieber a92739c950 Update UserController.php 2023-02-09 20:32:19 +01:00
Julian Prieber 98933c784a Added page icon twitch 2023-02-09 20:30:23 +01:00
pey b794a2c7ab
Update UserController.php
updated to access to the user's role as a variable
2023-02-07 08:45:09 -05:00
Julian Prieber 4e97bae3e2 Change URL for footer pages
Change the URL for footer pages when footer page is renamed
2023-02-06 20:13:11 +01:00
Julian Prieber 85469283a6 Switched to IDs 2023-02-03 16:18:28 +01:00
Julian Prieber ffb123c306 Update AdminController.php 2023-02-02 18:40:40 +01:00
Julian Prieber 369965f55f
Merge pull request #317 from JulianPrieber/image-id
Changed profile picture save method to use user id
2023-02-02 18:07:16 +01:00
Julian Prieber 2329d8345b Added new helper function
Added new helper function to replace file_get_contents with curl.
2023-01-31 15:49:56 +01:00
Julian Prieber ab1557110d Disabling footer pages when inactive in config
Footer pages now return an error 404 when disabled in the config.
2023-01-31 15:10:51 +01:00
Julian Prieber 6f6e260f4b Fixed for current system 2023-01-25 17:41:04 +01:00
Julian Prieber 590f5b45ad Added button to remove profile picture 2023-01-23 17:19:09 +01:00
Julian Prieber 5b23fa08de Changed profile picture save method to use user id
Changed profile picture to use user id instead of username to save it.

If merged, this will reset all current profile pictures on the instance.
2023-01-23 16:54:18 +01:00
Julian Prieber 26bd92fdc7 Bugfix
Fixed bug changes not applying when not changing littlelink name.
2023-01-23 16:30:29 +01:00
Julian Prieber 1950ba2a18 Now forcing usernames to be unique
Now forcing usernames to be unique in regard to capitalization.
2023-01-23 16:06:07 +01:00
Julian Prieber 972e7c7c96 Added Facebook page icon 2023-01-11 21:59:06 +01:00
Julian Prieber b9a371b924 Turned function findFile() into helper function 2022-12-22 09:51:19 +01:00
Julian Prieber cdea1ea175 Bugfix 2022-12-06 23:12:32 +01:00
Julian Prieber 449bff98c0 Update UserController.php 2022-12-05 22:58:06 +01:00
Julian Prieber f189d83bf1 Added new social icons
+ bugfix
2022-12-05 21:22:06 +01:00
Julian Prieber 42d2fabd55 Multiuser support for social icons 2022-12-05 20:43:29 +01:00
Julian Prieber 34133543f1 Added link icons to littlelink page 2022-12-05 20:02:23 +01:00
Julian Prieber 4adf239c8e Revert "Added skip option to installer"
This reverts commit bc900d0d29.
2022-12-02 16:06:07 +01:00
Julian Prieber bc900d0d29 Added skip option to installer 2022-12-02 14:35:14 +01:00
Julian Prieber 9c2a91e0fc Added new block "Text" 2022-12-01 12:51:16 +01:00
Julian Prieber fed93daf48 Added option to reset favicon and logo 2022-11-30 12:10:45 +01:00
Julian Prieber 38c856484d Added support for custom favicon
Custom logo and custom favicons can now have any supported format.
2022-11-29 23:33:25 +01:00
Julian Prieber bdb293c7a8 Added option to clear icon chache 2022-11-28 20:20:43 +01:00
Julian Prieber 19a49fedad Caching favicons locally 2022-11-28 19:44:02 +01:00
Julian Prieber 6422f78eda Removed URL from link query string 2022-11-25 16:50:11 +01:00
Julian Prieber 80644a14b7 Updated first setup page 2022-11-23 22:09:59 +01:00
Julian Prieber 9b9593b98d Added first setup page
This setup will:
1. Check the server dependencies
2. Setup the database
3. Create the admin user
4. Configure the app
2022-11-23 15:52:33 +01:00
Julian Prieber 3b08b5b6d9 Disabling maintenance mode now forces application out of maintenance 2022-11-20 15:13:53 +01:00
Julian Prieber b90a2245dc Update AdminController.php 2022-11-17 21:32:47 +01:00
Julian Prieber 1d792ee963 Update AdminController.php 2022-11-17 21:22:06 +01:00
Julian Prieber 6a03987169 Update AdminController.php 2022-11-17 16:20:04 +01:00
Julian Prieber 8350373262 Updated config editor 2022-11-17 15:07:06 +01:00
Julian Prieber f26a1336b9 Fixed bug while editing 2022-11-16 16:33:00 +01:00
Julian Prieber 11b5d09eb1 Update UserController.php 2022-11-14 11:37:30 +01:00
Julian Prieber 42069cce03 Update UserController.php 2022-11-14 09:33:21 +01:00
Julian Prieber 3564cfff74 Added protection against use of JS in users page description 2022-11-10 21:48:48 +01:00
Julian Prieber 4dd317b641 Update UserController.php 2022-11-10 19:55:46 +01:00
Julian Prieber 9c535873dd Update LinkTypeViewController.php 2022-11-10 19:42:34 +01:00
Julian Prieber 87a24b47ca Fixed custom website favicon check box not being checked when editing 2022-11-10 19:17:41 +01:00
Julian Prieber 759e859102 Fixed link type always defaulting to link when editing 2022-11-10 19:03:35 +01:00
Julian Prieber 2132140c5f Fixed edit link defaulting to custom button 2022-11-10 18:21:59 +01:00
Julian Prieber ffdb0cff5d Update UserController.php 2022-11-10 16:51:56 +01:00
Julian Prieber 7dce109163 Update UserController.php 2022-11-09 18:07:50 +01:00
Julian Prieber 951df23c91 Laravel 9
Update to Laravel 9

Commit for the upcoming from-end update.
2022-11-08 16:11:59 +01:00
snicker 697ed3ce19 retrieve link url from database rather than request url
increases robustness and solve issues with sloppy redirect
interpretation across browsers
2022-09-24 11:01:09 -07:00
Julian Prieber 4c8f8283d9 Fixed GitHub API rate limit
For Theme Updater
2022-09-13 21:04:17 +02:00
Julian Prieber c589a3adad Implemented Theme Updater beta
https://github.com/JulianPrieber/littlelink-custom/discussions/49#discussioncomment-3408857
2022-09-13 13:47:21 +02:00
Milan C 0444297a6a Refactor code 2022-08-15 01:12:40 +05:30
Milan C cb613f6a05 Init Sortable links. 2022-08-15 00:35:26 +05:30
Julian Prieber 33fd0f7e10 Added option to adjust visible button count on edit link page 2022-08-05 17:29:49 +02:00
Julian Prieber 7eee9bc1a2 Update UserController.php 2022-08-02 00:34:18 +02:00
Julian Prieber e4f77996e2 Sorted buttons alphabetically 2022-08-02 00:33:32 +02:00
Julian Prieber 388d2f27b8 Sorted buttons alphabetically
again...
2022-07-31 23:55:20 +02:00
Julian Prieber 38c471ec61 Edit Link now defaults to current link instead of "custom"
If a link is edited on the edit-link section, the default button selection now has the current button selected rather than the custom button.

@bonelifer

https://github.com/JulianPrieber/littlelink-custom/issues/113
2022-07-31 13:35:52 +02:00
Julian Prieber b835101292 Fixed mail links 2022-07-15 19:37:34 +02:00
Julian Prieber 564a9d160b Added phone number button 2022-07-15 17:46:26 +02:00
Julian Prieber 0afd520412 Update AdminController.php 2022-07-12 16:12:54 +02:00
Julian Prieber 49981c8c6c Now displaying user's emails on user page 2022-07-12 16:10:49 +02:00
Julian Prieber ceb65f6d17 Fixed SQLSTATE[23000]: Integrity constraint violation: 19 CHECK constraint failed when deleting user 2022-07-11 20:46:45 +02:00
Julian Prieber be5b890ce7 Added proper option to delete users
Users links will now NOT be deleted anymore if blocked.
2022-07-11 16:25:26 +02:00
Julian Prieber 9a38e061c9 Added option to create new user from the Admin Panel 2022-07-11 16:05:28 +02:00
Julian Prieber ffcab1c8ec Added manual E-Mail verification
Admins are now able to verify users emails manually from the Admin Panel.
2022-07-11 14:51:24 +02:00
Julian Prieber 8f6a4cdb30 Fixed bug
Fixed bug bricking your instance if you delete themes if no theme is left
2022-07-05 10:30:25 +02:00
Julian Prieber 1ee73d0554 Added option for deleting themes 2022-07-04 23:41:28 +02:00
Julian Prieber e4f682c3a1 Added page to download updater backups 2022-06-16 13:35:39 +02:00
Julian Prieber b5baeecab9 Added Advanced Config editor to Admin Panel
+ .ENV editor for NGINX users
2022-06-13 17:47:24 +02:00
Julian Prieber e98d942b04 Added Theme Credit page
A short page that displays the contents of a Theme's readme.md.

Currently, a link to this page is only visible in the HTML meta tags if viewed as page source.
This page can always be accessed on your.domain.com/theme/@littlelink_name.
(For example your.domain.com/theme/@admin)
2022-05-31 14:11:26 +02:00
Julian Prieber 2dc3e3d185 Added option for admins to view and delete user links 2022-05-30 15:02:27 +02:00
Julian Prieber 592dde4b2a Added support for custom themes 2022-05-18 21:08:58 +02:00
Julian Prieber d0f024df84 Update UserController.php 2022-05-13 16:09:00 +02:00
Julian Prieber 5b63080f8c Added custom spaces and headings
Added custom spaces and headings users can add like buttons to their littlelink pages to divide button sections into groups.

Spaces can be changed via the number in the title, and one space equals one "<br>". The maximum spaces that can be added with one space 'button' is capped at 10.

The 'Space' button will be replaced with an empty space, so buttons could be visually separated into groups. Entering a number between 1-10 in the title section will change the empty space's distance.

The 'Heading' button will be replaced with a sub-heading, where the title defines the text on that heading.
2022-05-06 15:26:39 +02:00
Julian Prieber 845327a628 Updated button-editor 2022-05-04 00:40:41 +02:00