Changes On Branch versionable-settings
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch versionable-settings Excluding Merge-Ins

This is equivalent to a diff from 5fdf14ba1c to ec5c690e0e

2011-12-17
15:20
Make allow-symlinks a versionable setting. This is a merge from the versionable-settings branch. check-in: c4ade43651 user: drh tags: trunk
2011-12-01
16:16
Make allow-symlinks a versionable setting. Closed-Leaf check-in: ec5c690e0e user: ben tags: versionable-settings
2011-11-25
09:36
Disallow the word "rawl" (as in crawler) in the user agent. check-in: fe075f5d89 user: drh tags: trunk
2011-11-23
00:36
Added todo notes for adding loginExpiryTime in /json/login. (And checked in the latest cson_amalgamation - no functional changes there.) check-in: 5fdf14ba1c user: stephan tags: trunk
00:14
Added loginCookieName to /json/login response payload, mainly as a crutch for certain scripting cases (e.g. RSS feeds). Still TODO: add future expiry time of cookie/token to response. check-in: daa564c4df user: stephan tags: trunk

Changes to src/db.c.

  1807   1807     int width;            /* Width of display.  0 for boolean values */
  1808   1808     int versionable;      /* Is this setting versionable? */
  1809   1809     char const *def;      /* Default value */
  1810   1810   };
  1811   1811   #endif /* INTERFACE */
  1812   1812   struct stControlSettings const ctrlSettings[] = {
  1813   1813     { "access-log",    0,                0, 0, "off"                 },
  1814         -  { "allow-symlinks",0,                0, 0, "off"                 },
         1814  +  { "allow-symlinks",0,                0, 1, "off"                 },
  1815   1815     { "auto-captcha",  "autocaptcha",    0, 0, "on"                  },
  1816   1816     { "auto-shun",     0,                0, 0, "on"                  },
  1817   1817     { "autosync",      0,                0, 0, "on"                  },
  1818   1818     { "binary-glob",   0,               32, 1, ""                    },
  1819   1819     { "clearsign",     0,                0, 0, "off"                 },
  1820   1820     { "case-sensitive",0,                0, 0, "on"                  },
  1821   1821     { "crnl-glob",     0,               16, 1, ""                    },
................................................................................
  1865   1865   ** file named .fossil-settings/PROPERTY in the checked out files, if that
  1866   1866   ** file exists.
  1867   1867   **
  1868   1868   ** The "unset" command clears a property setting.
  1869   1869   **
  1870   1870   **
  1871   1871   **    allow-symlinks   If enabled, don't follow symlinks, and instead treat
  1872         -**                     them as symlinks on Unix. Has no effect on Windows
         1872  +**     (versionable)   them as symlinks on Unix. Has no effect on Windows
  1873   1873   **                     (existing links in repository created on Unix become 
  1874   1874   **                     plain-text files with link destination path inside).
  1875   1875   **                     Default: off
  1876   1876   **
  1877   1877   **    auto-captcha     If enabled, the Login page provides a button to
  1878   1878   **                     fill in the captcha password.  Default: on
  1879   1879   **

Changes to www/settings.wiki.

    16     16   You can also set a setting globally on your local machine. The value will be used for all repositories cloned to your machine, unless overridden explicitly in a particular repository. Global settings can be set by using the <tt>-global</tt> option on the <tt>fossil settings</tt> command.
    17     17   
    18     18   
    19     19   <h3>"Versionable" settings</h3>
    20     20   
    21     21   Most of the settings control the behaviour of fossil on your local machine, largely acting to reflect your preference on how you want to use Fossil, how you communicate with the server, or options for hosting a repository on the web. 
    22     22   
    23         -However, for historical reasons, some settings affect how you work with versioned files. These are <tt>binary-glob</tt>, <tt>crnl-glob</tt>, <tt>ignore-glob</tt>, <tt>empty-dirs</tt> and <tt>manifest</tt>. The most important is <tt>ignore-glob</tt> which specifies which files should be ignored when looking for unmanaged files with the <tt>extras</tt> command.
           23  +However, for historical reasons, some settings affect how you work with versioned files. These are <tt>allow-symlinks</tt>, <tt>binary-glob</tt>, <tt>crnl-glob</tt>, <tt>ignore-glob</tt>, <tt>empty-dirs</tt> and <tt>manifest</tt>. The most important is <tt>ignore-glob</tt> which specifies which files should be ignored when looking for unmanaged files with the <tt>extras</tt> command.
    24     24   
    25     25   Because these options can change over time, and the inconvenience of replicating changes, these settings are "versionable". As well as being able to be set using the <tt>settings</tt> command or the web interface, you can created versioned files in the <tt>.fossil-settings</tt> directory named with the setting name. The contents of the file is the value of the setting, and these files are checked in, committed, merged, and so on, as with any other file.
    26     26   
    27     27   Where a setting is a list of values, such as <tt>ignore-glob</tt>, you can also a newline as a separator as well as a comma.
    28     28   
    29     29   For example, to set the list of ignored files, create a <tt>.fossil-settings/ignore-glob</tt> file where each line contains a glob for ignored files.
    30     30   
    31     31   If you set the value of a setting using the <tt>settings</tt> command as well as a versioned file, the versioned setting will take precedence. A warning will be displayed.