Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIGRATION TO NEW_THEME CHECKLIST #618

Closed
31 of 39 tasks
kumy opened this issue Mar 18, 2021 · 21 comments
Closed
31 of 39 tasks

MIGRATION TO NEW_THEME CHECKLIST #618

kumy opened this issue Mar 18, 2021 · 21 comments

Comments

@kumy
Copy link
Member

kumy commented Mar 18, 2021

This list is the "must have fixed issues" before we can migrate to new-theme branch:

Mandatory:

Optional for GKv2 migration:

Migration:

No issue yet:

  • Test a special c:geo build
  • Ask some users for feedback before migration
  • Communicate to partners about the change (list?)
  • Migrate our CI to somewhere else (we ran out of free travis-ci.com credits and our request is ignored be the support)
@kumy kumy added the new-theme label Mar 18, 2021
@kumy kumy pinned this issue Mar 18, 2021
@okainov
Copy link
Member

okainov commented Sep 28, 2021

Are those really "must"? Like GDPR things, well, the current website runs without it, right? Which is probably not good, but you wouldn't make it worse at least. Or allowing to change username - this really doesn't sound like "must"...

@kumy
Copy link
Member Author

kumy commented Sep 28, 2021

I agree with you, not all of them are required for the migration.

@kumy
Copy link
Member Author

kumy commented Sep 28, 2021

I've splited the list above. But I should keep in mind that when the migration occur, I have to be available for some time as I'm pretty sure there will be some problems arising ;) I hope it will be finally soon!!!

@kumy
Copy link
Member Author

kumy commented Jun 19, 2022

The mandatory list is now complete 🥳

I've been working on this complete rewrite for so long! I'm really pleased to be there now :) But the work is not complete.

I think the next website version GKv2 (aka new-theme) has now enough core features ready to replace the actual website. Sure there are many missing features but I think it's really usable.

The public staging instance is https://new-theme.staging.geokrety.org/. Database is synchronized from production every days at 2am UTC. So there is no problem if tests are made there.

Bugs should be reported on GitHub. If possible add label new-theme. Translations are hosted on crowdin.

Regarding the api and legacy urls, I did my best to recreate some legacy endpoints so the migration should be transparent for partners. Partners are however requested to test their product on their staging/development environments with GKv2 using the url above.

The migration date will be set depending of the quantity, severity and time need to fix the new found bugs. :)

Known changes

Rate limit system

Api endpoint now have 2 types of rates limits:

  1. Use nginx rate-limiting and limit the number of request per second per group of endpoints
  2. Authenticated endpoints have requests limits calls per days.

For both of them should be quite high. Let me know if some needs tuning. For the 2nd point, for each request you'll find in the headers the current consumption, limit and count period.

GKM/GK fusion

On migration, the api.geokretymap.org will point to api.geokrety.org

Missing features

  • Rate Geokrety
  • Races
  • Users and GeoKrety statistics

Moves support timezone

Historically all date times were processed as if they were UTC. Now timezones should be properly handled. On legacy api endpoints, there is now a new timezone parameter (default to UTC)

Next actions

@Lineflyer
Copy link
Member

Will test as time permits.

Contact to oc.de could possibly be @teiling88 or he will know the right person I guess.

@okainov
Copy link
Member

okainov commented Jun 20, 2022

Api endpoint now have 2 types of rates limits:

So, for dummies, can you make some short "action required" message for geocaching service maintainers?

  • Do I need to update API endpoints URLs? Like, if you're using endpoint X -> you MUST change to Y, otherwise no action required
  • Do I need to update parameters for the query?

So far my understanding is that everything should continue to work as is and no changes should be required from us.

How should we proceed? Open an issue on each project (where? need list of bug trackers)

I'd say it might be good enough to submit bunch of emails and/or issues directly in GK github mentioning people, if folks are active and they comment/reply - you're ok. If not - you can just close those issues after X months of inactivity (because they would be still off-topic here anyway). This looks easy enough and also relatively good to track the progress

gc.su.pl

Sounds like something went wrong here =) Did you want to split it to two items?

@kumy
Copy link
Member Author

kumy commented Jun 20, 2022

So far my understanding is that everything should continue to work as is and no changes should be required from us.

Exactly, this is the plan. But would be nice if partners could ensure that everything is all right.

@bekuno
Copy link

bekuno commented Jun 20, 2022

I'm missing opencaching.ro in your list.
The contact should be @andrixnet .

@andrixnet
Copy link

@bekuno you are correct. Meaning developer contact.
Thank you for noticing.

@andrixnet
Copy link

