Commit Graph

500 Commits

Author SHA1 Message Date
Julian Prieber 5ee5505b0d Added noopener, noreferrer, nofollow to user generated links
Added noopener, noreferrer and nofollow to user generated links to prevent users abusing the link system for malicious purposes.

Also, this is the 400th commit  🎉
2022-05-07 17:38:49 +02:00
Julian Prieber 3cac43f126
Update version.json
Pushing update to everyone with update notifications on due, an important bug fix.
2022-05-07 16:56:43 +02:00
Julian Prieber 7166a5f81f Updated back button 2022-05-07 16:40:21 +02:00
Julian Prieber 9d3d0dcf97 Fixed Missing Graphics
Fixed Missing Graphics on the Button Editor see https://github.com/JulianPrieber/littlelink-custom/issues/51.
2022-05-07 16:35:05 +02:00
Julian Prieber cdfa580d36 Fixed Config Editor not working
Fixed Config Editor not working see https://github.com/JulianPrieber/littlelink-custom/issues/51
2022-05-07 16:23:25 +02:00
Julian Prieber 1dc2f1d307
Update README.md 2022-05-06 23:25:45 +02:00
Julian Prieber 0123e03cbc Update ButtonSeeder.php 2022-05-06 23:20:09 +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 a65509bd58
Update register.blade.php
Added option to override registration, even if disabled with the setting in the database.

This is something that probably 99.999% of users will never need, but I really need a function like this for my personal instance.
If "REGISTER_OVERRIDE=true" is added to the .env config file, users will be able to register no matter what is set with the setting in the database. This is useful if two LittleLink Custom instances access the same database, but one should allow registration and the other should not.

If this causes any errors in the future, I will remove this.
2022-05-05 15:11:35 +02:00
Julian Prieber 8638072acb
Update littlelink.blade.php 2022-05-05 12:31:16 +02:00
Julian Prieber 209b158285
Update README.md 2022-05-04 14:28:46 +02:00
Julian Prieber 98170f2087
Update version.json 2022-05-04 13:41:52 +02:00
Julian Prieber 53c5fb618b Update add-link.blade.php
Added 'see all links' button
2022-05-04 11:03:24 +02:00
Julian Prieber b7a5a0ab73 Update littlelink.blade.php
Enabled button editor edits to apply to custom website buttons.
2022-05-04 10:40:36 +02:00
Julian Prieber c7925f1f1a Update links.blade.php
Added 'Add link' button.
2022-05-04 10:33:59 +02:00
Julian Prieber 53fa0f98b5 Update links.blade.php
Removed 'beta' text
2022-05-04 10:14:04 +02:00
Julian Prieber cb75a24e92 Update button editor
Added functionality for custom website button. Made button editor optional to use.
2022-05-04 10:12:01 +02:00
Julian Prieber 845327a628 Updated button-editor 2022-05-04 00:40:41 +02:00
Julian Prieber 08da6fa960 Updated button editor
A bit of optimization. Everything kinda scales to mobile now. Everything still looks terrible tho.
2022-05-04 00:19:29 +02:00
Julian Prieber 4eec538834
Update sidebar.blade.php
Adds the ability to insert code snippets into the head and body element laid out by the sidebar with blade by including:

@push('stylesheets')
    <!-- your code -->
@endpush

@push('scripts')
    <!-- your code -->
