Merge accidental branch.
BUGFIX: Work around stricter freenet metadata mime type parsing. Details: The mime time validation was made stricter sometime shortly before freenet rev 1423. That broke the salting hacks used to insert redundant splitfile metadata. The work around was to use '_' instead of ';' as a separator.
slightly more consistent codestyle.
added mime-type bug.
Fail gracefully on reinserting if the generated CHK does not match the original CHK (reason could be a changed hg version).
hg 2.3+ compat
first tries at fixing the repo-API-compatibility problem. Nothing functional, yet.
now push to USK@/repo actually creates the repo - and the info advises to use clone for creating repos with existing keys.
removed . at the end of an info which ends with a key.
can now push to USK@/repo to create that repo. Also improved help output.
merge realtime flag and config changes.
Updated CHK bootstrap URI.
Doc updates.
Bump request timeout to 20 minutes.
Use RealTimeFlag.
notes on potential name rewriting when the key is given. Left commented out, because it might make it impossible to update old repos when they drop out. Added a TODO to do this cleanly in the backend.
Make it possible to use the short form USK@/reponame to upload to a key in the form USK@<key>/reponame.R1/0 - avoids the very easy to make error of forgetting the .R1.
fix hg-git interaction error.
fix hg-git interaction error.
merged freenet scheme branch.
Always creating a new private key for a repo cloned to freenet. If you want to use your default private key instead, call fn-create directly.
FIX: broke fn-genkey
now pushing and pulling works with keys in the .hg/hgrc (prefixed with freenet://)
refactored genkey to allow for key generation outside of the genkey command.
Implemented push, pull and clone from and to freenet:USK@ and USK@ uris.
when generating a key, the name should be NAME.R1.
fix imports
merge add missing files and refactor.
started implementing a freenet scheme. Goal: hg push freenet:USK@/repo
started implementing a freenet scheme. Goal: hg push freenet:USK@/repo
inconsistent doc to argument (minor)
comment typo
comment tyo
comment tyo
paramter adaptions: poll, cancel_time, concurent - sleep 1s between polling - cancel to 2h (needed for big repos) - 8 concurrent requests (just a test)
typo in docstring
fix typo in docstring
Fix for WinXP64, Mercurial Distributed SCM (version 1.6.4) from TheSeeker
fn-genkey output patch from ZwiSter@BZJeeQniF1r-XOkk-3E6MxIg10w62yr1GgWkxF5XKzA, plus some small text only changes.
run_wikibot.py fixes.
Patch from SomeDude to support zebra striped tables and <br> linebreaks. Patch CHK from FMS (applied against d8803001a744): CHK@dDHkhSymTZrE4jofpz~CIbFE1-fkHY2cdrVJk1vDTEQ,JNywg6uGffYiWIqGDbBLD02QBfUH7jIycMtux0aCuWQ,AAIC--8/tablestripe%2Epatch I modified <br> handling to only substitute '<br />' for the exact string '<br>' in wikitext.
Allow images to be disabled on a per page basis.
Fixed broken line wrapping in RemoteChanges macro.
Whitespace only cleanup.
Patch from SomeDude to improve tables (vertical alignment, briefer colspan setting). Patch CHK from FMS (applied against 0ad7286d96a8): CHK@M0TFGlFE9hSnf-QFuYn32cLy5UVgircz4YHRjlpRnSY,tq5-4oK-yxkFdg4wUfV-pjCcYWdlsq8e7lCR~PklXNg,AAIC--8/table%2Epatch Note: Previous patch was applied against b561dc75c682 NOT 0ad7286d96a8.
Table patch from SomeDude. Features: Patch from SomeDude to do MoinMoin style table formatting. Patch CHK from FMS (applied against 0ad7286d96a8): CHK@TCAI-QHXuyBYOJkqBFIPrxJGMPI~6GB7V8aWBgK~PfQ,831jq0VBNXV-3q6uSS0VtXlqzAj2HD1FdZNS-r7CWWU,AAIC--8/table.patch
Modified fn-setup to check FMS, added fn-setupfms command. Features: Modified fn-setup to check the FMS configuration and update the config file. --fmshost, --fmsport, --fmsid set the host, port and fms id respectively. Added fn-setupfms command to test and update the FMS configuration.
Added anchor support to wikitext, added FreenetUri wikitext macro. Features: Patch from tesselation+ to add support for anchors and anchor links to wikitext. @@@text0|label0@@@ makes an anchor with display text text0 and label label0. @@@@text0|label0@@@@ makes a link with display text text0 to the anchor with label label0 You can style anchor text with A.namedanchor in piki.css. Added FreesiteUri wikitext macro. [[FreesiteUri]] makes an "aggressive" (i.e. negative) link to the freesite uri specified in info.txt. Fixes: Fix missing script name in query urls.
Support for Freenet bookmarks and multiple bugfixes. Features: Added support for Freenet bookmarks via the [[BookMark]] wikitext macro. Allow users to view source of read only pages in piki.py. Fixes: Changed wikibot to force commit of uncommitted files before inserting freesite. Changed fcpclient.dir_datasource() to sort file_infos. The above 2 changes allow freesite versions to be cleanly re-inserted from the repo. Cleaned up page fork creation to prevent spurious forks. Changed wikibot to keep track of .zip CHK's and skip ones that have already been applied. Changed submission.py to use utf8_sha instead of new_sha in a few places. Added somewhat better exception and stdout messages from FMSStub.
Fix bug in submission introduced when rebasing.
Implemented pseudo-anonymous submission via wikibot.
Added hg-archive command. It allows you to create, push to and pull from non-versioned (i.e non-Mercurial) incremental file archives in Freenet. See: hg help fn-archive for minimal help. BE CAREFUL when you run --pull, i.e. either of these: hg fn-archive hg fn-archive --pull It will DELETE any files/directories that are not stored in the archive in Freenet.
A module to keep a file archive in a bounded number of Write Once Read Many blocks.
Support for activelink.png images.
First pass at implementation of fn-fmsnotify --submit This bundles all locally committed changes that aren't in the repo in Freenet and inserts the bundle on a CHK. Then it sends a machine readable patch notification to the fmsnotify_group set in the .infocalypse / infocalypse.ini file.
Changed fn-info to read repo head list from Freenet an print it in addition to existing info. Added helper functions for fms patch bundle submission.
Don't write debug log file to /tmp! Fixed syntax error in servepiki.py.
Fixed socket server shutdown bug.
Disabled edit log.
Get rid of final hr in freenet footer.
Added directory line in footer when wiki is running live.
Removed TipsForBeginners from the default wikitext.
Better footers in dumped html.
Simplified creation of wiki_root dir by fn-wiki create config. Added better default text.
Doh. Finally got it.
Format error.
small edit.
Small wiki based on piki. See: attribution.txt
Encapsulated path hacks.
Backed out some path hacks.
Added fn-putsite --wiki to insert freesites from wikis.
First pass at fn-wiki.
Bugfix: braino that was breaking fn-fmsread -v
pylint fix.
A couple more fixes similar to adebd3c115a6.
remove unused import
doc updates
Workaround for hg-git bug. The hg-git extension breaks pulling from bundle files somehow. In pull_bundle I backed out some old (for 1.0.2?) code that was doing an hg pull of the temp bundle files and changed it to do an hg unbundle instead.
Bugfix: Fixed OBO in assertion causing fn-push to fail.
Index updates.
Dev notes. Updates some freesite indices.
Html fix.
howto updates.
Bugfix: Treating graph requests as edge requests.
Bugfix: Gracefully handle fn-pull when up to date but heads don't fit in top key.
Bugfix: Don't wait for second graph CHK to start fetching first bundle.
LICENSE.txt for Python files.
Fix bug that caused index not to be updated for hg fn-pull --hash repo_hash.
USK index updates.
Fix HTML bug.
Updated bootstap CHK. Added info on updating.
Updated doc.
Pylint fixes.
First pass support for fn-pull'ing with a usk hash value and command line trust map editing. e.g. hg fn-pull --hash 2220b02cf7ee hg fn-fmsread --trust --fmsid djk@isFiaD04zgAgnrEC5XJt1i4IE7AkNPqhBG5bONi6Yks --hash 2220b02cf7ee hg fn-fmsread --untrust --fmsid djk@isFiaD04zgAgnrEC5XJt1i4IE7AkNPqhBG5bONi6Yks --hash 2220b02cf7ee Still needs pylint cleanup and doc updates.
Comment so I don't forget to fix a bug.
Add collaborate.R1 repo.
Added local copy of ConfigParser.py to make berkwood Windows 1.3 binary Mercurial distro work.
Add a named anchor for the bootstrap CHK.
Update HOWTO with a new bootstrap CHK.