opencaching / opencaching-pl

The source code of Opencaching.PL (and some other domains)
https://opencaching.pl/
GNU General Public License v3.0
22 stars 33 forks source link

TODO list for OCUS #2013

Open harrieklomp opened 5 years ago

harrieklomp commented 5 years ago

To better keep track of all that is needed to migrate old OCUS to -current opencaching-pl code we suggest to all to add here what has to be done and to be solved to make it to a success. If you like to add or solve something, just add it and add your name to it :-)

Some more technical details are also specified under Projects as https://github.com/opencaching/opencaching-pl/projects/5 The Project keeps track of individual issues specifically related to this "project", that is OCNA migration.

However we keep this issue for all those unfamiliar with Projects functionality in GitHub and also for further multiple details that might fit a single issue anyway.

If there are more such differences, not only attribute name (which can be handled easily), then another solution must be designed. The only one I can think of is to maintain 2 sets english strings (en-us and en-gb).

andrixnet commented 5 years ago

Almost ready for production release of new site, albeit with some known issues still to work on.

kojoty commented 5 years ago

@andrixnet where is the complete list of issue (is this list above complete and updated?) Thanks @andrixnet for all your work in this mater :)

andrixnet commented 5 years ago

The list here contains many management and administrative tasks related to the migration process, in addition to the code development tasks. Most of the actual development issues are listed here: https://github.com/opencaching/opencaching-pl/projects/5 and here https://github.com/opencaching/opencaching-pl/milestone/1 and here https://github.com/opencaching/opencaching-pl/labels/OCNA%20migration (I think they partly overlap, partly complete each other.)

Main site is up and operational at http://www.opencaching.us (Aruba small VPS) Still TODO: set up SSL certificates and configuration. Email subsystem up and running. Secondary sites up and running.

Several configuration and user roles/rights still need to be configured. Some small details I managed already to sovlew directly. I am in constant contact with our american friends.

andrixnet commented 5 years ago

@kojoty when you have the time, please first take a look at https://github.com/opencaching/opencaching-pl/pull/2069

This paves the way for the first time unified attributes between OCPL sites (and first step to move attribute definitions to code). Also the proper updates have been prepared for OKAPI and a corresponding pull request is pending there.

Attributes are now well documented here https://wiki.opencaching.eu/index.php?title=Cache_attributes I am also in contact with c:geo developers to support the complete OC attribute set.

Next step after this PR will be to add/remove some attribs at NL, RO, UK, US according to individual requests from each OC site team.

Once completed, all OCPL based sites will have a consistent and well document set of attributes.

Thank you for your support.

andrixnet commented 5 years ago

Updated OCNA database contents regarding caches and cache types. Using newly designed IDs, documented (work in progress) here.

ID 8 (moving) -> ID 9 ID 9 (podcache) -> ID 1 other + MP3 attribute ID 10 (guestbook) -> ID 23 ID 11 (usb) -> ID 1 other + USB attribute ID 12 (bitcache) -> ID 24 ID 13 (letterbox) -> ID 1 + letterbox attribute.

Please note that I've used the new attribute ID assignments as documented here which are work in progress, to be deployed soon. Until then, there will be some inconsistency due to missing or wrong IDs in the database.

This is a preparation phase part of OCNA migration. The site will continue to exhibit inconsistent behaviour regarding these cache types, which will be solved when work on #2024 and #860 are finalized.

All caches turned into "other type" + attribute will need to be revised by their owners (after cache type and attribute work is complete) to assign them the correct type if different from "other".

Caches affected by these inconsistencies (at this time): ~ 400 caches total (about 260 being bitcaches).

paulshannon commented 3 years ago

@andrixnet I'd like to help with the OCNA instance specifically. Is there a migration still in the works to bring it up to date?

Feel free to contact by email if that is easier for you. Thanks! paul at paulshannon.ca

andrixnet commented 3 years ago

Interim solution for OCNA cache types. Upon agreement with North America OC-Team, caches of still undefined/unimplemented types to be redefined as type=unknown and with an attribute added.

Note: these attributes are being added to the database and corresponding images created and deployed to make them functional. No additional implementation is done (like specifics for GPX export, etc) for them.

Caches of unsupported types become "UNKNOWN" and receive an additional attribute.

andrixnet commented 3 years ago

Example: OU04C5 https://www.opencaching.us/viewcache.php?wp=OU04C5 Was type=guestbook. New type=other New +++attrib guestbook