GithubHelp home page GithubHelp logo

geokrety / geokrety-website Goto Github PK

View Code? Open in Web Editor NEW
12.0 6.0 18.0 91.98 MB

Open source item tracking for all caching platforms - This is the actual code beside geokrety.org

Home Page: https://geokrety.org

License: MIT License

PHP 25.23% JavaScript 2.04% Shell 0.74% CSS 0.02% HTML 37.76% Makefile 0.34% Dockerfile 0.02% PLSQL 0.84% RobotFramework 12.52% Python 0.08% Smarty 9.70% PLpgSQL 9.99% SCSS 0.73%
hacktoberfest

geokrety-website's Introduction

Integration tests on Robot Framework Crowdin FOSSA Status

GeoKrety.org

GeoKrety.org is a free online service for object tracking in GPS games like geocaching or opencaching. You can track small items, books, coins, pets, or humans with us.

This repository contains the source code running behind GeoKrety.org. If you encounter any security issues, please contact us directly at [email protected].

Getting Started

To get started with the GeoKrety.org source code, please refer to the following files:

Installation

For detailed installation instructions, please check out INSTALL.md.

License

This project is licensed under the MIT License.

Contact

If you have any questions or need to report security issues, please contact us directly at geokrety gmail com.

Credits

powered by f3Powered by Fat-Free Framework

Contributing

We welcome contributions from the community of individuals of all expertise levels. If you'd like to contribute to GeoKrety.org, please review our CONTRIBUTING.md for guidelines on how to get started.

Contributors

Happy coding!

geokrety-website's People

Contributors

boly38 avatar claire-lovisa avatar dependabot[bot] avatar dhavisco avatar edykim avatar fossabot avatar geokrety-bot avatar harrieklomp avatar kumy avatar okainov avatar sibelius84 avatar t-var-s avatar trouyer avatar xcodinas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

geokrety-website's Issues

Theme refresh

[Imported from bitbuket#49]

Code now include bootstrap, but current layout has not been adapted to follow bootstrap constraints. Templates need to be adapted to use the right css classes. Theme should be responsible.

Edit:
WIP in branch feature/new-theme

Preview this branch: https://new-theme.staging.geokrety.org/

kontakt.php to refresh

PR #130 ==> preview here

  • link to english / french google forum
  • Twitter official account
  • irc channel
  • support email: fix image
  • update last help section: add FB group (French+Dutch one) and G+ Geokrety community
  • add left menu 'contact-us'

(out of this issue scope)

  • note about FB: create international FB Group
  • improve CONTRIBUTING.md link and in this file add a section "Notes for users" : mini how-to check/search/report issue/improvement

No way to leave a race

[Imported from bitbuket#43]

Currently, it is impossible to leave a race, even if not started. Does it make sense to allow cancellation from a race?

ErrorException: Allowed memory size: Full export of database

Calling an "export type 1" for long duration break on over memory consumption.

https://geokrety.org/export.php?modifiedsince=20000510032102&kocham_kaczynskiego=********

https://sentry.kumy.org/geokrety/geokrety-legacy/issues/547/

ErrorException: Allowed memory size of 134217728 bytes exhausted (tried to allocate 123015360 bytes)
  File "db.php", line 191, in handleFatalError
    $result = $this->mysqli->query($sql);
  File "templates/sentry-php-master/lib/Raven/ErrorHandler.php", line 0
    Raven_ErrorHandler->handleFatalError

race.php: cant join race

I would like to join a race I just created (?raceid=13).

  • txt length is limited to 6 chars, but now GK ref number is 7 length
  • if I enforce 7 chars (by using developpers tools), then backend (race_add) refuse my code GK10936 "Ce n'est pas votre GeoKret"

Add a donation link

Following mail conversation.

In order to collect eventual donations from our users, we have to:

  • Create a paypal account
  • Add a link on the website
  • Post a news

Update go2geo.php

go2geo could use a update for nodes because it is outdated. Most OC sites have HTTPS now. Below is part of go2geo.php and edit this to new suggestion. I do not know if there are other files that should be changed for this.

Field waypoint stay greyed when using "use geolocation"

From #18

On the ruchy.php page:

"3. Nouvel emplacement issue"

Step1) input waypoint
Step2) click on "Utiliser la géolocalisation internet"
Then we can revert position and go back to "Waypoint" use ?

(was already the case in previous version)

Have a second link to fill the form

From #18

On the ruchy.php page:

"3. Nouvel emplacement" improvement

use 'name of cache' 'Verifier' button
Results are showed on the right panel
would be very great to have 2 links
1 link to the cache (we have already)
1 link with cache CODE to fill the form with one click

PL help page : 404

While switching to PL language, in help menu "Pomoc" gives 404.
(expecting "help_generate.php?help=pl" link instead)

Donate paypal in French

