Commit Graph

70 Commits

Author SHA1 Message Date
Thomas von Dein
0df093a613 fixed installer, on newer perls NOTEDB/* is being ignored 2018-11-02 16:14:09 +01:00
Thomas von Dein
ad6cb95614 fixed installer, on newer perls NOTEDB/* is being ignored 2018-11-02 16:11:11 +01:00
Thomas von Dein
2e4e268f58 fixed help indent 2017-09-25 09:46:12 +02:00
Thomas von Dein
aaae9a8ae0 cleaned: tabs2spc, re-indent correctly etc 2017-09-25 09:41:23 +02:00
Thomas von Dein
ca983f02c1 fixed rt.cpan.org#122852 and rt.cpan.org#122825 2017-09-25 09:27:43 +02:00
Thomas von Dein
30efd79d63 bump 2017-08-17 13:40:31 +02:00
Thomas von Dein
f36091f19e fix 2017-08-17 13:39:38 +02:00
Thomas von Dein
32795f8604 bump version 2017-08-16 13:56:51 +02:00
Thomas von Dein
82358b608b rm bashism, patches https://bugs.debian.org/772284 2017-08-16 12:39:42 +02:00
git@daemon.de
ad4ba756f3 fix #1 2016-07-29 07:40:02 +02:00
TLINDEN
d416fe7667 fixed invalid regexp 2016-07-03 12:58:19 +02:00
git@daemon.de
f3983b0b7c bump version, add password retry 5 tries 2015-06-03 09:31:03 +02:00
git@daemon.de
e3b179441f bump 2015-06-02 09:50:44 +02:00
git@daemon.de
f30ea07b7e added top field, which was missing, added manual install to readme 2015-05-20 08:47:59 +02:00
git@daemon.de
291401cae3 del 2015-02-24 10:35:53 +01:00
git@daemon.de
fe6b076da0 changed ::pwsafe3 note id generation 2015-02-24 10:35:20 +01:00
git@daemon.de
64e7948b55 fixed changing note id bug 2015-02-09 11:29:05 +01:00
git@daemon.de
3e971a469c revert filechanged() fix 2014-09-19 13:40:39 +02:00
git@daemon.de
133c7c2deb 1.3.18 2013-07-08 15:38:06 +02:00
git@daemon.de
f40e4c97e7 added lots of unittests and while I was at it, fixed a couple of bugs in the
backend modules.
2013-07-08 15:36:04 +02:00
git@daemon.de
e4cf9ff015 minor fixes 2013-07-03 11:38:56 +02:00
git@daemon.de
37d0980cea => 1.3.16 2013-06-19 12:13:00 +02:00
git@daemon.de
609a829a64 fixed checking of encrypted notes when encryption is turned off 2013-06-19 11:52:26 +02:00
git@daemon.de
469b6901e0 fixed bug in NOTEDB::pwsafe3 backend, it converted the date
of a note entry into the wrong formatted timestamp.
2013-06-17 12:24:56 +02:00
git@daemon.de
bc776e88bf removed locking in NOTEDB::pwsafe3::_retrieve() which was senseless. 2012-11-28 15:11:52 +01:00
TLINDEN
afe46a308a added 'motd' and changed prompt to show readonly status, if any 2012-11-14 11:04:35 +01:00
TLINDEN
fcb9cb4e7d version++ 2012-07-19 09:54:08 +02:00
TLINDEN
c124859f97 fixed major bug in NOTEDB::general 2012-07-19 09:51:39 +02:00
TLINDEN
5e99b88562 initial import to github done. 2012-02-10 20:41:09 +01:00
TLINDEN
b94997a1f5 FIXED: NOTEDB::pwsafe3 contained the old python stuff in delete code. 2012-02-10 20:39:00 +01:00
TLINDEN
77c359ffd7 FIXED: the YAML export/import change were missing too. grml...
FIXED:          NOTEDB::general backend fixed loading Config::General
2012-02-10 20:38:46 +01:00
TLINDEN
060def0814 FIXED: bin/note were missing. for whatever reason, I don't know. 2012-02-10 20:38:32 +01:00
TLINDEN
f0a972af06 ADDED: New backend added: NOTEDB::pwsafe3, which adds support to store
notes in a Password Safe v3 database.
FIXED:          -d didn't work, because of a typo in mode assignment.
2012-02-10 20:38:15 +01:00
TLINDEN
a5188ae5da ADDED: Added test cases for "make test"
ADDED:          Added test for optional and required perl modules in
                Makefile.PL
FIXED:          NOTEDB::dumper version string were wrong, therefore
                cpan didn't index is properly.
2012-02-10 20:35:44 +01:00
TLINDEN
08cb2a0962 FIXED: Applied patch by Elmar Loos which fixes misbehavior for
-t and -T (identical output)
FIXED:          Fixed import bug which omitted the timestamp of the last
                entry, supmitted by Bill Barnard.
FIXED:          Fixed another import "bug" (or design flaw) which caused
                imported notes to get new numbering after importing them.
                Submitted by Bill Barnard.
CHANGED:        Until 1.3.4 missing Crypt:: modules lead to unencrypted
                fallback by note. From 1.3.5 on this will no more happen,
                it croaks now until you install the desired modules
                or modify your configuration to use no encryption.
CHANGED:        default config and default settings without config have
                been changed. They are now simpler, no colours or anything
                so that it works better out of the box in any terminal
                window or shell (e.g. on dark ones or the like).
ADDED:          New interactive mode command: "c". It is now possible to
                change note's behavior at runtime. No database related
                parameters can be modified.
2012-02-10 20:34:04 +01:00
TLINDEN
80b38b5f6f - 2012-02-10 20:32:35 +01:00
TLINDEN
7b47e6bb10 ADDED: new configfile parameter PrintLines (default: YES), which
controls wether listings are separated by horizontal lines.
2012-02-10 20:32:00 +01:00
TLINDEN
8779f24249 - 2012-02-10 20:31:48 +01:00
TLINDEN
b2b5cea5ec FIXED: most config variables not related to drivers had
invalid sentence in note, so the new ones of the new config
                were ignored.
FIXED:          added version to NOTEDB::text.
FIXED:          fixed handling of NOTEDB::crypt_supported, now encryption
                works again.
ADDED:          NOTEDB::text now supports internal caching too.
CHANGED:        lock() sets the umask internally to 022, so that other
                users are able to read the lockfile.
2012-02-10 20:31:13 +01:00
TLINDEN
773584e400 - 2012-02-10 20:30:38 +01:00
TLINDEN
23c301be2a FIXED: the binary driver (NOTEDB::binary) encounters now if a note
entry is bigger then MaxNoteByte. It prints the overlapping
                part to STDERR, and a warning message and finally saves
                the complete, unchanged note entry to an external text file.
2012-02-10 20:30:10 +01:00
TLINDEN
c15c8ba731 FIXED: removed any file/path actions using '/'. replaced by portable
functions by using File::Spec. This makes it possible to run
                note unchanged on win32 (and possibly any other) environments.

FIXED:          added a whitespace to the prompt in interactive mode to
                circumvent a bug in the win32 Term::ReadLine module which causes
                the cursor to be displayed on the left side (column 0) of
                the screen.

FIXED:          added "or die" code to some commands which are running inside
                an eval{} block to fetch errors. Without the "or die"s no
                error could ever catched.

CHANGED:        removed HOME variable support of the noterc. in fact, if it
                exists, no error will occur, but it will no longer be used.
                It didn't work in older versions anyway.

ADDED:          It is now possible to quit note using CTRL-D (or: EOF)
2012-02-10 20:29:50 +01:00
TLINDEN
adb457de48 CHANGED: in the function find_editor() the alternatives vim and pico
has been removed because they would never had a match.
FIXED:          applied patch by Bill Barnard <bill@barnard-engineering.com>
                which fixes a bug in the sub format() which features bold
                hidden or underlined text. Now its possible to use a ^ char
                in hidden texts too. I applied the same for the other regexps.
ADDED:          if the config variable FormatText is set to 'simple' then
                only one * _ { or / will make the text tagged with them to
                be displayed formatted, instead of two.
ADDED:          added Term::ReadLine support (auto-completion and history).
2012-02-10 20:29:36 +01:00
TLINDEN
a43f27d328 ADDED: if FormatText is enabled one can now use a new special format
tag: //. If a text is surrounded by two slashes, i.e.: //blah//
                then it appears "invisible" by using blue forground and blue
                background color for displaying. This is handy for passwords
                since no nobody can grab you password by looking at your
                monitor, but you can copy&paste it.
2012-02-10 20:29:18 +01:00
TLINDEN
850a892bfb FIXED: oneliner note entries caused breaked displaying in interactive
mode.
FIXED:          list displaying in interactiv mode corrected. the width of the
                note number will now correctly used.
CHANGED:        the default setting of note will now be to use an external
                editor instead of stdin.
CHANGED:        the unneccessary apostrophes in listings has been removed.
ADDED:          the note version will be displayed in the titlebar of interactive
                mode.
ADDED:          new config variable AutoClear, which is turned on by default,
                which controls wether the screen shall be cleared after each
                item (display, list and so on).
2012-02-10 20:28:49 +01:00
TLINDEN
6c4ca1167c CHANGED: added the correct installation instructions to the README file.
REMOVED:        removed the usage guidelines from te README file. This information
                were redundant because its also contained in the manpage.
FIXED:          on FreeBSD the setting of MaxLen to 'auto' had no effect because the
                output of 'stty -a' which I use in note to determine the actual
                size of the terminal, is different from that on linux.
ADDED:          topics can now be abbreviated in interactive mode, which
                avoids typing. abbreviation works only if an explicit
                match could be found, otherwise the available topics that
                matches will be suggested.
2012-02-10 20:28:25 +01:00
TLINDEN
3f3206e506 CHANGED: using Makemaker instead of self-written code in Makefile.PL
for installation. No more dependency checks built-in because
                note runs out-of-the-box without additional modules, as a matter fact.
ADDED:          if a search matches exactly on one note it will be displayed
                directly, which avoids typing.
CHANGED:        the main if-else contruct for calling the several subs has
                been replaced by a simple closure call.
CHANGED:        notes will now displayed in a slightly simpler fashion in interactive
                mode, without the separator line between the title and the note.
ADDED:          note can now determine automatically the width and height of
                the terminal window it runs in (in interactive mode only) and
                sets the width/height of what it prints accordingly. the config
                variable "MaxLen" must be set to "auto" (which is the default
                from now on) to get this to work.
ADDED:          any interactive command will now clear the screen before it does
                anything. this look much more uncluttered.
ADDED:          if multiple notes are printed at once (i.e. note 1,2) then the
                separator line between them will no more being printed because
                every notes title is preceded by a line anyway.
CHANGED:        by default the default operation mode is now interactive mode,
                which is somewhat kindlier to new users.
CHANGED:        changed to order which editor note tries to find. vi got now
                higher precedence, because it is likely installed on almost
                any unix system.
CHANGED:        cosmetics.
NOTE:           increased minor version number from 1 to 2 to indicate that
                development begun after 2 1/2 years pause again :-)
2012-02-10 20:27:05 +01:00
TLINDEN
62ede07799 FIXED: Some odd typos in README and note.pod.
FIXED:          if ShortCd was on and one used "cd 3" and after that "cd .."
                then the current topic was wrong (empty $PATH).
FIXED:          if the current topic contained no notes and one created a new
                note without specifying a topic, then note did not add a
                proper topic (also because of empty $PATH).
CHANGED:        the default colors are now visible both on black and white
                backgrounds, see next entry.
ADDED:          two more color values: <white_black> and <bold>.
CHANGED:        the color hash is now in ::main instead of ::C.
2012-02-10 20:26:16 +01:00
TLINDEN
f548a0a1e2 - 2012-02-10 20:24:51 +01:00
TLINDEN
9cf564ffe4 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.
2012-02-10 20:22:49 +01:00