Mirror of planiverse@git.stjo.hn - a javascript-free Mastodon web UI
Go to file
St John Karp 0247f8b57e Favour redirects over re-using the same paths
I was re-using the same paths for a bunch of stuff in order to
minimise redirects (POSTing new statuses to the timeline, or performing
actions on a status), but then this breaks the behaviour of the
browser's refresh button. I've moved all those actions to their
own paths, which helps break up the code, makes the URLs more
semantic, and lets you use the refresh button without accidentally
performing an action.

This is at the expense of an additional HTTP request, but I've
tried to minimise the cost by passing through the status from the
previous action so we don't have to requery for it on the server
side.
2018-08-26 14:34:01 -07:00
app Favour redirects over re-using the same paths 2018-08-26 14:34:01 -07:00
bootstrap Base commit 2018-08-11 10:32:56 -07:00
config Only permit cookies to be sent over secure connections 2018-08-19 15:34:46 -07:00
database Support login workflow 2018-08-12 07:26:26 -07:00
public Implement status context page 2018-08-26 13:37:55 -07:00
resources Favour redirects over re-using the same paths 2018-08-26 14:34:01 -07:00
routes Favour redirects over re-using the same paths 2018-08-26 14:34:01 -07:00
storage Base commit 2018-08-11 10:32:56 -07:00
tests Base commit 2018-08-11 10:32:56 -07:00
.env.example Base commit 2018-08-11 10:32:56 -07:00
.gitattributes Base commit 2018-08-11 10:32:56 -07:00
.gitignore Base commit 2018-08-11 10:32:56 -07:00
artisan Base commit 2018-08-11 10:32:56 -07:00
composer.json Show status timestamps 2018-08-12 17:05:48 -07:00
composer.lock Show status timestamps 2018-08-12 17:05:48 -07:00
package.json Base commit 2018-08-11 10:32:56 -07:00
phpunit.xml Base commit 2018-08-11 10:32:56 -07:00
readme.md Base commit 2018-08-11 10:32:56 -07:00
server.php Base commit 2018-08-11 10:32:56 -07:00
webpack.mix.js Base commit 2018-08-11 10:32:56 -07:00

readme.md

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.