Giter Site home page Giter Site logo

campbot's People

Contributors

antoinemarnat avatar brunobesson avatar cbeauchesne avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

campbot's Issues

Internal links corrector

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]]

[Bug] Problem with accents

^^^ 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 _ ?

check_rec and forum update

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

[Check_rec] Check grading changes

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.

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.