c2corg / campbot Goto Github PK
View Code? Open in Web Editor NEWBot framework for camptocamp.org
Home Page: https://www.camptocamp.org
License: Do What The F*ck You Want To Public License
Bot framework for camptocamp.org
Home Page: https://www.camptocamp.org
License: Do What The F*ck You Want To Public License
In check_rec, if there are titles, check that there is no level 1 title (#) and at least one level 2 title (##).
The typical case to avoid is when we have only level 3 titles (###).
See remark:
https://forum.camptocamp.org/t/topoguide-verifications-automatiques/201480/1089?u=antoinem
In the check_rec procedure, add a report when a waypoint of the type "wtyp=climbing_outdoor " is created but no route associated. There should always be a route called "pedestrian access", to allow creating an outing without precising all the routes.
Tranform
[Label](https://www.camptocamp.org/doctype/docid)
[Label](https://www.camptocamp.org/doctype/docid/fr)
[Label](https://www.camptocamp.org/doctype/docid#anchor)
[Label](https://www.camptocamp.org/doctype/docid/fr#anchor)
to
[[doctype/docid|Label]]
[[doctype/docid/fr|Label]]
[[doctype/docid#anchor|Label]]
[[doctype/docid/fr#anchor|Label]]
It would be nice if the procedures check_rec and clean do not proceed the "Point Cardinaux" correction in the "Ressource externe" section.
See https://forum.camptocamp.org/t/aux-dresseurs-des-bots/255904
In fact, titles of books or external articles should only be in this section, and should not be modified.
https://forum.camptocamp.org/t/vote-champ-completude-qualite/253410
les vérifications automatiques ressortent les modifications faites sur ce champ, critères à ajuster (document mis/retiré à excellent, valeur trop différente du calcul automatique...)
^^^ root.locales[0].description :
- On continue en face pour descendre sur El Draguillo. Un peu plus bas dans la descente, deux possibilitée:
? ^
- On continue en face pour descendre sur El Draguillo. Un peu plus bas dans la descente, deux possibilitéśe:
? ^^
Save https://www.camptocamp.org/routes/1079822 : Accents manquants, Diverses fautes, y/[n] ?
I could not see any problem in the article giving the corrections.
Maybe it is related to the fact that the é was entered as _ '+e _ ?
robot unable to post on the forum since the forum update:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/bin/campbot", line 10, in
sys.exit(main_entry_point())
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/campbot/main.py", line 66, in main_entry_point
main(docopt(doc))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/campbot/main.py", line 75, in main
ask_before_saving=not args["--batch"])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/campbot/checkers.py", line 198, in check_recent_changes
bot.forum.post_message("\n".join(messages), check_message_url)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/campbot/core.py", line 310, in post_message
self.post("/posts", {"topic_id": topic_id, "raw": message})
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/campbot/core.py", line 80, in post
res.raise_for_status()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://forum.camptocamp.org/posts
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
In the reports, when done over more than 1 day, it would be nice to have the date and not only the time.
See https://forum.camptocamp.org/t/topoguide-verifications-automatiques/201480/1973?u=antoinem
API entry point is missing for maps on API
The idea is to make a change of grading visible.
If a grading did exist and the value change, we should a report so that user can discuss the change if they disagree.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.