gancio issueshttps://framagit.org/les/gancio/-/issues2024-01-22T09:54:21Zhttps://framagit.org/les/gancio/-/issues/336[DOC] use the nginx rate limiter, remove internal express api rate limiter2024-01-22T09:54:21Zles[DOC] use the nginx rate limiter, remove internal express api rate limiterhttps://framagit.org/les/gancio/-/issues/335[DOC] nginx media cache via proxy and local fs2024-01-21T15:59:27Zles[DOC] nginx media cache via proxy and local fshttps://framagit.org/les/gancio/-/issues/333Error when trying to modify an event to being recurrent2024-01-17T20:00:24ZArg AdennError when trying to modify an event to being recurrentA sql error happen (using postgres):
```
Executing (default): SELECT "id", "title", "slug", "description", "multidate", "start_datetime", "end_datetime", "image_path", "media", "is_visible", "recurrent", "likes", "boost", "online_locatio...A sql error happen (using postgres):
```
Executing (default): SELECT "id", "title", "slug", "description", "multidate", "start_datetime", "end_datetime", "image_path", "media", "is_visible", "recurrent", "likes", "boost", "online_locations", "ap_object", "ap_id", "createdAt", "updatedAt", "placeId", "userId", "apUserApId", "parentId" FROM "events" AS "event" WHERE "event"."id" = '4';
Executing (default): UPDATE "events" SET "description"=$1,"start_datetime"=$2,"end_datetime"=$3,"recurrent"=$4,"updatedAt"=$5 WHERE "id" = $6
2024-01-17T19:50:49.813Z error: [EVENT UPDATE] invalid input syntax for type integer: "NaN"
Error
at Query.run (/nix/store/q6zmc8mcqr5bgpcl28pqn8ykjk4vg7wx-gancio-1.12.0/libexec/gancio/node_modules/sequelize/lib/dialects/postgres/query.js:50:25)
at /nix/store/q6zmc8mcqr5bgpcl28pqn8ykjk4vg7wx-gancio-1.12.0/libexec/gancio/node_modules/sequelize/lib/sequelize.js:315:28
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PostgresQueryInterface.update (/nix/store/q6zmc8mcqr5bgpcl28pqn8ykjk4vg7wx-gancio-1.12.0/libexec/gancio/node_modules/sequelize/lib/dialects/abstract/query-interface.js:355:12)
at async model.save (/nix/store/q6zmc8mcqr5bgpcl28pqn8ykjk4vg7wx-gancio-1.12.0/libexec/gancio/node_modules/sequelize/lib/model.js:2490:35)
at async model.update (/nix/store/q6zmc8mcqr5bgpcl28pqn8ykjk4vg7wx-gancio-1.12.0/libexec/gancio/node_modules/sequelize/lib/model.js:2598:12)
at async update (/nix/store/q6zmc8mcqr5bgpcl28pqn8ykjk4vg7wx-gancio-1.12.0/libexec/gancio/deps/gancio/server/api/controller/event.js:515:7)
```https://framagit.org/les/gancio/-/issues/331Get a URL for a tag that only shows future events2024-01-22T10:54:52ZIvy SaurGet a URL for a tag that only shows future eventsHi,
Currently, it is possible to get an URL that filters by place or tag, however it shows all events (past and future ones).
One of the ways we are using tags is to create a tag of an specific collective, so they can have a unique URL...Hi,
Currently, it is possible to get an URL that filters by place or tag, however it shows all events (past and future ones).
One of the ways we are using tags is to create a tag of an specific collective, so they can have a unique URL with all their own events (this way they can publish this URL on their social networks or just share it) and people can checkout their next events.
It would be very veryy useful to have this URL that only shows future events so it is not confusing to see all past and future events mixed.
I think this could apply also not only to tags, but also to places as it is useful as well.
Thank you!https://framagit.org/les/gancio/-/issues/330[Feature Request] Hide description subtitle without removing it from OpenGraph2024-01-16T15:05:36ZAtakan Dulker[Feature Request] Hide description subtitle without removing it from OpenGraphHi,
I'd like to be able to remove the website's description subtitle.
I attempted leaving the description line empty, while it achieved the desired result it also had the side effect of presenting the string 'undefined' when the page is...Hi,
I'd like to be able to remove the website's description subtitle.
I attempted leaving the description line empty, while it achieved the desired result it also had the side effect of presenting the string 'undefined' when the page is shared to social media.
I'd like to ideally be able to set two strings separately, or at least be able to remove it from the web.
Thank you for your work.https://framagit.org/les/gancio/-/issues/326Tag editing2024-01-16T23:37:02ZA mzTag editingI cannot edit an existing tag as admin. The tag disappears from both the admin interface and the published event.
Am I doing something wrong?
Thanks!I cannot edit an existing tag as admin. The tag disappears from both the admin interface and the published event.
Am I doing something wrong?
Thanks!https://framagit.org/les/gancio/-/issues/324allow rearranging of items on mobile view for easier input2023-12-28T12:05:24Zsysadminpower2019allow rearranging of items on mobile view for easier inputHello again,
I have noticed that people often do not notice the home / add / share items on mobile. Probably because it is at the very end of the first view when it loads particularly on smaller devices.
Would it be possible to allow...Hello again,
I have noticed that people often do not notice the home / add / share items on mobile. Probably because it is at the very end of the first view when it loads particularly on smaller devices.
Would it be possible to allow this menu to be more visible on the top of the page. Otherwise people often seem to think this is a closed calendarshttps://framagit.org/les/gancio/-/issues/323Better error messages, pop ups or tooltips?2023-12-21T23:12:27Zsysadminpower2019Better error messages, pop ups or tooltips?Hello,
So I had some people try to post events on the calendar and they were unable to do so.
It seems it wasn't clear what information was missing for the user to post the event.
I have also noticed that if you don't already know where...Hello,
So I had some people try to post events on the calendar and they were unable to do so.
It seems it wasn't clear what information was missing for the user to post the event.
I have also noticed that if you don't already know where to click and click again that sometimes it is unclear where the error is.
Any option would be small pop up messages saying "X is missing"
thanks as alwayshttps://framagit.org/les/gancio/-/issues/322[Bug] I can't follow a gancio account from my misskey fork instance.2023-12-20T21:01:55ZAntoineD[Bug] I can't follow a gancio account from my misskey fork instance.I use Iceshrimp and I have an infinite load qunad I want to track a Gancio account.
I suppose the same problem exists with Misskey and Firefish (these are 3 fork programs).
Bird.Makeup had the same problem and recently fixed it for [Go...I use Iceshrimp and I have an infinite load qunad I want to track a Gancio account.
I suppose the same problem exists with Misskey and Firefish (these are 3 fork programs).
Bird.Makeup had the same problem and recently fixed it for [GoToSocial](https://todo.sr.ht/~cloutier/bird.makeup/3#event-278519) and [Misskey](https://todo.sr.ht/~cloutier/bird.makeup/3#event-278612).https://framagit.org/les/gancio/-/issues/321Add mediaType to ActivityStreams representation2024-02-08T16:30:15ZThomasthomas.citharel@framasoft.orgAdd mediaType to ActivityStreams representationActivityStreams says the `content` property is assumed to be `text/html` format. https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content
Gancio seems to use plain text which is fine, but doesn't add a [`mediaType`](https://www.w3...ActivityStreams says the `content` property is assumed to be `text/html` format. https://www.w3.org/TR/activitystreams-vocabulary/#dfn-content
Gancio seems to use plain text which is fine, but doesn't add a [`mediaType`](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mediatype) property with value `text/plain` to explicit that.
As for `summary` , it seems only HTML is allowed for some reason (which sounds odd to me). https://www.w3.org/TR/activitystreams-vocabulary/#dfn-summary
Also related to #304 #309https://framagit.org/les/gancio/-/issues/320[feature request] Add support for Plausible analytics2024-01-21T16:11:20ZKayla Eilhart[feature request] Add support for Plausible analyticsHi, I'd like to propose to include support for privacy friendly Plausible analytics in gancio.
Reasoning: we are starting to use Gancio for a community calendar and although we are very privacy friendly, we still would love to see at le...Hi, I'd like to propose to include support for privacy friendly Plausible analytics in gancio.
Reasoning: we are starting to use Gancio for a community calendar and although we are very privacy friendly, we still would love to see at least some analytics for the website.
Proposal details:
- Plausible Analytics: https://plausible.io
- Integration guide for vue-nuxt apps: https://plausible.io/docs/integration-guides#vuejs--nuxtjs
User stories:
- Configuration story: As an instance administrator, I need to be able to edit and save all important fields of Plausible analytics integration as described here - https://github.com/moritzsternemann/vue-plausible#usage - we are using self-hosted plausible analytics instance, so we need to direct the analytics there.
- Analytics story: As an instance owner, I'd like to see usage statistics for publicly visible routes - main page, static pages and details of events. Admin routes don't need to be tracked.
Some other notes:
It doesn't seem to be a large effort - documentation seems pretty straightforward. Unfortunately, I am not a programmer to try to build the project with analytics myself, update the gancio templates and add new config section for admin routes.https://framagit.org/les/gancio/-/issues/319[Feature request] Each day on recurring tab2023-12-05T13:29:44Zjoenepraat[Feature request] Each day on recurring tabCan you please add 'Each day' in the Recurring tab on the create event page? Including the option to make exceptions.Can you please add 'Each day' in the Recurring tab on the create event page? Including the option to make exceptions.https://framagit.org/les/gancio/-/issues/317Third party authentication for user creation and ï'm going / thumbs up "feature2023-11-30T15:14:29Zsysadminpower2019Third party authentication for user creation and ï'm going / thumbs up "featureI am working on a different project and found this https://www.bookstackapp.com/docs/admin/third-party-auth/
it would be cool if we could also have that kind of integration with gancio, which would allow for more user control and eventu...I am working on a different project and found this https://www.bookstackapp.com/docs/admin/third-party-auth/
it would be cool if we could also have that kind of integration with gancio, which would allow for more user control and eventually allow people to contribute info the events or to like events.
I think many people would benefit if they knew other people were going to a specific event and if we could track it directly.https://framagit.org/les/gancio/-/issues/314Feature Request: Geographical overview of tagged events in a specific period...2023-11-27T13:14:33ZStephan SchildbergFeature Request: Geographical overview of tagged events in a specific period of time in a geographical region.Geographical overview of all events in a specific period on a map.
Example: I am looking for activities that I would like to do with my child at the weekend within a certain region (map section or https://wiki.openstreetmap.org/wiki/I...Geographical overview of all events in a specific period on a map.
Example: I am looking for activities that I would like to do with my child at the weekend within a certain region (map section or https://wiki.openstreetmap.org/wiki/Isochrone according to chosen transport vehicle - urban transport, bike, train, etc.)https://framagit.org/les/gancio/-/issues/309Federation to akkoma/pleroma - message format2023-12-19T10:04:17ZfadelkonFederation to akkoma/pleroma - message format### Problem
Message format in Akkoma and Pleroma is ugly. We could fix:
- summary: it should be the title, not the content, imo
- line breaks: somehow they disappear in akkoma, not in mastodon.
- tags: they don't show in akkoma (probab...### Problem
Message format in Akkoma and Pleroma is ugly. We could fix:
- summary: it should be the title, not the content, imo
- line breaks: somehow they disappear in akkoma, not in mastodon.
- tags: they don't show in akkoma (probably their choice) and the href in mastodon is not respected.
### Graphic example
![nabat-mastodon2.png](/uploads/6b7c8f51bdd016abd5b635595c2753c6/nabat-mastodon2.png)
![nabat-akkoma.png](/uploads/897cac33d641f10ba74f21d32b50e513/nabat-summary.png)
### Files involved
The **summary** thing, I guess it would be enough to edit this https://framagit.org/les/gancio/-/blob/e4c78533671ec6c376ad1819187a8cc1127b35cb/server/api/models/event.js#L92
```plaintext
- summary: content
+ summary: this.title
```
Regarding the **line breaks,** this replaces just the first `\n`: https://framagit.org/les/gancio/-/blob/e4c78533671ec6c376ad1819187a8cc1127b35cb/server/api/models/event.js#L46
`const plainDescription = htmlToText(this.description && this.description.replace('\n', '').slice(0, 1000))`
So I don't know why this would happen. Even if it interpreted that the message is in markdown, then a multiple linebreak in source should generate a single linebreak in the rendered text. I'm confused.
And for **hashtags**, same file, I don't care that much, but just stated that it may not be working as expected.
### Example sources
- in akkoma https://bcn.fedi.cat/notice/AazLCMXy9VMG60lbF2
- in mastodon https://mastodon.social/tags/patinatge
- in gancio https://bcn.convoca.la/event/neix-lescola-de-patinatge-del-csonabat3-heavy-hearthttps://framagit.org/les/gancio/-/issues/306UI issue: general issues when editing an event2023-10-16T19:10:07Zn00qUI issue: general issues when editing an eventThis is an issue/bug i've experienced on mobile versions of Chromium, and it's not consistent, so I don't know the exact circumstances to replicate it.
Occasionally when editing the description or image of a previously-created event, I ...This is an issue/bug i've experienced on mobile versions of Chromium, and it's not consistent, so I don't know the exact circumstances to replicate it.
Occasionally when editing the description or image of a previously-created event, I will hit Save and instead of saving the changes to the event, I will be jumped up to the event's Title textbox which becomes active. It is as though I can't save the event because I havn't entered a title, or because the entered Title is invalid somehow, but there is no indication of this besides the point of focus and activation being jumped there. And I'm editing an event, and havn't changed the Title anyhow, so there is no reason to expect there to be a problem with the Title. Scrolling down and hitting Save at this point will not work, I will once again be jumped back to the Title textbox. At this point if I hit Enter from the Title textbox, which moves my focus to the Where textbox, I am then able to scroll down and successfully Save the event.
So i suspect under certain circumstances when editing an event, the flow is broken and the UI behaves as though no Title was entered, and won't let the user Save the event until they enter a valid title. That's my guess. Sorry this isn't more helpful, perhaps someone else has experienced this. I will try to add more documentation as I continue to encounter this bug.https://framagit.org/les/gancio/-/issues/305UI issue: no way to edit markdown link in mobile/responsive view when editing...2023-10-16T19:02:54Zn00qUI issue: no way to edit markdown link in mobile/responsive view when editing event.I have noticed this both on a chromium based browser on a mobile device, and on firefox on linux with a mobile-size browser window.
When creating/editing an event, there is no way to enter the URL for a markdown link. to access the Link...I have noticed this both on a chromium based browser on a mobile device, and on firefox on linux with a mobile-size browser window.
When creating/editing an event, there is no way to enter the URL for a markdown link. to access the Link button on the toolbar, one scan scroll to the right. Firstly, this is fairly unintuitive on mobile, there may be a better way to display all the toolbar options or make it obvious they are there. But the actual issue is that even scrolling to the end, the text bar where one would enter the URL will not appear. The viewport/window needs to be wider than the entire length of the toolbar, not counting the URL textbox, for the textbox to appear.
A crude workaround on mobile is to turn your phone sideways, and then the text box for the URL will appear.https://framagit.org/les/gancio/-/issues/304Event summary vs content/description2023-12-20T20:40:56ZAndré MenrathEvent summary vs content/descriptionCurrently in the `activity-json` representation of an Gancio event the `summary` and the `content``` properties are equal. They are a joined string: the places name, the date formatted in the instances language, and the description.
Cod...Currently in the `activity-json` representation of an Gancio event the `summary` and the `content``` properties are equal. They are a joined string: the places name, the date formatted in the instances language, and the description.
Code example:
```javascript
const content = `
📍 ${this.place && this.place.name}
📅 ${DateTime.fromSeconds(this.start_datetime, opt).toFormat('EEEE, d MMMM (HH:mm)')}
${plainDescription}
`
```
To me, this behaviour makes sense for the summary field, but for the content I would expect it to be just the plainDescription.
Other Fediverse software usually handles unsupported object types in the following way: e.g. Mastodon converts an event object in such a way that only the name (title of the event), summary and url properties of an object are displayed to the user for the content. But if another Fediverse software has proper support for events, it should usually be able to handle the location and startTime in its own way, and in that scenario the current information within the content property would be too much.
I was wondering if there are reasons for the current behaviour that I don't yet understand?
Kind regards,
Andréhttps://framagit.org/les/gancio/-/issues/303Gancio broken after docker-update due to Postgres version2023-10-13T09:24:23ZMarcoGancio broken after docker-update due to Postgres versionAfter updating the docker installation I found Gancio not working anymore. Finally I found this was down to the fact that the Postgres container was updated to postgres 16 and did not work with the previous database.
I'd propose to chan...After updating the docker installation I found Gancio not working anymore. Finally I found this was down to the fact that the Postgres container was updated to postgres 16 and did not work with the previous database.
I'd propose to change the docker-compose file for Postgres to
` image: postgres:15`
to avoid this issue for people upgrading a running version with Postgres as database.https://framagit.org/les/gancio/-/issues/293Can't remove user2023-08-15T15:28:31Zn00qCan't remove userI'm trying to remove a user from the web interface admin panel.
I click remove user, then click Confirm in the pop up dialog.
Result: a red pop up with the text: "AxiosError: Request failed with status code 404"
The user is seemingly not...I'm trying to remove a user from the web interface admin panel.
I click remove user, then click Confirm in the pop up dialog.
Result: a red pop up with the text: "AxiosError: Request failed with status code 404"
The user is seemingly not deleted.
Running `gancio users list` for the CLI shows the user is still there.
Gancio version 1.6.14