Commit Graph

30 Commits

Author SHA1 Message Date
Julian Prieber 564a9d160b Added phone number button 2022-07-15 17:46:26 +02:00
Julian Prieber f2ca9ba8cf Sorted buttons alphabetically 2022-07-07 22:57:01 +02:00
Julian Prieber 592dde4b2a Added support for custom themes 2022-05-18 21:08:58 +02:00
Julian Prieber 8bbc9417c1
Updated home message 2022-05-14 20:54:06 +02:00
Julian Prieber 0f9e717e36
Updated home message 2022-05-14 20:50:40 +02:00
Julian Prieber 458ed45da6
Update PageSeeder.php 2022-05-14 19:42:28 +02:00
Julian Prieber 83fa39f579
Fixed error when migrating database with MySQL 2022-05-12 14:47:07 +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 d880fa84d3 Added database migration for custom icons
Added database migration for the upcoming custom icons on the Button Editor.
See: https://blog.littlelink-custom.com/upcoming-features/
And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/
2022-04-11 13:14:14 +02:00
Julian Prieber 559ecbee21
Update 2021_03_18_082008_create_links_table.php 2022-04-06 13:58:17 +02:00
Julian Prieber 49679f2131 Added field for custom CSS to database
See: https://blog.littlelink-custom.com/upcoming-features/
2022-04-05 23:23:36 +02:00
Julian Prieber 0e414dfcaf Updated default privacy notice 2022-03-29 15:49:12 +02: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 aac19d17f4 Bugfixes
Fixed problems in .env and database seeder
2022-03-21 15:37:55 +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 09bd0aed96 Added new buttons
Added new 'Buy me a Coffee' and 'generic Website' buttons
2022-03-17 21:19:30 +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
JulianPrieber 4e78b1a58f Added option to disable registration
Added option to disable registration.
2022-02-23 20:19:15 +01:00
JulianPrieber 61ab146fa2 Added new buttons
Added the following LittleLink buttons:
  -  Bandcamp
  -  Patreon
  -  Signal
  -  Venmo
  -  Cash App
  -  Gitlab
  -  Mastodon
  -  PayPal
  -  WhatsApp
  -  Xing
2022-02-22 17:01:07 +01:00
JulianPrieber 574128a922 Fixed bug in SQLite database
A second empty line in the SQLite database caused an error when running 'php artisan migrate'.

Command:
 $ php artisan migrate

Error:
   "Illuminate/Database/QueryException"

  SQLSTATE[HY000]: General error: 26 file is not a database (SQL: select * from sqlite_master where type = 'table' and name = migrations)

  at /path/to/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712
    708▕         // If an exception occurs when attempting to run a query, we'll format the error
    709▕         // message to include the bindings with SQL, which will make this exception a
    710▕         // lot more helpful to the developer instead of just the database's errors.
    711▕         catch (Exception $e) {
  ➜ 712▕             throw new QueryException(
    713▕                 $query, $this->prepareBindings($bindings), $e
    714▕             );
    715▕         }
    716▕     }

  1   /path/to/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368
      PDOException::("SQLSTATE[HY000]: General error: 26 file is not a database")

  2   /path/to/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368
      PDO::prepare("select * from sqlite_master where type = 'table' and name = ?")
2022-02-22 12:33:48 +01:00
JulianPrieber c1604ff9d5 Updated Name and description
Updated the name and description on the website.

Updated: App name, admin message in home (seeder), footer, and footer studio-sidebar.
2022-02-22 10:31:23 +01:00
JulianPrieber 93eb23ded3
Added SQLite database
Added empty SQLite database for future use as main database for Laravel. As mentioned in previous commits, I'm switching to SQLite due to the easier setup process for the inexperienced user.
2022-02-21 20:11:25 +01:00
JulianPrieber 4af729687e
Fixed SQLite compatibility
Removed 'DB::statement("ALTER TABLE `buttons` AUTO_INCREMENT=0;");' due to incompatibility with SQLite.
2022-02-21 19:58:55 +01:00
JulianPrieber 8b030a3eea
Replaced (-) hyphen button seed with custom link button
Replaced (-) hyphen button seed with custom link button as first button
2022-02-11 22:14:43 +01:00
aprillio 00ccb7cc8f add (-) hyphen button seed as first button 2021-07-06 15:45:32 +07:00
aprillio 7bb0a8aee4 add column title and order 2021-07-06 15:43:56 +07:00
aprillio 81003986f5 alter table buttons auto increment start from zero 2021-07-06 15:43:30 +07:00
Khashayar Zavosh 538666900b add new brand: tiktok, email 2021-05-22 18:07:18 +04:30
Khashayar Zavosh 24db7cbbfb admin littlelink 2021-04-16 03:30:00 +04:30