Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of file src/backoffice.c at check-in 842bf225d2b93e89
|
2025-04-08
| ||
| 18:02 | Do not warn about hung backoffice processes if they have been running for only a little more than 60 seconds. ... (file: [623ceefa8f] check-in: [7ed4d030cf] user: drh branch: trunk, size: 28820) | |
| 12:49 | Ensure that ALL fopen() calls include 'b' in their modes. The git import/export fopen()s did not have this, which may (hypothetically, but unproven) lead to EOL conversion on Windows. ... (file: [2af68c44b3] check-in: [13049ef245] user: stephan branch: fopen-mode-b, size: 29162) | |
|
2025-03-31
| ||
| 18:49 | Try to avoid false-positive hung backoffice warnings from appearing in the error log. ... (file: [95c8272e22] check-in: [6f1c7324b6] user: drh branch: trunk, size: 29161) | |
| 12:28 | Minor tweaks to backoffice - mostly comment typo fixes. ... (file: [6f6834874f] check-in: [a46e128c3f] user: drh branch: trunk, size: 28716) | |
|
2025-03-30
| ||
| 23:25 | More details on the g.zPhase markings for backoffice processing, to help track down reports of hung backoffice processes that appear in the error log from time to time. ... (file: [e059fa5294] check-in: [cd532394c6] user: drh branch: trunk, size: 28720) | |
|
2025-01-24
| ||
| 00:29 | backoffice.c small typo. ... (file: [a00ad3df48] check-in: [e0c7e4181b] user: brickviking branch: trunk, size: 28576) | |
|
2024-07-29
| ||
| 11:58 | Previous check-in does not work. Change it so that the backoffice is not even attempted if the database is in read-only mode. ... (file: [ecb3997466] check-in: [503354d1ca] user: drh branch: trunk, size: 28575) | |
| 11:50 | Drop all database protection when starting the backoffice. ... (file: [c274f8f504] check-in: [5d3f71b0f7] user: drh branch: trunk, size: 28583) | |
|
2024-07-20
| ||
| 11:43 | Consistently use a dash in '--no' options, preserving the no-dash variant for compatibility where it exists. ... (file: [ee1d064214] check-in: [d03ed299d2] user: danield branch: no-x-dash-options, size: 28605) | |
|
2024-02-02
| ||
| 22:18 | Remove trailing whitespace from non-external C files. ... (file: [8ed33abacb] check-in: [7db0a2d910] user: danield branch: fix-overlength-lines, size: 28525) | |
|
2023-02-17
| ||
| 14:37 | A large collection of compiler warning fixes re. signed/unsigned comparison from Daniel D. ... (file: [3d14e5ea11] check-in: [c71f711ec9] user: stephan branch: compiler-warnings, size: 28528) | |
|
2022-12-21
| ||
| 09:31 | Improved consistency for --help option descriptions. ... (file: [2d827bd004] check-in: [2e56ef4e8d] user: km branch: trunk, size: 28509) | |
| 09:00 | Improved consistency for --help option descriptions: begin with uppercase letter; do not use a period at the end of short-ish sentences. ... (file: [d900592140] check-in: [de684083c6] user: km branch: spelling-fixes, size: 28510) | |
|
2022-12-20
| ||
| 09:46 | Change spelling for check-in and similar ... (file: [0ad9f3d478] check-in: [d9c4321e7a] user: danield branch: check-in-spelling, size: 28512) | |
|
2022-11-13
| ||
| 16:26 | Apply fixes to all web views to pass WCAG 2.1 tests performed by "axe DevTools" browser extension. Most fixes related to screen reader compatibility, like making sure that form elements have labels. Some color changes to improve contrast on Default skin. Made more HTML5 compliant. Minor improvement to select combo boxes for UX. Improved Search form UX. Two minor bug fixes for malformed HTML. Fixed help pages to resolve issues with non-compliant HTML being generated. Mostly documented at https://fossil-scm.org/forum/forumpost/aafb17a981df4166 ... (file: [5c97ad7cda] check-in: [1f231db380] user: ericwikman branch: wcag-2.1, size: 28490) | |
|
2022-07-17
| ||
| 23:48 | Changed a number of "a" articles followed by vowels in docs and comments to "an", per [forum:/forumpost/3e6e40293f03f089 | a forum post]. ... (file: [8adea4679b] check-in: [99a319bdbf] user: wyoung branch: trunk, size: 28511) | |
|
2021-08-08
| ||
| 18:20 | More information in the log file for signal handlers. Include the phase of operation as part of the log message. ... (file: [35468c397a] check-in: [48c06b0a13] user: drh branch: trunk, size: 28510) | |
|
2021-06-30
| ||
| 13:52 | Enhance the blob_append_escaped_args() routine with a new parameter to indicate if the argument is a filename. Only prepend "./" to filename arguments that begin with "-". The "%$" printf conversion assumes a filename, but the "%!$" conversion does not. ... (file: [ab2ae240fe] check-in: [4f83d06275] user: drh branch: trunk, size: 28483) | |
|
2021-03-18
| ||
| 22:09 | Add the --reset option to the "fossil test-backoffice-lease" command. ... (file: [4db70d65ea] check-in: [b2e83470ea] user: drh branch: trunk, size: 28474) | |
|
2021-03-16
| ||
| 19:59 | Remove smtpd server functionality first pass ... (file: [c727a2b336] check-in: [db5c2d399c] user: danshearer branch: trunk, size: 28057) | |
|
2021-03-11
| ||
| 13:22 | Numerous help text consistency tweaks based on forum discussion [forum:8c644048f0]. ... (file: [28506e7aad] check-in: [4cb50c4ef3] user: stephan branch: trunk, size: 28152) | |
|
2021-01-12
| ||
| 13:50 | Fix typos in help and other console output. ... (file: [b68cdb60d5] check-in: [2f78b2cb41] user: danield branch: trunk, size: 28154) | |
|
2020-12-12
| ||
| 19:06 | fixed a typo in a comment ... (file: [a99d9fdae9] check-in: [02c3468b3f] user: sdr branch: trunk, size: 28155) | |
|
2020-08-21
| ||
| 15:08 | Add missing db_unprotect() calls to backoffice. ... (file: [b5c14f9845] check-in: [c75dcc621b] user: drh branch: sec2020, size: 28155) | |
|
2020-07-06
| ||
| 10:21 | The backoffice now invokes after-receive hooks. ... (file: [a6050595f0] check-in: [4777999d32] user: drh branch: hooks, size: 28051) | |
|
2020-07-02
| ||
| 16:55 | Fix typos in comments in backoffice.c - one of which is part of the built-in help. ... (file: [dcde170153] check-in: [5b4d2df00c] user: drh branch: trunk, size: 27916) | |
| 13:17 | Fix to the help text in the fossil backoffice command. ... (file: [c409d53e1c] check-in: [ab1023c013] user: drh branch: trunk, size: 27913) | |
| 13:09 | Improvements to backoffice documentation. ... (file: [3466539237] check-in: [8a4b5c42d5] user: drh branch: trunk, size: 27905) | |
| 01:56 | Improvements to backoffice polling using the "fossil backoffice" command. ... (file: [32236e8e8b] check-in: [75b76efbba] user: drh branch: trunk, size: 27748) | |
|
2020-07-01
| ||
| 22:15 | Fix an error in the way that alerts are counted for use in the backoffice log. ... (file: [f2129bd4a9] check-in: [77377e6c02] user: drh branch: trunk, size: 26907) | |
| 21:21 | Updated documentation on the "backoffice" command. ... (file: [787c7e18b2] check-in: [fda6337611] user: drh branch: trunk, size: 26887) | |
| 21:12 | Condense each backoffice log entry into a single line. ... (file: [f48f9103ac] check-in: [e05a97aebe] user: drh branch: trunk, size: 26636) | |
| 20:21 | Fix a bug that causes backoffice to ignore the backoffice-logfile setting. ... (file: [ca319ec4cb] check-in: [5911f4b0c6] user: drh branch: trunk, size: 26237) | |
| 20:18 | Fix compiler warnings in backoffice. ... (file: [7c76e78099] check-in: [c7dca0cd79] user: drh branch: trunk, size: 26230) | |
| 20:16 | Improved logging of backoffice operations. ... (file: [09b32d29dc] check-in: [71b9f35475] user: drh branch: trunk, size: 26218) | |
|
2020-06-23
| ||
| 12:52 | Update the backoffice poller so that it invokes each backoffice at least once every hour - configurable using the --min command-line option. ... (file: [dd84ce715d] check-in: [e1d8cea28a] user: drh branch: trunk, size: 23872) | |
|
2020-04-05
| ||
| 23:45 | Match the COMMAND and WEBPAGE names with _cmd and _page functions; [https://fossil-scm.org/forum/forumpost/045bffda68|forumpost/045bffda68] ... (file: [454e957d8f] check-in: [06afb7022f] user: ashepilko branch: api-cleanup, size: 22980) | |
|
2019-07-11
| ||
| 12:19 | Make sure the backoffice does not try to reuse file descriptors that it has previously closed. ... (file: [3edbb24a90] check-in: [458ced3535] user: drh branch: trunk, size: 22984) | |
|
2019-04-26
| ||
| 16:53 | Another invocation of the backoffice was found where the option "--nocgi" might be necessary. ... (file: [b4823b8b74] check-in: [5d7c00f7e5] user: tsbg branch: backoffice-win, size: 23802) | |
| 16:39 | Merge trunk. ... (file: [12bade36ab] check-in: [3a19db886f] user: tsbg branch: backoffice-win, size: 23794) | |
|
2019-03-07
| ||
| 17:57 | Add the --poll option to "fossil backoffice" to allow it to act as a backoffice launch daemon. ... (file: [43c2b8474e] check-in: [1021afc6aa] user: drh branch: trunk, size: 22923) | |
| 16:43 | Enhancements to the "backoffice" command: Added the --nodelay option and added the ability to specify multiple repositories. ... (file: [1c237ba131] check-in: [96fc484876] user: drh branch: trunk, size: 21646) | |
|
2018-12-10
| ||
| 08:07 | Attempt to get the backoffice running on Windows. ... (file: [b482329924] check-in: [c52fb5eddb] user: tsbg branch: backoffice-win, size: 20674) | |
|
2018-11-30
| ||
| 01:11 | Add the backoffice-disable setting to completely disable all backoffice processing. ... (file: [761f572b89] check-in: [2467a356fe] user: drh branch: trunk, size: 19803) | |
|
2018-11-10
| ||
| 14:17 | Do not run backoffice if the "--in" option is used on the "fossil http" command. ... (file: [3d497d10a9] check-in: [afb1e5f6cf] user: drh branch: trunk, size: 19748) | |
| 13:49 | Do not attempt to run backoffice if the repository is read-only. ... (file: [9772a0c0e4] check-in: [4f15d34f4b] user: drh branch: trunk, size: 19643) | |
|
2018-10-03
| ||
| 16:52 | Remove uncommonly used commands from the set of "common" commands in the "fossil help" listing. ... (file: [15b0eb0da4] check-in: [2931351893] user: drh branch: trunk, size: 19598) | |
|
2018-08-30
| ||
| 21:19 | Change the name of the "email.c" source file into "alerts.c". Make corresponding changes to various interfaces. ... (file: [9484eff46b] check-in: [cfbbc53778] user: drh branch: refactor-alerts, size: 19597) | |
|
2018-08-23
| ||
| 16:02 | Do not try to run backoffice if not connected to a valid repository. ... (file: [ce8a16ba25] check-in: [3f5b254932] user: drh branch: trunk, size: 19597) | |
|
2018-08-16
| ||
| 20:48 | Enhance the backoffice to automatically purge stale entries from the emailblob table, if that table exists. ... (file: [7ce0efdcb0] check-in: [4c7edd4cfd] user: drh branch: trunk, size: 19541) | |
|
2018-08-09
| ||
| 21:40 | Remove an unused function from the backoffice.c. This problem only comes up on Windows as the function call was contained within #ifdef _WIN32. ... (file: [02ed31a294] check-in: [2d732f4030] user: drh branch: trunk, size: 19523) | |
|
2018-08-08
| ||
| 23:59 | Go ahead and permanently remove the backoffice timeout mechanism, as it seems clear we will not have a use for it moving forward. ... (file: [2c2243f25d] check-in: [4db3848752] user: drh branch: trunk, size: 19585) | |
| 20:56 | Disable backoffice timeouts. This is a temporary measure to avoid a horrible bug in which a timeout causes the email notification sending process to exit before recording the fact that notifications have already been sent, and thus causing the same notifications to be sent again on the next backoffice cycle, and so forth over and over and over. ... (file: [d606449a55] check-in: [628d63c4cf] user: drh branch: trunk, size: 21849) | |
| 18:15 | Remove the /test-backoffice-lease webpage, since it doesn't really work correctly. Use only the "fossil test-backoffice-lease" command moving forward. We can wrap that command in a Wapp script if necessary. ... (file: [45114291b7] check-in: [b6aadace39] user: drh branch: backoffice-full-close, size: 21636) | |
| 18:13 | Set the default backoffice-nodelay back to off. ... (file: [913568003c] check-in: [353a4e12d5] user: drh branch: backoffice-full-close, size: 23412) | |
| 18:10 | A simpler method of ensuring that backoffice does not cling to the standard input and output. ... (file: [414b1e249a] check-in: [8c52c67412] user: drh branch: backoffice-full-close, size: 23412) | |
| 17:57 | In the backoffice process, close the 0, 1, and 2 file descriptiors and reopen them as /dev/null, on unix. ... (file: [b133f4c652] check-in: [6865fb72cf] user: drh branch: backoffice-full-close, size: 23444) | |
| 16:20 | If the "fds" query parameter is provided, then the /test-backoffice-lease webpage shows the open file descriptors. ... (file: [bd548bc468] check-in: [918e1ddd8e] user: drh branch: trunk, size: 23327) | |
| 14:40 | Turn backoffice-nodelay on by default. ... (file: [da434f45e5] check-in: [af599d6adc] user: drh branch: trunk, size: 23073) | |
| 14:23 | Add the /test-backoffice-lease web page. ... (file: [3caba276e7] check-in: [4a544e5dcb] user: drh branch: trunk, size: 23073) | |
| 14:08 | Make sure the backoffice has all file descriptors closed before it starts. ... (file: [6fde37353b] check-in: [15f85cfdaa] user: drh branch: trunk, size: 21531) | |
| 02:21 | Fix the build on unix. ... (file: [596b68e93c] check-in: [88240d4d4a] user: drh branch: trunk, size: 21475) | |
| 02:15 | More enhancements to backoffice diagnostics. ... (file: [72896ebd27] check-in: [864a6f3922] user: mistachkin branch: trunk, size: 21455) | |
| 00:03 | Fix some compiler warnings. ... (file: [d1e31a098a] check-in: [250fc00dd3] user: mistachkin branch: trunk, size: 21222) | |
| 00:01 | Add the test-backoffice-lease command for testing the backoffice. ... (file: [c56d3d847c] check-in: [f26ef80609] user: drh branch: trunk, size: 21164) | |
|
2018-08-07
| ||
| 23:48 | Make the backoffice module tracing behave more consistently on Win32. ... (file: [f02ac3c089] check-in: [0fe9da816f] user: mistachkin branch: trunk, size: 19888) | |
| 23:22 | Merge changes from the previous two check-ins. ... (file: [18f3f009ef] check-in: [300682604f] user: mistachkin branch: trunk, size: 19570) | |
| 23:16 | Change backoffice-nodelay to default off. ... (file: [eddfbf5f60] check-in: [12c487c46f] user: drh branch: trunk, size: 18946) | |
| 23:08 | Improve Win32 error handling in the backoffice module and fix a compiler warning. ... (file: [78e8733301] check-in: [3c0848797d] user: mistachkin branch: trunk, size: 19570) | |
| 21:45 | In the backoffice module, use GETPID macro consistently, fix compiler warning with MinGW, and add an assert(). ... (file: [0195808aec] check-in: [af87fa5bcd] user: mistachkin branch: trunk, size: 19033) | |
| 21:21 | Report the time of the last backoffice run in the /stat page for administrators. ... (file: [60126d85b7] check-in: [ae6e8d9771] user: drh branch: trunk, size: 18946) | |
| 20:58 | Improved windows code for the backoffice. Properly check to see if processes still exist. Provide a timeout feature. ... (file: [0cee1198c6] check-in: [43c29877be] user: drh branch: trunk, size: 17935) | |
| 20:11 | Use the Windows _wspawnv() interface with the _P_NOWAIT option to start a separate backoffice process whenever necessary. Add the backoffice-logfile setting for monitoring backoffice operation. ... (file: [2170ed0b9f] check-in: [2583cae18a] user: drh branch: trunk, size: 15210) | |
| 18:28 | Improvements to comments. No code changes. ... (file: [9f534e9297] check-in: [1b54dd79bf] user: drh branch: fork-backoffice, size: 14026) | |
| 17:48 | Fix the separate-process backoffice so that it works smoothly on linux. Still work to be done on Windows. ... (file: [5182ff0621] check-in: [af7d67c6a2] user: drh branch: fork-backoffice, size: 13092) | |
| 15:50 | Use the fork() system call (when available) to start backoffice, in an attempt to avoid unseemly delays in upstream. ... (file: [c4b4d4095a] check-in: [a4b59c3207] user: drh branch: fork-backoffice, size: 12641) | |
|
2018-08-02
| ||
| 03:05 | Just in case, modify backofficeTimeout() to handle being called more than once on Win32. ... (file: [41d7ba12d0] check-in: [0ef0e10557] user: mistachkin branch: win32Proc, size: 12558) | |
| 03:03 | Wrap use of getpid() in the trace statements. ... (file: [52d8acd8aa] check-in: [842bf225d2] user: mistachkin branch: win32Proc, size: 12559) | |
| 02:27 | When sleeping inside the backoffice work loop, permit the sleep to be interrupted on Win32, which stops processing. ... (file: [95068ad45b] check-in: [9840313b1c] user: mistachkin branch: win32Proc, size: 12576) | |
| 01:53 | More Win32 support for the backoffice processing. ... (file: [0e97424d41] check-in: [f13ae35f5e] user: mistachkin branch: win32Proc, size: 11632) | |
|
2018-07-31
| ||
| 23:37 | Make the backoffice-nodelay a setting visible on the settings display, and make it on by default. This is a temporary fix to avoid webserver problems until such time as I can figure out what it is about backserver sleeping that is causing the webserver to latch up. ... (file: [d2cf5ceb44] check-in: [2566a37efa] user: drh branch: forum-v2, size: 9851) | |
| 20:34 | Use the fork() system call (when available) to start backoffice, in an attempt to avoid unseemly delays in upstream. ... (file: [dab5314d5a] check-in: [e882081f8d] user: drh branch: fork-backoffice, size: 12599) | |
| 14:22 | Add the backoffice-nodelay setting as a temporary measure to aid in debugging the unseemly delays currently being experienced in the UI. ... (file: [7fc5494d8f] check-in: [0efaa98247] user: drh branch: forum-v2, size: 9851) | |
| 00:10 | Use a thread to implement backoffice work timeouts for Win32. ... (file: [326dd619d3] check-in: [a9578f7870] user: mistachkin branch: win32Proc, size: 10959) | |
|
2018-07-30
| ||
| 13:25 | Backoffice processing improvements: Set a timer on the backoffice to prevent it from running too long. Report errors on failed attempts to open /dev/null. Use "NUL" instead of "/dev/null" on Windows. ... (file: [ca05047462] check-in: [07356e44c1] user: drh branch: trunk, size: 9811) | |
|
2018-07-22
| ||
| 18:58 | New options to the "fossil http" command: --in FILE, --out FILE, --ipaddr ADDRESS, and --nodelay. Use the --in, --out, and --inaddr options for subprocesses that handle HTTP requests via file I/O. This replaced the older and undocumented form of the "fossil http" command that accepted extra arguments. Use the --nodelay option to prevent lengthy backoffice processing. The use of --nodelay during "fossil ui" on Windows prevents annoying pauses on that platform. ... (file: [e1f2954ba7] check-in: [52943029e2] user: drh branch: trunk, size: 9241) | |
|
2018-07-21
| ||
| 15:31 | Extra effort to close all prepared statements prior to exiting, in order to avoid dangling journal files. ... (file: [5a1f1d639f] check-in: [7680076966] user: drh branch: trunk, size: 8636) | |
| 14:29 | Issue a panic if there is an attempt to invoke backoffice_run() more than once. ... (file: [4a6a2ec767] check-in: [9d0bfcb3d8] user: drh branch: trunk, size: 8599) | |
|
2018-07-19
| ||
| 17:22 | The email_auto_exec property is removed. The routine that sends alert emails is renamed to email_backoffice() and it is configured to always auto-run. ... (file: [a2ebf05afb] check-in: [ada7ecde5b] user: drh branch: trunk, size: 8490) | |
| 16:27 | Improved SQL logging after SIGPIPE. Exponential backoff in the warnings issued when the backoffice process misses its deadline. ... (file: [5703b35eeb] check-in: [f525b6d5e9] user: drh branch: trunk, size: 8489) | |
| 15:43 | Run the backoffice processing after every webpage. Fix a memory error in one of the backoffice error messages. ... (file: [59925e65d7] check-in: [0fdca8c78f] user: drh branch: trunk, size: 8427) | |
| 02:37 | Fix the backoffice delay so that it extends the deadline for the follow-on process if the current process runs overtime. This prevents multiple follow-ons. ... (file: [7e9a5e8b69] check-in: [5542cd43b3] user: drh branch: trunk, size: 8427) | |
|
2018-07-18
| ||
| 16:54 | Fix the code for obtaining process ids on windows. ... (file: [269015ba67] check-in: [4695f217ce] user: drh branch: backoffice, size: 8207) | |
| 16:43 | Add the backoffice module for doing post-processing actions such as sending alerts and/or syncing repositories. ... (file: [6d4e1fbf32] check-in: [86b43a4648] user: drh branch: backoffice, size: 8173) | |