Skip to content
Snippets Groups Projects
  1. Feb 24, 2006
    • Troels Liebe Bentsen's avatar
      Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct... · 44881d27
      Troels Liebe Bentsen authored
      Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct permissions, this should also fix problems with dokuwiki making setuid files on some umasks.
      
        * Don't set the umask() anymore, this is not good form and we don't really know what is it in the old code anyway as it was not done properly.
        * Retire the dmask config option introduce 2 new ones called fmode and dmode, this is more in line with posix and should make more sense.
        * Use chmod for setting the correct permissions but only if it's needed.
        * Set changing of permissions off by default as i should work properly in most Apache setups without and it does not make sense on windows anyway.
      
      darcs-hash:20060224211655-ee6b9-68f7bb59417d6f0033cfd3764146923daa4dcf1b.gz
      44881d27
  2. Feb 18, 2006
  3. Oct 22, 2005
  4. Oct 15, 2005
  5. Aug 07, 2005
    • Harry Fuecks's avatar
      command line utilities for DokuWiki · 1caeb00a
      Harry Fuecks authored
      This patch adds a command line tool which should help people modify
      wiki pages on the command line.
      
      Usage would be something like;
      
      $ ./dokuwiki/bin/dwpage.php checkout wiki:syntax > /home/harryf/syntax.txt
      $ vi syntax.txt
      $ ./dokuwiki/bin/dwpage.php -m "Document new syntax" commit syntax.txt wiki:syntax
      
      The second script outputs a list of wiki ids, seperated by newlines.
      The idea would be it get's run by a cron job at regular intervals and
      has it's results piped to a text file.
      
      darcs-hash:20050807201309-56ad0-7c2dbb2b14f794efad1b9875f4dd0c6a15f6df3f.gz
      1caeb00a
Loading