Commit Graph

782 Commits

Author SHA1 Message Date
Julian Prieber 6f0bf16587 Added phpinfo debugger
Added PHPinfo section to the config editor to display information about the current state of PHP.
This new section can be found on the Admin Panel under 'Admin>Config>PHP Info'.

For this, a new route and section in the admin controller have been added. The page is loaded as phpinfo.blade.php with the route .../panel/phpinfo if the user is authenticated as an admin.

I added the usual dark mode detection to the page, with an extra section that changes the background color according to the preferred theme setting. The page itself can be downloaded and saved as an HTML, for this  JavaScript is used.
2022-03-28 12:20:47 +02:00
Julian Prieber 89d54492fd Added option to set profile as homepage
The homepage can now be changed to a user's profile page with the option "HOME_URL" in the config (found on the Admin Panel under Admin>Config).

This commit is a bit janky, I wanted to change the homepage with a setting saved in the database, but I couldn't finish this in time, so this has to do for now.

An if statement in the web routes PHP checks if the new setting is present in the config and changes the homepage to the listed LittleLink Custom name. If the homage  is changed, the page previously set as the homepage where users can register and or login can now be found at .../home.
2022-03-24 14:44:33 +01:00
Julian Prieber 4b9d39ce66
Update FUNDING.yml 2022-03-23 19:33:44 +01:00
Julian Prieber 6c7f982e5e
Update README.md 2022-03-23 17:50:51 +01:00
Julian Prieber 1afe98faec
Update README.md 2022-03-23 17:40:38 +01:00
Julian Prieber 99a7a2e74f
Update LICENSE 2022-03-23 17:39:13 +01:00
Julian Prieber 4d0f1b3d66 Included generic terms and privacy agreement
Included generic terms and privacy agreement for the footer pages. I strongly recommend you create your own terms and privacy agreement for your LittleLink Custom instance.

Edited home message and applied new HTML formatting.
2022-03-23 16:48:07 +01:00
Julian Prieber 393e18a3c9 Added visual HTML editor
Added visual HTML editor for editing HTML on the footer and home pages. This editor is based on the open source CKEditor a Smart Visual Text Editor for HTML coded in JavaScript.

Read the Blog post about this topic for more info about this feature here: https://blog.littlelink-custom.com/visual-html-editor/
2022-03-23 13:57:20 +01:00
Julian Prieber 819ee24582 Update package-lock.json 2022-03-23 10:40:08 +01:00
Julian Prieber b916ac66bc Edit Pages now supports custom HTML formatting
The page editor found on the Admin Panel at Admin>Pages where you can edit the footer pages now supports custom HTML formatting.
2022-03-23 10:38:47 +01:00
Julian Prieber 5db46f78c2
Create FUNDING.yml 2022-03-22 21:53:26 +01:00
Julian Prieber b68e4e9fd0
Update README.md 2022-03-22 13:04:24 +01:00
Julian Prieber b6efcde8a5 Added dark mode for credit footer
Lazy quick fix
2022-03-22 10:17:47 +01:00
Julian Prieber 26748606bc Changed Admin/User Panel color scheme 2022-03-22 10:15:49 +01:00
Julian Prieber 18392ed409 Improved responsiveness 2022-03-21 23:29:42 +01:00
Julian Prieber 0aba49dec8 Improved responsiveness 2022-03-21 23:28:00 +01:00
Julian Prieber a290e78000 Added footer / credit option
Added a footer and a credit options. Both can be turned off in the config.
2022-03-21 23:11:49 +01:00
Julian Prieber b1b7f34555
Merge pull request #17 from JulianPrieber/dependabot/composer/guzzlehttp/guzzle-7.4.2
Bump guzzlehttp/guzzle from 7.4.1 to 7.4.2
2022-03-21 18:00:54 +01:00
dependabot[bot] 85096f711a
Bump guzzlehttp/guzzle from 7.4.1 to 7.4.2
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.4.1 to 7.4.2.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.1...7.4.2)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 16:39:08 +00:00
Julian Prieber 552b0d470f
Update version.json 2022-03-21 16:57:02 +01:00
Julian Prieber 6f94f40636 Added no Page URL message
Added no Page URL message to the Admin and User panel
2022-03-21 16:46:35 +01:00
Julian Prieber a0d8c05f4e
Update default_settings 2022-03-21 16:11:21 +01:00
Julian Prieber 0b804da28d
Update .env 2022-03-21 16:10:21 +01:00
Julian Prieber d827b7cf18
Update version.json 2022-03-21 15:59:29 +01:00
Julian Prieber aac19d17f4 Bugfixes
Fixed problems in .env and database seeder
2022-03-21 15:37:55 +01:00
Julian Prieber 4ec66908b2
Update robots.txt 2022-03-21 13:29:24 +01:00
Julian Prieber 1822e67877
Update README.md 2022-03-21 11:00:06 +01:00
Julian Prieber 084ad35d48
Update README.md 2022-03-21 10:58:48 +01:00
Julian Prieber 0087509c8e
Update README.md 2022-03-21 10:33:07 +01:00
Julian Prieber 9343033275
Update README.md 2022-03-21 10:05:21 +01:00
Julian Prieber 2909652dc9
Update README.md 2022-03-21 10:00:41 +01:00
Julian Prieber d0a9ebf152
Update version.json 2022-03-21 09:48:34 +01:00
Julian Prieber 53d2286c3d Updated .env
Event notifications are now turned on by default
2022-03-21 09:30:30 +01:00
Julian Prieber bf39efddf4
Update sidebar.blade.php 2022-03-21 09:13:10 +01:00
Julian Prieber e319301b51
Added hide event option
Added option to hide Events. Next to all event notifications, an "X" will now be displays, which hides the notification if clicked until a new event notification is shown. This works by setting a cookie with the ID of the event notification. Learn more about this on the Blog post here: https://blog.littlelink-custom.com/hide-event-option/
2022-03-20 23:43:27 +01:00
Julian Prieber 29d5c7d4b2
Update version.json 2022-03-20 17:40:39 +01:00
Julian Prieber 4babe1fe2e Made update notification optional / Added Event notification
Added optional event notification that can be enabled in the config (is disabled by default).