Perhaps it is better when connect to paypal to use English or browser language. Now i see French :-(

waypoints are not working

some of the waypoints are not working, e.g.
OP8RRA, OP8R8Q, OP8RRE, OP8R8S, OP8R8R, OP8R8N, OP8R8M
... e.g. OP8S4F, OP8S4G, OP8S4H etc...
:(

ErrorException: sprintf(): Too few arguments

https://sentry.kumy.org/geokrety/geokrety-legacy/issues/605/

ErrorException: sprintf(): Too few arguments
  File "mypage.php", line 252, in handleError
    $statystyki_obce = sprintf(_('%s has moved <b>%s</b> GeoKrets on a total distance of <b>%s</b> km.'), $user, $geokretow_w_puli, $droga_geokretow_obcych);
  File "templates/sentry-php-master/lib/Raven/ErrorHandler.php", line 0, in sprintf
    Raven_ErrorHandler->handleError
  File "mypage.php", line 252
    $statystyki_obce = sprintf(_('%s has moved <b>%s</b> GeoKrets on a total distance of <b>%s</b> km.'), $user, $geokretow_w_puli, $droga_geokretow_obcych);

Edit home position is broken

The map is broken with message: Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details.

The console shows:

Google Maps API error: InvalidKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error js:38:430
Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key util.js:228:12
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required util.js:228:12

Security bypass in export2.php

if (($jak_stare_dane > $limit_czasu_s) and ($g_kocham_kaczynskiego != $kocham_kaczynskiego) and ($od > 0) and (count($_GET) == 1)) { // jeśli modifiedsince jest jedynym argumentem...

Security can easily be bypassed if there is more than one query parameter.

Feature Request - Rate limit `export*.php`

We started to talk about that in #10 and #11.

The export*.php are quite time consuming. We should deploy some kind of rate limiting on those endpoints.

It seems possible to achieve this using NGinx

Some partners should be able to do lot of queries to synchronize their database. This include at least opencaching* sites, geokretymap.org.

Untranslated string

From #18

On the ruchy.php page:

"4. Données supplémentaires" issue

commentaire "max length" (en/fr??)

Waypoint number result on logpage

When search by cache name sometimes there are more caches with same or partly same search names in it. Loggers cannot select the correct waypoint to addl in left field without first go (via link) to the cachepage.

Perhaps add waypoint to result, so user can copy/past to waypoint field. Or by klick on suggested cache the correct waypoint goes to waypoint field.

selectie_159

Edit username

Sometimes people do ask how to change their username. On most sites you can change your username. Perhaps it can be made that users can change their username on the GK site also.

contributors quickstart howto with docker-compose

provide a quick start for website contributor (readme or wiki).

Branch: feature/docker-compose

Scope of this issue:

  • separate website code from install files
    • check non-regression for travis_ci
    • check non-regression for integ/prod installation (kumy?)
    • travis translation dedicated steps neeed to continue to work
  • ( readme/installation.md ) howto start local version of the website (ie. to test improvement or bugfix)
    • check user subscribe is working locally (pending boly38)
    • improve markdown content
  • ( readme/4programmers.md ) team good practice
    • add tips about commit format

improvement idea (not required as acceptance criteria as it could be done later)

  • pull request requirements
  • some word about friend projects
  • add installation.md howto section when using linux and docker directly
  • (compose) test the way to mount docker volume (between window host and docker-machine) doc

Allow some code/markup in geokret description content

As end-user I would like to improve GeoKret description field (ex image, colors, link+label...: simplified html) like the geocaching cache description.

Not sure about:

  • postpone to future GK portal ?
  • is this improvement really needed ? (to give your opinion about this improvement add +1/-1 icon to this text)

New "logging form" - bugs

In Google English ;)
Big buttons are probably a nod to phones, it does not look very nice on the computer.

  1. Unfortunately, the login of moles by the cache name does not work on the new site. Ie. searches the box but the OP number is not completed :(
  2. if I am not logged in appears (less visible than before, it should remain red) message in English "Although it is possible ...."
  3. in general many messages (previously in Polish) are now in English
  4. "Date of operation": on the right there is a kind of button that seems to open the calendar, it does not happen.
  5. "GeoKreta Identification" - there used to be a name, now only TC
    Probably it was supposed to be good and functionally worse than it was :(

In Polish:
Duże przyciski chyba są ukłonem w stronę telefonów, na komputerze nie wygląda to zbyt ładnie.

  1. Niestety na nowej stronie nie działa logowanie kretów według nazwy kesza. Tzn. wyszukuje skrzynkę ale nie uzupełnia się numer OP :(
  2. jeśli jestem niezalogowany pojawia się (mniej widoczny niż poprzednio, powinien pozostać czerwony) komunikat w j.angielskim "Although it is possible...."
  3. w ogóle wiele komunikatów (wcześniej po polsku) teraz jest w angielskim
  4. "Data operacji": po prawej jest taki jakby przycisk, który wydaje się powinien otwierać kalendarz, tak się nie dzieje.
  5. "Identyfikacja GeoKreta" - kiedyś była nazwa, teraz tylko TC
    Pewnie miało być dobrze a wyszło funkcjonalnie gorzej niż było :(

JpGraphExceptionL: Either X or Y data arrays contains non-numeric values. Check that the data is really specified as...

https://sentry.kumy.org/geokrety/geokrety-legacy/issues/554/

JpGraphExceptionL: Either X or Y data arrays contains non-numeric values. Check that the data is really specified as numeric data and not as strings. It is an error to specify data for example as '-2345.2' (using quotes).
  File "jpgraph-3.5.0b1/src/jpgraph_errhandler.inc.php", line 113, in RaiseL
    throw new JpGraphExceptionL($errnbr,$a1,$a2,$a3,$a4,$a5);
  File "jpgraph-3.5.0b1/src/jpgraph.php", line 5408, in __construct
    JpGraphError::RaiseL(25070);
  File "jpgraph-3.5.0b1/src/jpgraph_line.php", line 39, in LinePlot
    parent::__construct($datay,$datax);
  File "tabela_statystyki_rysuj.php", line 46, in wykresuj
    $lineplot =new LinePlot($y, $x);
  File "tabela_statystyki_rysuj.php", line 79
    wykresuj("all_gk_", $data, $gk_, "Date", "Geokretów total", "");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.