Hi.Events icon indicating copy to clipboard operation
Hi.Events copied to clipboard

🌟 Method to obtain all public events

Open GBHU753 opened this issue 1 year ago • 14 comments

Is your feature request related to a problem? Please describe. I've had good look around and I can't seem to find a way to get all the event ids that are public

Describe the solution you'd like The {{host}}/events endpoint moved to being public.

Describe alternatives you've considered I couldn't come up with anything else.

Additional context N/A

GBHU753 avatar Sep 12 '24 03:09 GBHU753

Maybe I could make an account with the specific purpose of accessing all the events

GBHU753 avatar Sep 12 '24 03:09 GBHU753

Hi @GBHU753,

This is currently in progress as part of adding public organizer pages. It should be complete in the next couple of weeks.

daveearley avatar Sep 12 '24 03:09 daveearley

@daveearley did this get put on the backburner? Did you make any progress on it? If not, I may pick it up.

grablair avatar Oct 31 '24 16:10 grablair

Hey @grablair,

I had to pause work to focus on the migration from tickets to products. I made progress on preparing for public organizer pages, but I haven't implemented the public events endpoint yet.

Feel free to pick it up, and let me know if you have any questions about the implementation!

Thanks!

daveearley avatar Nov 01 '24 05:11 daveearley

I had to pause work to focus on the migration from tickets to products. I made progress on preparing for public organizer pages, but I haven't implemented the public events endpoint yet.

Hi, has this feature been abandoned? I'm trying to understand how a user can see a list/calendar of upcoming public events without logging in. Why would anybody register on my site if they can't see a list of events available? Thanks.

oneplacepress avatar Apr 30 '25 20:04 oneplacepress

@daveearley did this get put on the backburner? Did you make any progress on it? If not, I may pick it up.

Ever work on this? Any idea how to share a list of public events with somebody? I don't understand how an events management platform doesn't have a calendar list of upcoming events for non-authenticated users to browse before deciding to sign up.

oneplacepress avatar Apr 30 '25 20:04 oneplacepress

Hi @oneplacepress,

This work hasn’t started yet. It’s not a frequently requested feature, so it hasn’t been a priority up to now.

That said, we do plan to add a public API endpoint for fetching events, as it can be useful for custom calendars or embedding events on organizer websites. There is an undocumented endpoint for fetching a single organizers event. You can find that here.

daveearley avatar May 01 '25 00:05 daveearley

Thanks @daveearley, appreciate the quick response! (and quick fix to the other issue as well!). Have a good week!

oneplacepress avatar May 05 '25 22:05 oneplacepress

Hi @oneplacepress,

This work hasn’t started yet. It’s not a frequently requested feature, so it hasn’t been a priority up to now.

That said, we do plan to add a public API endpoint for fetching events, as it can be useful for custom calendars or embedding events on organizer websites. There is an undocumented endpoint for fetching a single organizers event. You can find that here.

Hi @daveearley , any update on this? Would be very usefull to have this feature so everyone can see past/next events without the need of have an per-event web link, just enter in the "events.example.com" to see the list of events.

Thanks.

cgonIT avatar Jun 13 '25 11:06 cgonIT

Would be very usefull to have this feature so everyone can see past/next events without the need of have an per-event web link, just enter in the "events.example.com" to see the list of events.

There is a big change coming soon that will allow you to create a public event listing page for your organizer.

daveearley avatar Jun 14 '25 02:06 daveearley

Would be very usefull to have this feature so everyone can see past/next events without the need of have an per-event web link, just enter in the "events.example.com" to see the list of events.

There is a big change coming soon that will allow you to create a public event listing page for your organizer.

Hi @daveearley any update on this? Asking just to know because I'm not very familiar with github way of working, and I see the "Feature: Add public organinzer pages #615" and lot of changes, but I don't know if they are published. Once this "big change" will be published, I only need to re-deploy my docker container to get the las updates, right? Thank you so much. I don't know if there is any way to help you with something.

cgonIT avatar Jul 16 '25 07:07 cgonIT

@cgonIT yes, it has been released. You will need to pull the latest code or Docker image. You may also need to run php artisan migrate in the container depending on your setup.

daveearley avatar Jul 16 '25 14:07 daveearley

@cgonIT yes, it has been released. You will need to pull the latest code or Docker image. You may also need to run php artisan migrate in the container depending on your setup. Thank you once for your great job.

UPDATING THIS TICKET This is the proccedure I did to upgrade my selfhosted server:

Scenario:

  • Ubuntu server running docker.
  • I cloned the git repo and using the "Docker >all-in-one" version.
  • Postgress db in another docker container.

Update steps I did:

  • Backup of the hi.eventes folder where configuration files are.
  • docker compose down.
  • Delete the docker image "all-in-one".
  • Delete the folder hi.events.
  • Git clone of hi.Events repo.
  • Replace from backup folder the next items: -- "\docker\all-in-one.envs" -- "\docker\all-in-one\docker-compose.yml"
  • docker compose up -d

Now I've my selfhosted version updated. Hope it helps.

cgonIT avatar Jul 29 '25 16:07 cgonIT

You may also need to run

Hi @daveearley ! I thougt everything was ok but...After the update, attendees are getting an error in the GUI when they clic in "Place Order":

Image

But the booking ins launched as I receive the email with the request.

My Deployment Scenario detailled:

Image - 2 Docker containers running in Ubuntu Server. - 1 is the Hi.Events container - 1 is the PostgreSql container Both deployed from the docker > all-in-one method.

If I do: "docker exec -it postgres_container_id bash" I got connected to the db container but unable to run "php artisan migrate".

Image

In the hi.events container, if I move to "backend" folder and run the same command:

Image

Nothing to migrate.

So I decide to create a new event since there are things from your code that has been changed, just to see if the problem is in or not, but even with a new event the "Server Error" message appears. I receive the email in the admin mailbox as a new booking has been done, but the Server Error message is worrying me.

So don't know if the problem is related or not.

From Docker Portainer I can see live logs from server and I see this lines:

Image

And in the Microsoft Edge Broswer from where the book is done I see this (A 500 status code error basicaly):

Image

My apologies if I miss something due I'm not a fully expert on this.

Do you know what am I missing?

Thank you!

cgonIT avatar Jul 31 '25 06:07 cgonIT