Commit Graph

2204 Commits

Author SHA1 Message Date
Julian Prieber 5e5ce391b9 Added check, if added links end with "/"
Added check if added, or edited links end with "/". Previously if links were saved without this formatting applied an error exception would be thrown.

For this, I used the previously added functions to check if the link ends with the slash.
2022-03-31 22:45:51 +02:00
Julian Prieber 268c6557a1 Added check, if added links begin with "https"
Added check added, or edited links begin with https. Previously if links were saved without this formatting applied an error exception would be thrown.

For this I added two functions, one can check if a string ends with a certain string, the other checks if it ends with a certain string. The first function is used for the newly added check, the other one is planned to be used in a similar check in the future.
2022-03-31 22:43:01 +02:00
Julian Prieber 518d82125e Change email option is now hidden if email auth is enabled
Added if statement that hides the option for users to change their email if email registration authentication is enabled (which it is by default).
2022-03-31 21:33:58 +02:00
Julian Prieber 56643ed068 Fixed bug 'profile changes not applying'
Fixed a bug where users were unable to change name, email or password unless every value was changed at once.
2022-03-31 21:31:00 +02:00
Julian Prieber 0aa99064eb Fixed fadein class for home message 2022-03-31 14:06:58 +02:00
Julian Prieber 1abd7b1a2b
Update version.json 2022-03-30 14:57:50 +02:00
Julian Prieber d7656b2338
Update version.json 2022-03-30 14:42:14 +02:00
Julian Prieber 613c585efd Update composer.lock 2022-03-30 11:48:40 +02:00
Julian Prieber 10b902f108 Added share button to LittleLink pages
Added share button that is displayed on user's personal pages that if clicked either copies the profile URL or opens a share dialog window depending on the browser and operating system.

Read the blog post about this topic here: https://blog.littlelink-custom.com/share-button
2022-03-29 23:08:06 +02:00
Julian Prieber 8ffc5f5415
Merge pull request #19 from JulianPrieber/dependabot/composer/laravel/breeze-1.9.0
Bump laravel/breeze from 1.8.2 to 1.9.0
2022-03-29 18:43:33 +02:00
Julian Prieber 9dde12f41f
Merge pull request #20 from JulianPrieber/dependabot/composer/laravel/tinker-2.7.2
Bump laravel/tinker from 2.7.1 to 2.7.2
2022-03-29 18:43:26 +02:00
Julian Prieber 562facf337
Merge pull request #21 from JulianPrieber/dependabot/composer/laravel/framework-8.83.6
Bump laravel/framework from 8.83.5 to 8.83.6
2022-03-29 18:43:19 +02:00
Julian Prieber 008d3aa1ae
Merge pull request #22 from JulianPrieber/dependabot/composer/laravel/sail-1.13.8
Bump laravel/sail from 1.13.7 to 1.13.8
2022-03-29 18:43:10 +02:00
dependabot[bot] 9ad9a1f6dd
Bump laravel/sail from 1.13.7 to 1.13.8
Bumps [laravel/sail](https://github.com/laravel/sail) from 1.13.7 to 1.13.8.
- [Release notes](https://github.com/laravel/sail/releases)
- [Changelog](https://github.com/laravel/sail/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/sail/compare/v1.13.7...v1.13.8)

---
updated-dependencies:
- dependency-name: laravel/sail
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 16:34:24 +00:00
dependabot[bot] b94dc63ef6
Bump laravel/framework from 8.83.5 to 8.83.6
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.83.5 to 8.83.6.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/9.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/framework/compare/v8.83.5...v8.83.6)

---
updated-dependencies:
- dependency-name: laravel/framework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 16:34:14 +00:00
dependabot[bot] ef7a8069f7
Bump laravel/tinker from 2.7.1 to 2.7.2
Bumps [laravel/tinker](https://github.com/laravel/tinker) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/laravel/tinker/releases)
- [Changelog](https://github.com/laravel/tinker/blob/2.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/tinker/compare/v2.7.1...v2.7.2)

---
updated-dependencies:
- dependency-name: laravel/tinker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 16:33:59 +00:00
dependabot[bot] c702e11f8d
Bump laravel/breeze from 1.8.2 to 1.9.0
Bumps [laravel/breeze](https://github.com/laravel/breeze) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/laravel/breeze/releases)
- [Changelog](https://github.com/laravel/breeze/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/breeze/compare/v1.8.2...v1.9.0)

---
updated-dependencies:
- dependency-name: laravel/breeze
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 16:33:49 +00:00
Julian Prieber 805e71b886 Update footer.blade.php 2022-03-29 17:45:48 +02:00
Julian Prieber 8fdc1a7f74 Fixed spacing on custom links added by text editor
Fixed word spacing bug in texts added by the new page editor. This bug caused inserted links to have extended spacing between words.

This 'bug' was a previous feature added to display links further apart for easier readability. The feature didn't scale well with the newly added page editor which allowed users to add their own links to edited texts, causing the bug.

The extended spacing was achieved with the 'padding' CSS tag. I simply removed the tag from all an HTML tags and made it into its own class, 'spacing'. I added the class to every element on the site that previously depended on this tag.
2022-03-29 16:27:50 +02:00
Julian Prieber 0e414dfcaf Updated default privacy notice 2022-03-29 15:49:12 +02:00
Julian Prieber cf66be63cb Fixed 'Edit User' changes not applying
Fixed bug where if a user was edited on the Admin Panel under 'Admin>Users> Edit User' changes would not apply without every value being changed.

This bug originates from LittleLink Admin (the fork of which this fork is based on).

One part of this issue was that most fields were required to fill in. If only one would be left, empty, none would apply. The problem was if this requirement was removed, the password would always overwrite the current password, even when left empty.
This meant you could only edit users if you knew their password, otherwise their passwords would be changed, probably preventing that user from login in ever again.

After some experimenting, I implemented the easiest fix I could come up with. A simple if-else statement that checks if the password field is empty and if so only saves the other parameters without touching the password. If the password is changed, the changes will be applied normally.

Also fixed the profile image size for the default placeholder image.
2022-03-28 19:54:17 +02:00
Julian Prieber 89479791de
Update version.json 2022-03-28 12:48:06 +02:00
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