CHANGED: does no more use the external touch command to create a new

file, use perls open() instead.
CHANGED:        excluded some of the help texts from the usage message and the
                interactive help command to a manpage.
ADDED:          new commandline flag "--encrypt" which one can use to encrypt
                the mysql database password. This will be decrypted before
                connecting to the db. There is also a new config file option
                "encrypt_passwd" which indicates an encrypted db-password.
ADDED:          another new config option "ShortCd", which can be set to "yes"
                or 1 and if set, then a command like "cd 13" would jump
                directly to the topic of the note with the number 13.
ADDED:          now you can at any time cd back to the "root" of the
                topic-structure using the command "cd /".
CHANGED:        mysql.pm does now only do a table-lock on single write
                accesses, no more on the whole session. This allows one to
                access the same db twice or more.
FIXED:          Changed README and Changelog for readability on 80 by 25
                displays. And changed indentation of the note script itself.
ADDED:          NOTEDB.pm - a generic module, which holds some methods, which
                are used by binary.pm, mysql.pm and dbm.pm.
ADDED:          NOTEDB.pm generate_search(), which allows one to
                use AND, OR and various combinations of them using ( and ).
ADDED:          a search does now return the 2nd line of a note if a matching
                note's first line is a topic.
CHANGED:        use "unshift" instead of push to add $libpath to @INC.
ADDED:          a new feature, Caching of notes. supported by binary.pm and
                mysql.pm. To turn it on, one need to set "Cache" in the config
                to a true value.
This commit is contained in:
TLINDEN
2012-02-10 20:22:49 +01:00
parent 788902c69d
commit 9cf564ffe4
67 changed files with 6310 additions and 1604 deletions

45
0x49/contents/upgrade Normal file
View File

@@ -0,0 +1,45 @@
<h2>upgrade from previous version of note to 1.0.x</h2>
<p>
In any case: BACKUP your existing note database!!!!!!!
The format has not changed, but some default values
(see the new config file-sample). Use this command
to save your note database with your *old* version
of note:<br>
"note -D"<br>
This works with both the mysql and the binary version.
<p>
You need to reedit your configfile. Please refer to the
sample config in config/noterc.
<p>
<hr>
<p>
This version of note has now encryption support build in.
If you decide to use it, you need to re-initialize your
note database. That's why, because your current database
is unencrypted and *if* you want to secure your data, you
need to secure everything. That means, your existing data
must be encrypted before you can use this new capability!
<p>
Follow this steps:
<ul>
<li> backup existing db:
<br> $ note -D
<li> backup the db:
<br> $ cp .notedb .notedb.save
or (for mysql users!):
<br> $ cp -r /usr/local/mysql/data/notedb ~/notedb.mysql.save
<li> go into note and delete all existing notes:
<br> $ note -d 1-20 (or however)
<li> now upgrade your note installation:
<br> $ perl Makefile.PL; make install
<li> re-configure note. Turn $USE_CRYPT on by setting it
to "YES".
<li> re-initialize your database:
<br> $ note -I note.dump.2323 (or whatever)<br>
note will prompt you for a passphrase. It will be used
by Crypt::CBC for encrypting your data.
</ul>
From now on, your data is encrypted. You will need the passphrase
you set above for decrypting it! So - don't forget it!