Commit Graph

2049 Commits

Author SHA1 Message Date
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
Julian Prieber 7fb6068d49 Made link title optional
Made link title (previously required) optional when adding personal LittleLink links on the User/Admin Panel.
If the 'Title' field is left empty, the button name is now used instead of rejecting the addition.
2022-03-18 12:04:13 +01:00
Julian Prieber fe7fc9f714 Updated Domain 2022-03-17 21:28:26 +01:00
Julian Prieber 09bd0aed96 Added new buttons
Added new 'Buy me a Coffee' and 'generic Website' buttons
2022-03-17 21:19:30 +01:00
Julian Prieber 9bb6d949fc
Update README.md 2022-03-17 18:49:04 +01:00
Julian Prieber 1d2df13b0f Added footer to Admin Panel
I re-enabled the footer disabled by Latuminggi's LittleLink Admin fork. This footer adds a Home button which brings you to the landing page, in addition to Terms, Privacy and Contact buttons.

I also edited the policy pages for the buttons named above to include the new logo as well as the dark mode detection.
2022-03-17 17:33:37 +01:00
Julian Prieber 5751dbce12
Update README.md 2022-03-17 15:33:41 +01:00
Julian Prieber 89b61c5855
Update .env 2022-03-17 13:47:41 +01:00
Julian Prieber f27286ae60
Update version.json 2022-03-16 21:36:15 +01:00
Julian Prieber 887a266ff3 Update composer.lock 2022-03-16 20:48:50 +01:00
Julian Prieber 379382749b
Merge pull request #9 from JulianPrieber/dependabot/composer/laravel/tinker-2.7.1
Bump laravel/tinker from 2.6.1 to 2.7.1
2022-03-16 14:56:56 +01:00
Julian Prieber 86f7e099ec
Merge pull request #7 from JulianPrieber/dependabot/composer/guzzlehttp/guzzle-7.4.1
Bump guzzlehttp/guzzle from 7.3.0 to 7.4.1
2022-03-16 14:56:45 +01:00
Julian Prieber 1a8fa928ef
Merge pull request #8 from JulianPrieber/dependabot/composer/mockery/mockery-1.5.0
Bump mockery/mockery from 1.4.3 to 1.5.0
2022-03-16 14:56:35 +01:00
Julian Prieber 47722482d7
Merge pull request #10 from JulianPrieber/dependabot/composer/fruitcake/laravel-cors-2.2.0
Bump fruitcake/laravel-cors from 2.0.4 to 2.2.0
2022-03-16 14:56:24 +01:00
Julian Prieber 96c65e7ed6
Merge pull request #11 from JulianPrieber/dependabot/composer/facade/ignition-2.17.5
Bump facade/ignition from 2.10.2 to 2.17.5
2022-03-16 14:56:12 +01:00
Julian Prieber c36191daf1
Update README.md 2022-03-16 14:54:09 +01:00
Julian Prieber 518ae76f9f
Update LICENSE 2022-03-16 14:52:25 +01:00
dependabot[bot] 7609570aa3
Bump facade/ignition from 2.10.2 to 2.17.5
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.10.2 to 2.17.5.
- [Release notes](https://github.com/facade/ignition/releases)
- [Changelog](https://github.com/facade/ignition/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facade/ignition/compare/2.10.2...2.17.5)

---
updated-dependencies:
- dependency-name: facade/ignition
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 13:47:07 +00:00
dependabot[bot] 685f613c18
Bump fruitcake/laravel-cors from 2.0.4 to 2.2.0
Bumps [fruitcake/laravel-cors](https://github.com/fruitcake/laravel-cors) from 2.0.4 to 2.2.0.
- [Release notes](https://github.com/fruitcake/laravel-cors/releases)
- [Changelog](https://github.com/fruitcake/laravel-cors/blob/master/changelog.md)
- [Commits](https://github.com/fruitcake/laravel-cors/compare/v2.0.4...v2.2.0)

---
updated-dependencies:
- dependency-name: fruitcake/laravel-cors
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 13:46:55 +00:00
dependabot[bot] 1fb76b4591
Bump laravel/tinker from 2.6.1 to 2.7.1
Bumps [laravel/tinker](https://github.com/laravel/tinker) from 2.6.1 to 2.7.1.
- [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.6.1...v2.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 13:46:45 +00:00
dependabot[bot] e833e7b922
Bump mockery/mockery from 1.4.3 to 1.5.0
Bumps [mockery/mockery](https://github.com/mockery/mockery) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mockery/mockery/releases)
- [Changelog](https://github.com/mockery/mockery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mockery/mockery/compare/1.4.3...1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 13:46:35 +00:00
dependabot[bot] 538942cd61
Bump guzzlehttp/guzzle from 7.3.0 to 7.4.1
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.3.0 to 7.4.1.
- [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.3.0...7.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 13:46:30 +00:00
Julian Prieber f4e0e4defb
Update dependabot.yml 2022-03-16 14:46:09 +01:00
Julian Prieber b6b705e452
Create dependabot.yml 2022-03-16 14:43:54 +01:00
Julian Prieber b77da3b670
Merge pull request #6 from JulianPrieber/dependabot/npm_and_yarn/postcss-8.2.13
Bump postcss from 8.2.8 to 8.2.13
2022-03-16 14:35:03 +01:00
dependabot[bot] 6703793883
Bump postcss from 8.2.8 to 8.2.13
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.8 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.8...8.2.13)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 13:32:51 +00:00
Julian Prieber b8f59598a9
Merge pull request #5 from JulianPrieber/dependabot/npm_and_yarn/url-parse-1.5.10
Bump url-parse from 1.5.1 to 1.5.10
2022-03-16 14:23:59 +01:00
dependabot[bot] 350abb5626
Bump url-parse from 1.5.1 to 1.5.10
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 13:18:02 +00:00
Julian Prieber fef2e09aa9 Added built in Config Editor
LittleLink Custom now includes an .env config editor. This editor can be accessed via the Admin Panel under Admin>Config.
This editor allows admins to edit, backup, download and upload the .env configuration file. All in all, the new feature, allows users to more easily edit the configuration file, contributing to my goal of making LittleLink Custom easier to use.

Read more about this topic on the Blog https://blog.littlelink-custom.com/built-in-config-editor
2022-03-16 14:16:03 +01:00
Julian Prieber 9bdf937e4b
Update README.md 2022-03-16 13:06:01 +01:00
Julian Prieber 0aaa86224e Built in SMTP server
LittleLink Custom now includes an open and free to use SMTP server. Mails from this service may only be used for password recovery and registration purposes involving users personal LittleLink Custom or LittleLink Admin pages.
Users of this service must abide by our Terms and Conditions found at https://llc-mail.tru.io/.

Motivations for this are explained on my blog post about this topic, which you can read here: https://blog.littlelink-custom.com/littlelink-custom-mail-server/
2022-03-16 13:03:43 +01:00
Julian Prieber d8482e3182
Update README.md
Added a new Blog to document this project and better communicate updates and discuss them with others.
2022-03-15 10:10:31 +01:00
Julian Prieber 62eaa99870
Update version.json 2022-03-03 12:33:00 +01:00
JulianPrieber 907a3116bb Fixed dark mode not applying on first visit
This 'bug' was caused due to the way the dark mode was applied. The dark mode detection detects the preferred theme style from the client and then saves the preferred type with a cookie, all with JavaScript. Then a simple PHP if-else statement loads either the dark or light mode CSS theme, depending on the cookie.

The problem here was that the cookie would only be detected if the page was refreshed, so once the cookie was set, the dark mode was applied every time without a problem. But the first time a user visited the site and the preferred theme was set to dark mode, the page would still display the white version until the page was refreshed.

Now, I could have changed how the page applies the dark mode, however I decided against that and went with this commit instead.

Now I'm not really experienced with JavaScript at all, so this definitely could have been solved in a more elegant way, but this is what I did:

I added a bit to the JavaScript that sets and reads the cookie. When the page finished loading, a simple if statement is run that requires the following conditions: 
The URL contains a '#' and the color scheme equals 'dark' and the cookie isn't set yet. 
After these conditions are met, '#dark' is added to the URL and the page will be refreshed.

This refresh is only performed without the cookie, thus only refreshing the page on the first visit if the dark mode would be applied.

The '#dark' is only added to the URL to fail the first requirement of the if statement, preventing the page from being reloaded in an infinite loop. Otherwise, the  '#dark' part of the URL fulfills no purpose and only the '#' part is required, so it doesn't even matter what comes after the hash. I just chose this for clarification.

If the dark mode cookie is blocked by the user, the page will be set to light mode and refreshed every time they visit but the '#dark' will still be added to the URL, preventing the infinite refresh-loop.
2022-03-03 10:49:10 +01:00