You can read more about this feature on the Blog here: https://blog.littlelink-custom.com/event-notifications/
2022-03-20 17:15:16 +01:00
Julian Prieber 87515a96cc
Update version.json 2022-03-20 14:53:36 +01:00
Julian Prieber 7686b2d45c
Update version.json 2022-03-19 18:40:05 +01:00
Julian Prieber 6c81802799 Added 'no Page URL' notice
Added a notice if a user tries to view their page without having a Page URL set on the User Panel.
2022-03-19 18:34:43 +01:00
Julian Prieber 9cb10aa777
Update version.json 2022-03-19 17:29:34 +01:00
Julian Prieber ee1768f613
Update version.json 2022-03-19 17:23:02 +01:00
Julian Prieber 98bc1d0172 Changed update server
Changed the update server URL to the version.json hosted on GitHub.
2022-03-19 17:16:33 +01:00
Julian Prieber fa4f4f1441 Added email verification
Added email verification after user registration. After a user registered, an email is sent to the email used to sign up. The mail contains a verification link which is required to complete the registration process.

This feature can be turned off in the Admin Panel under: Admin>Config by changing the setting "Register_auth" from "verified" to "auth".

Read more about this on the Blog here: https://blog.littlelink-custom.com/optional-email-verification/
2022-03-19 16:48:21 +01:00
Julian Prieber 042c770878
Update version.json 2022-03-19 16:26:21 +01:00
Julian Prieber 28bcc391ed Merge branch 'main' of https://github.com/JulianPrieber/littlelink-custom 2022-03-18 15:30:57 +01:00
Julian Prieber 310a37c446 Fixed CSS class 2022-03-18 15:30:44 +01:00
Julian Prieber 4e5c84f641
Update version.json 2022-03-18 15:12:46 +01:00
Julian Prieber bcc5050c35 Added Custom Website button
Added new Custom Website button which visually looks similar to the previously added Website button with an except of the icon of the new button being the favicon of the chose link. The text on the button is set with the button title, just like the Custom button.

The favicon request is performed via the Google API. The icon displays correctly in most cases, with some exceptions. I might add a function later on that displays a generic icon if no icon was found.
2022-03-18 14:59:45 +01:00
Julian Prieber 35b487d48a
Fixed SQLSTATE Exception 2022-03-18 13:34:41 +01:00