@endpush
2022-05-03 23:27:37 +02:00
Julian Prieber 5586a17b51
Merge pull request #47 from JulianPrieber/dependabot/composer/laravel/framework-8.83.11
Bump laravel/framework from 8.83.10 to 8.83.11
2022-05-03 18:38:37 +02:00
Julian Prieber 6401599e87
Merge pull request #48 from JulianPrieber/dependabot/composer/laravel/sail-1.14.1
Bump laravel/sail from 1.14.0 to 1.14.1
2022-05-03 18:38:28 +02:00
dependabot[bot] f7d1213008
Bump laravel/sail from 1.14.0 to 1.14.1
Bumps [laravel/sail](https://github.com/laravel/sail) from 1.14.0 to 1.14.1.
- [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.14.0...v1.14.1)

---
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-05-03 16:37:40 +00:00
dependabot[bot] 95b986a401
Bump laravel/framework from 8.83.10 to 8.83.11
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.83.10 to 8.83.11.
- [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.10...v8.83.11)

---
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-05-03 16:37:11 +00:00
Julian Prieber 96654e9a8a
Update README.md 2022-05-03 16:20:40 +02:00
Julian Prieber db23e40d71
Update README.md 2022-05-03 16:19:48 +02:00
Julian Prieber 5e0f32c673
Update README.md 2022-05-03 16:12:02 +02:00
Julian Prieber 0cba21bee8
Update profile.blade.php
Allows admins to change their email regardless if email auth is enabled or not.
2022-05-02 21:49:10 +02:00
Julian Prieber 8555a8eeef
Update home.blade.php
Added option to override registration, even if disabled with the setting in the database.

This is something that probably 99.999% of users will never need, but I really need a function like this for my personal instance.
If "REGISTER_OVERRIDE=true" is added to the .env config file, users will be able to register no matter what is set with the setting in the database. This is useful if two LittleLink Custom instances access the same database, but one should allow registration and the other should not.

If this causes any errors in the future, I will remove this.
2022-05-02 21:41:02 +02:00
Julian Prieber 5cf80b0eb3
Merge pull request #43 from JulianPrieber/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2022-04-29 14:39:58 +02:00
Julian Prieber 9deff687d1
Create CODE_OF_CONDUCT.md 2022-04-29 14:39:46 +02:00
Julian Prieber 5b1a86ef0c
Update README.md 2022-04-28 18:44:09 +02:00
Julian Prieber 2301219e8d
Update README.md 2022-04-28 18:43:34 +02:00
Julian Prieber 39cfa51f0d
Update README.md 2022-04-28 18:39:53 +02:00
Julian Prieber 6e31fc20b7
Merge pull request #39 from JulianPrieber/dependabot/composer/laravel/framework-8.83.10
Bump laravel/framework from 8.83.9 to 8.83.10
2022-04-28 18:32:20 +02:00
Julian Prieber 3659191c90
Merge pull request #40 from JulianPrieber/dependabot/composer/laravel/sail-1.14.0
Bump laravel/sail from 1.13.10 to 1.14.0
2022-04-28 18:32:10 +02:00
dependabot[bot] f09b976342
Bump laravel/sail from 1.13.10 to 1.14.0
Bumps [laravel/sail](https://github.com/laravel/sail) from 1.13.10 to 1.14.0.
- [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.10...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 16:30:18 +00:00
dependabot[bot] 6e2d3d4d79
Bump laravel/framework from 8.83.9 to 8.83.10
Bumps [laravel/framework](https://github.com/laravel/framework) from 8.83.9 to 8.83.10.
- [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.9...v8.83.10)

---
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-04-28 16:30:01 +00:00
Julian Prieber 087868c4e1
Changed title to name on ll page
Changed title to name on littlelink page
2022-04-28 17:32:43 +02:00
Julian Prieber eb96bb823e
Fixed text width on ll page
Fixed text width on littlelink page.

This might be a temporary fix. This essentially limits the width of the description text.
2022-04-28 17:12:21 +02:00
Julian Prieber 3994c1a64f
Fixed custom Home URL 2022-04-28 16:54:57 +02:00
Julian Prieber 915fcf102b
Update README.md 2022-04-28 14:43:41 +02:00
Julian Prieber f6c1db7c50 minor fixes 2022-04-27 21:06:51 +02:00
Julian Prieber 62c9baba23 Added custom button editor
Added the long planned button editor. This solution does not look optimal, but works... mostly.

This solution is implemented with JavaScript and the current versions code is very unorganized mostly uncommented and the HTML is still mostly done with inline code. I hope I will fix this in future revisions.

To learn more about the new button editor, read:
https://littlelink-custom.com/blog/upcoming-features/
https://littlelink-custom.com/blog/progress-of-the-new-button-editor/
2022-04-27 20:55:19 +02:00
Julian Prieber 243e4b55c6
Update profile.blade.php 2022-04-27 13:16:17 +02:00
Julian Prieber aadd01c4a2
Fixed Integrity constraint violation: 19 UNIQUE 2022-04-25 20:30:25 +02:00
Julian Prieber d2bda28105
Update README.md 2022-04-24 15:15:10 +02:00
Julian Prieber 5d74bcd2a0
Update README.md 2022-04-23 17:27:13 +02:00
Julian Prieber 8f2c30d648 Update index.blade.php 2022-04-20 18:32:21 +02:00
Julian Prieber 43cca4b191 Added security check sidebar
Added a security check on the sidebar.blade.php that tests if critical config components are accessible externally by anyone.

This is a fairly crude method and not at all optimized. I might change this in future revisions. At least this feature is disabled for normal users, so it won't affect load for non admins. This is the same code from the new diagnostic tool added in the previous commit. I had to change the names of each variable, otherwise the diagnostic tool could not use the same variables. The smart thing to do here would probably be to simply use the variables only in the sidebar, since they are loaded anyway since the sidebar layout is included on the diagnostic tool, effectively loading the variables twice. I might change this later, but for now I will leave it as.

Read more about the diagnostic tool on the blog here: https://blog.littlelink-custom.com/new-security-check-tool/
2022-04-20 18:18:41 +02:00