Comments (14)
It maybe add parameter optional "recom" for recommendation cache and next param
"rate" to rate cache like during use log.php and some caches need password to
put log entry and we are need param "password"
Original comment by sp2ong
on 30 Aug 2011 at 5:45
from okapi.
I have test cache
http://opencaching.pl/viewcache.php?wp=OP28F9
we can use this cache to test submit logs. Password for log entry "Found" is
"haslo123"
Original comment by sp2ong
on 30 Aug 2011 at 5:50
from okapi.
It mabye better change name of param "when" to "date" ?
Original comment by sp2ong
on 30 Aug 2011 at 5:52
from okapi.
See issue 66, issue 67, issue 68.
Original comment by rygielski
on 30 Aug 2011 at 6:02
from okapi.
In r93 I can see line 118:
"throw new CannotPublishException("Your comment must have at least 5
characters."."
Why? On opencaching.pl site, You can "write" an *empty* log (found it/didn't
found it) or comment with 1 character.
Original comment by kkarczmarczyk
on 30 Aug 2011 at 8:00
from okapi.
You're right. I was quite sure you couldn't. Will fix this later.
Original comment by rygielski
on 30 Aug 2011 at 8:17
from okapi.
Easy - It's low priority, but, You now... Many people say only "TFTC" in
comment, or something like this ;)
Original comment by kkarczmarczyk
on 30 Aug 2011 at 8:28
from okapi.
Related issue 114: Add langpref parameter for logs/submit.
Original comment by rygielski
on 15 May 2012 at 9:27
from okapi.
It would be great to get a structured information about what went wrong, and
not only a localized message. For example, if the password is wrong, an
application could let the user type a new password in a dedicated interface.
Original comment by [email protected]
on 13 Aug 2014 at 10:47
from okapi.
Good idea! Please submit it as a new feature request. Perhaps someone will
implement it soon.
Original comment by rygielski
on 13 Aug 2014 at 11:48
from okapi.
A possibility to add a photo with title and description would be nice.
Original comment by [email protected]
on 22 Jun 2015 at 4:52
from okapi.
Some more explanation on the handling of the needs_maintenance
logs/submit option:
OKAPI follows the straightforward paradigm that one log entry can completely describe one cache search, e.g. including the information "I did find the cache" and "the cache needs maintenance". However, some OC installations (the OCPL-based ones) have copied the GC paradigm of assigning a separate log type to the information "needs maintenance" - so the user in this example case must post two logs e.g. on Opencaching.pl.
As OKAPI consequently does not include the option to submit dedicated "needs-maintenance"-type logs, it needs to translate the cases mentioned above from one to two logs. E.g. the application submits a "Found it" + "needs maintenance" log entry, and OKAPI will split it up into a "found it" and a "needs maintenance" logs on OCPL sites. The supplied comment text will end up in one of these two logs, while the other will have an empty text. Note that this is not the case for logs of type 'Comment', which are stored as just one NM log.
On the other hand, the (upcoming) OCDE implementation follows the same paradigm as OKAPI. So any log submitted via OKAPI will be published as one log; there is no translation.
from okapi.
Hello, are there any constraints on log text length (comment field) imposed by this method?
I mean min/max length of the text (maybe depending on log type?)
Thanks!
from okapi.
Logs of type "Comment" must not be empty, so the minimum size is 1 character. Any other log type's comment - e.g. "Found" - may be empty.
The maximum length is dependent on the OC site's database configuration. All OC sites currently accept at least 16 MB; longer comments may be truncated.
from okapi.
Related Issues (20)
- Add new cache capabilities method(s) HOT 2
- Differenent cache capabilities at different OCPL sites HOT 2
- Improve admin-errormail antispam mode for Facade calls
- OC NL table okapi_diagnostics not found HOT 3
- Make download link(s) vissible on OKAPI search result page HOT 2
- OAuth2 protocol support HOT 1
- different use of services/apisrv/installation value registration_url HOT 1
- ACODE duplicates HOT 13
- Cache attribute in native language returned by OKAPI HOT 5
- OKAPI (update) cannot handle CREATE TABLE when there is a same table. HOT 2
- OCPL: Cache types HOT 6
- There is no way to remove blocked geocache from watched geocaches
- Accessing locked cache
- Upload field note file via OKAPI HOT 7
- PHP 7.4+ and 8.0 support HOT 3
- Make authorization page responsive HOT 2
- Reactivation rules automatically added to the end of the geocache description
- OKAPI Method Error - MainMapAjax HOT 3
- OCPL fulldump generation issue HOT 2
- imagegd2(): GD2 image support has been disabled HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okapi.