Commit graph

9 commits

Author SHA1 Message Date
ef937ca0eb
Add feeds: event-map.js, RSS feed, ICS feed (#23)
* Add Feed view

* Update Directus client to support feeds

- Provide content for list data
- Add virtual fields to albums.

* Finalize archive view for Timeline module

* Remove unused scaffold code

* Add feed controller views: rss, calendar, js map

* Use module var to set fallback limit value

* Setup routes to feeds

* Fix warnings and typos
2024-10-07 23:44:22 +02:00
54bf81b54d
Site search (#20)
* Return results and count for Timeline search

* Add search to page controller

* Add search route

Also, update scaffold uri on homepage

* Add search view
2024-10-05 00:36:03 +02:00
a6d34d17fc
List and show events (#17)
* Improve Directus client

- Rearrange and group functions to match
- Allow whitespace when searching
- provide category to event list

* Add event list view

* Show band information on festival-ish events

* Extract view helpers to reusable module

Code is shared between ItemHTML and PageHTML,
and they really do not belong in web anyway
since it is usable outside web scope as well.

* Rename utils to event helpers

It is a file that handles the poor design choice
of the datamodel for events, so let the module
name describe that.

* Sync event view

- Replace scaffold markup with production markup
- Send more data from Directus client
2024-10-03 22:52:40 +02:00
bb3726d071
Article search (#16)
* Cleanup CSS file

* Add free text query to Directus client

* Add search form to article list view

* Search titles instead of contents

Will prevent DDOS slighty.
2024-10-03 15:31:19 +02:00
89b93cf231
List shared links (#15)
* Exclude not published items in directus client

* Add link view to page controller

* Add page controller links list view to router

* Add links list view CSS

* Add permalink view for link

* Improve page titles

* Let user copy link permalink to clipboard

if alt, shift or ctrl are pressed, fallback to
default behavior.
2024-10-03 14:38:56 +02:00
ebff42d899
Brutal legends (albums) data (#13)
* Improve Directus client event sorting and filtering

* Add Directus client getters: albums, album

* Rearrange home view

Add brutal legends move some things around.
2024-10-03 09:55:44 +02:00
84f4b8007a
Article list view (#12)
* Add article list view

* Add article view CSS

* Cleanup scaffold app layout

Most importantly, fix issue with page title.

* Add article view to Page controller

* Add article list view to router
2024-10-03 09:38:07 +02:00
f17558daaf
Add homepage view (#10)
* Ignore rel dir

* Add assets

* Add assets to esbuild bundle

* Add upcoming filter to Directus events

* Add homepage
2024-10-01 16:44:34 +02:00
Anders Englöf Ytterström
8e1f1bae97 Initiate next madr.se site
mix phx.new mse25 \
  --no-ecto \
  --no-tailwind \
  --no-dashboard \
  --no-live \
  --no-mailer
2024-09-04 10:12:36 +02:00