Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Change the anonymous user's default perms from 'hmncz' to 'hz' to match new fossil(1) defaults. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9a8269d7377f77c179c4bfb05cda36c9 |
User & Date: | stephan 2023-03-07 14:32:32.997 |
Context
2023-04-19
| ||
03:35 | Cherrypick changes from the no-common-ancestor branch which are not strictly relevant to that change. check-in: 1ee281f8ed user: stephan tags: trunk | |
02:11 | Apply upstream 7c75e47b3c130ff1: when merging files with no common ancestor, treat it as if an imaginary common ancestor were an empty file. check-in: b67c69a3ca user: stephan tags: no-common-ancestor | |
2023-03-07
| ||
14:32 | Change the anonymous user's default perms from 'hmncz' to 'hz' to match new fossil(1) defaults. check-in: 9a8269d737 user: stephan tags: trunk | |
2023-02-02
| ||
10:08 | Integrate upstream patch https://fossil-scm.org/home/info/52a66829d655ff35dc52: when cherrypicking, do not include marked-as-private merge parents in the Q-card list. check-in: fc0ae4b07e user: stephan tags: trunk | |
Changes
Changes to src/repo.c.
︙ | ︙ | |||
904 905 906 907 908 909 910 | if(!rc){ rc = fsl_db_exec(db, "UPDATE user SET cap='s', pw=lower(hex(randomblob(3)))" " WHERE login=%Q", defaultUser); if( !rc && !addOnlyUser ){ fsl_db_exec_multi(db, "INSERT OR IGNORE INTO user(login,pw,cap,info)" | | | | 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 | if(!rc){ rc = fsl_db_exec(db, "UPDATE user SET cap='s', pw=lower(hex(randomblob(3)))" " WHERE login=%Q", defaultUser); if( !rc && !addOnlyUser ){ fsl_db_exec_multi(db, "INSERT OR IGNORE INTO user(login,pw,cap,info)" " VALUES('anonymous',hex(randomblob(8)),'hz'," " 'Anon');" "INSERT OR IGNORE INTO user(login,pw,cap,info)" " VALUES('nobody','','gjor','Nobody');" "INSERT OR IGNORE INTO user(login,pw,cap,info)" " VALUES('developer','','dei','Dev');" "INSERT OR IGNORE INTO user(login,pw,cap,info)" " VALUES('reader','','kptw','Reader');" ); } } return rc; } int fsl_repo_create(fsl_cx * f, fsl_repo_create_opt const * opt ){ fsl_db * db = 0; fsl_cx F = fsl_cx_empty /* used if !f */; int rc = 0; char const * userName = 0; |
︙ | ︙ |