My few bits:

  • intended minimum width: 1600? (it looks to me below this the top menu splits on 2 rows.
  • top menu should not overflow on top image/banner when it is shown as 2 rows
  • if I read the code correctly, this is based Bootstrap 3, right? I wouldn't jump to 5, but wouldn't hurt to go to 4 (unless current release schedule is too tight).
  • footer color scheme is poorly readable.
  • maybe something could be done to prevent horizontal scroll in inventory list
  • from GDPR point of view I'd host all resources (like libraries) rather then use their CDNs
  • the "move GK" icon, though colorful, is hard to understand, compared to the B&W "recently posted moves"
  • posted pictures - table contains too small cells thus yielding too little text in too large font.
  • I'm working on some OC geocache icons to be SVG. I'll see if I can make some icons for GK, they seem to be based on the OC treasure chest.
  • overall a feeling of a bit more data then the font size can accomodate in an optimal way (note: I'm using large fonts for eyesight saving, if I scale 90% or 80% it looks better, so judge accordingly)
  • desktop view too much like mobile portrait layout
  • my statpic shows a broken image (account andrixnet). Not sure if an issue.

My appologies, this was a very quick look. I will try to give much more feedback in detail, but this short summary is all I could do on short notice. Will be back. ;-)

@boly38
Copy link
Member

boly38 commented Jun 22, 2022

Hi @kumy ; amazing work you've done 👏 / I will try to give you some feedback on my free time on this wiki page

  • I write all I have in mind while surfing (that maybe not a good news :p ) / I'll skip good points (but they are numerous!)
  • if I find a "medium" Issue, I will create directly a ticket, but not for the rest (minor)
  • if you read me, for each section, you could add a KumyComment if you want: >> Ignored / createAnIssuePlease / okNiceButWontDoIt (and then I could create related minor issue if needed)

mandatory found:

@kumy
Copy link
Member Author

kumy commented Jun 22, 2022

Thanks @andrixnet for your feedback :) my comments bellow

  • intended minimum width: 1600? (it looks to me below this the top menu splits on 2 rows.
  • top menu should not overflow on top image/banner when it is shown as 2 rows

I think I'll remove the News item from the top menu

  • if I read the code correctly, this is based Bootstrap 3, right? I wouldn't jump to 5, but wouldn't hurt to go to 4 (unless current release schedule is too tight).

Yet BS3 was chosen 3 years ago.. It's a bit late now to change

  • footer color scheme is poorly readable.

ok, will check that

  • maybe something could be done to prevent horizontal scroll in inventory list

yeah, i agree. Datatable was added last week, this need to be fixed

  • from GDPR point of view I'd host all resources (like libraries) rather then use their CDNs

They are all hosted in our subdomain https://cdn.... did i missed one?

  • the "move GK" icon, though colorful, is hard to understand, compared to the B&W "recently posted moves"

I'm sorry which icons are you talking about? Could you please provide a screenshot?

  • posted pictures - table contains too small cells thus yielding too little text in too large font.

The tooltip contains the full text. That may be a fix for later...

  • I'm working on some OC geocache icons to be SVG. I'll see if I can make some icons for GK, they seem to be based on the OC treasure chest.

Yes please!

  • overall a feeling of a bit more data then the font size can accomodate in an optimal way (note: I'm using large fonts for eyesight saving, if I scale 90% or 80% it looks better, so judge accordingly)

I dont get this. Could you elaborate, a screenshot?

  • desktop view too much like mobile portrait layout

🤷

  • my statpic shows a broken image (account andrixnet). Not sure if an issue.

Yes on staging statpics are not regenerated during moring full-import. But it will be ok on prod migration. If you create/move a GK then your statpic will be updated.

@kumy
Copy link
Member Author

kumy commented Jun 22, 2022

Thanks for the feedback @boly38, comments added to the wiki page

@kumy
Copy link
Member Author

kumy commented Jun 22, 2022

Thanks for your time and help on this subject.

I know there will be lot of design issues (I'm sorry for that), but your first comments are good and very welcome.

Apart from graphic point of view, I'm really interested in real bugs or not handled edge cases. Tests on security side are also very welcome XSS, sql injection, brut force or whatever an evil guy could imagine.

@kumy
Copy link
Member Author

kumy commented Jun 22, 2022

Thanks @bekuno, the private contact list has been updated 👍

@boly38 boly38 unpinned this issue Jun 23, 2022
@boly38 boly38 pinned this issue Jun 23, 2022
@okainov
Copy link
Member

okainov commented Sep 13, 2022

Any estimate to actually perform the migration? Should be good enough to migrate :)

@kumy
Copy link
Member Author

kumy commented Oct 14, 2022

Announcement sent via #754 + via mail.

@kumy
Copy link
Member Author

kumy commented Oct 14, 2022

Any estimate to actually perform the migration? Should be good enough to migrate :)

@okainov Let's say 3 - 4 month since now -> Feb/march 2023 🤷

@kumy
Copy link
Member Author

kumy commented Nov 26, 2022

Sadly I didn't received any confirmation yet from any of the partners tests... :(

@kumy
Copy link
Member Author

kumy commented Dec 28, 2022

I think I'm quite ready to switch on GKv2, I wrote #807 with the migration steps.

I'm planning to switch on February 24, 2023 starting at ~20h pm UTC. There will be 2 hours of interruption.

@kumy
Copy link
Member Author

kumy commented Oct 4, 2023

GKv2 is out. Closing this one.

@kumy kumy closed this as completed Oct 4, 2023
@kumy kumy unpinned this issue Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants