mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug Fix - Att::match
- Fixed bug in Att::match that causes blank dates to be interpreted as 12/31/1969, and therefore pass "xxx.before:" tests. - Added the "cal" symlink trick to ChangeLog. - Removed incorrect i18n tags from Config.cpp. - Allowed .taskrc:confirmation=no to bypass Permission checking.
This commit is contained in:
parent
7e0a1759f9
commit
facb4dcb41
4 changed files with 45 additions and 37 deletions
|
@ -26,14 +26,20 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "Permission.h"
|
||||
#include "Context.h"
|
||||
#include "util.h"
|
||||
#include "i18n.h"
|
||||
|
||||
extern Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Permission::Permission ()
|
||||
: needConfirmation (false)
|
||||
, allConfirmed (false)
|
||||
{
|
||||
// Turning confirmations off is the same as entering "all".
|
||||
if (context.config.get ("confirmation", true) == false)
|
||||
allConfirmed = true;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue