Fossil

All files named "src/captcha.c"
Login

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

History for src/captcha.c

2021-01-27
14:14
Remove redundant length check from captcha processing. Forum post f406019983. ... (file: [508b596a] check-in: [43981c5d] user: drh branch: trunk, size: 14913)
2020-12-22
12:13
Removed the parameter from style_finish_page() since the resulting content div class is now redundant with respect to the body class. This potentially breaks CSS made against old class names that a prior commit on this branch changed, but such skins would be made against an unreleased version of Fossil, it's unlikely many are using that first version of the feature anyway, and most of the class names did *not* change unless you were targeting a "div" instead of "body" or just a generic class name. None of the shipping skins are affected. ... (file: [e414f9b0] check-in: [0e83ca88] user: wyoung branch: body-feature-class, size: 14951)
11:58
Calling the new style_set_current_feature() function to override the new TH1 variable $current_feature for Fossil UI pages where the page name isn't what we want used as the "body" CSS class. For the most part, this matches the value currently being passed to style_finish_page(), but a few have changed with the benefit of hindsight. Not all calls to style_finish_page() have a corresponding call to the new function since the default value for $current_page now suffices. ... (file: [0578be57] check-in: [8ac0830b] user: wyoung branch: body-feature-class, size: 14966)
2020-11-07
13:25
Rename the "style_body_and_footer()" interface to "style_finish_page()" and add a more detailed header comment to the implementation. ... (file: [55c11d5b] check-in: [942b2076] user: drh branch: default-css-cleanups, size: 14889)
2020-11-05
23:15
Added a parameter to style_footer() and renamed it to match its actual function (style_body_and_footer()) so we can add a CSS class to each page that indicates which major Fossil feature served the page, so we can have module-specific CSS. ... (file: [44f3ec3b] check-in: [ef5424b6] user: wyoung branch: default-css-cleanups, size: 14897)
2020-09-18
03:28
Clarify the origin of JS in the generated HTML. ... (file: [982dbbcf] check-in: [68542449] user: drh branch: trunk, size: 14864)
2020-08-18
01:54
Disable writes the CONFIG and USER tables by default. Permission to write to those tables is turned on as needed. Note - might have missed a few places so expect bugs. ... (file: [987fdecb] check-in: [ca9156aa] user: drh branch: sec2020, size: 14834)
2020-05-16
01:08
Integrate ARIA suggestions from Peter Laursen. ... (file: [f2a22f48] check-in: [7dd07b2e] user: drh branch: trunk, size: 14778)
2020-04-05
23:45
Match the COMMAND and WEBPAGE names with _cmd and _page functions; forumpost/045bffda68 ... (file: [285c3d50] check-in: [06afb702] user: ashepilko branch: api-cleanup, size: 14761)
2020-03-18
14:08
Have repeated clicks to the "Speakit" button restart the audio-captcha from the beginning instead of repeating several times in parallel. ... (file: [49a553d1] check-in: [1bf8df8a] user: florian branch: audio-captcha, size: 14750)
2020-03-14
23:41
For the audio captcha, do not actually download the sound file until the user clicks on the button. ... (file: [5ed80cc4] check-in: [54d93954] user: drh branch: trunk, size: 14658)
13:36
Put the "speak the text" buttons for captcha audio closer to the boxes in which the person must enter the text. ... (file: [32d5eb61] check-in: [a584491a] user: drh branch: trunk, size: 14726)
13:20
Add extra silence in between letters of the spoken captcha. ... (file: [e21adfa7] check-in: [2e325523] user: drh branch: trunk, size: 14670)
12:40
Add "Speak the text" buttons consistently to all captchas. ... (file: [cfe82c31] check-in: [93bbd28a] user: drh branch: audio-captcha, size: 14476)
03:59
Add "Speak the text" buttons on captchas. ... (file: [530cc3ae] check-in: [3b10bdd6] user: drh branch: audio-captcha, size: 14467)
03:13
Add infrastructure to support solving the captcha via audio. ... (file: [8664848c] check-in: [5ddc0fdc] user: drh branch: audio-captcha, size: 13947)
2018-08-31
21:07
Render captchas in a smaller font that works better on mobile. ... (file: [57551edb] check-in: [75c89def] user: drh branch: trunk, size: 11963)
2018-06-21
19:10
The /subscribe page now creates entries in the subscriber table and sends verification emails. ... (file: [20ccbd08] check-in: [31be2e17] user: drh branch: email-alerts, size: 11947)
2016-05-31
01:57
Fix a bug in the spider excluder. ... (file: [9ba16411] check-in: [8583ca38] user: drh branch: trunk, size: 11915)
01:16
Improved handling of exclude_robots(). Add the "isrobot" query parameter for testing. ... (file: [6934c86f] check-in: [abcd5df2] user: drh branch: trunk, size: 11901)
2015-04-27
13:19
Provide help text for all commands and webpages. ... (file: [0ec2ed2b] check-in: [7ab03289] user: drh branch: trunk, size: 11912)
2015-03-30
17:43
Convert background colors into foreground colors before using them for drawing graph lines. ... (file: [9e3cf8ce] check-in: [70e882b5] user: drh branch: improved-skin-edit, size: 11669)
2015-02-13
19:39
Obscure the captcha text using a character substitution for three seconds. ... (file: [84e3b299] check-in: [618420b1] user: drh branch: captcha-enhancement, size: 12549)
2014-09-23
15:21
Use strncmp() instead of memcmp() when comparing strings since memcmp() is not guaranteed to read bytes in order and hence might read past the zero-terminator of a string. ... (file: [604af55d] check-in: [52cb2404] user: drh branch: trunk, size: 11648)
2014-08-15
09:24
More style fixes, e.g. c/char const/const char/ ... (file: [fea6cab1] check-in: [38421a9c] user: jan.nijtmans branch: trunk, size: 11647)
2014-03-08
16:14
Clean up and standardize the handling of user "nobody" and the g.zLogin global variable. ... (file: [765bb4af] check-in: [840b7622] user: drh branch: trunk, size: 11647)
2014-01-27
09:05
Remove unnecessary end-of-line spaces. (My editor does that automatically, but I don't want it to happen together with other functional changes in a single commit). No change in code. ... (file: [ae1acb83] check-in: [52b35c8b] user: jan.nijtmans branch: trunk, size: 11656)
2013-10-11
08:36
Make sure that EVERY source file includes "config.h" before any other system includes. This is the first step in making fossil compile for Win64 using MinGW. ... (file: [2c855a6f] check-in: [c30cd93b] user: jan.nijtmans branch: trunk, size: 13338)
2013-08-25
02:11
Spiders and robots are presented with a captcha if they request the annotation page. ... (file: [de30cda1] check-in: [f8a2aa0c] user: drh branch: trunk, size: 13338)
2013-08-23
20:58
Improved rendering of ascii-art hexadecimal for the captcha. ... (file: [05111465] check-in: [d3940100] user: drh branch: trunk, size: 12090)
2012-12-01
03:38
Allow upper or lower case letters for the captcha code. Also, recognize "O" as a "0". Ticket [b142647bfa04a] ... (file: [3137eba0] check-in: [7f56910f] user: drh branch: trunk, size: 11086)
2012-11-21
01:08
Improvements to comments on recently added CAPTCHA code. ... (file: [c7f34e60] check-in: [64231a67] user: drh branch: trunk, size: 10863)
00:51
Optionally require a CAPTCHA (controlled by Admin/Access) when a user who is not logged in tries to edit wiki, or a ticket, or an attachment. ... (file: [0e942e59] check-in: [82b8587a] user: drh branch: trunk, size: 10254)
2012-11-20
22:13
Change the action= attribute of <form> elements using javascript, as an additional defense against spam-bots. ... (file: [2ec810b9] check-in: [dfa35794] user: drh branch: trunk, size: 8827)
2012-11-04
12:59
Fix typos. ... (file: [5a22bf2f] check-in: [45065c5c] user: dmitry branch: spelling, size: 8818)
2012-09-05
12:55
const-qualification ... (file: [af2faae2] check-in: [645f3483] user: jan.nijtmans branch: eclipse-project, size: 8817)
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII ... (file: [f8204125] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 8804)
2012-06-27
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. ... (file: [c4bdcd7b] check-in: [68239127] user: drh branch: sqlite4, size: 8808)
2012-03-29
14:54
Add vim modline everywhere ... (file: [39c6c747] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 8847)
2011-09-15
12:03
initial mass-change merge of main repo with my fork. ... (file: [78477f59] check-in: [5b44a419] user: stephan branch: json, size: 8805)
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. ... (file: [67afb8d4] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 8716)
2010-12-02
14:46
Remove some instances of strcpy() and sprintf() due to warnings on OpenBSD. Update the internal SQLite to the latest 3.7.4 release candidate. ... (file: [19b7e28e] check-in: [3ad5891c] user: drh branch: trunk, size: 8710)
2010-10-15
17:13
Replace all malloc() calls with fossil_malloc(). The fossil_malloc() routine panics rather than return a NULL pointer. ... (file: [4fd641c2] check-in: [8f41b2fa] user: drh branch: trunk, size: 8687)
2010-08-16
10:52
Fix a comment typo in the captcha generator. Extend the graph lines to the bottom of the timeline even if the last few entries on timeline are tickets or wiki edits instead of checkins. ... (file: [c94d903b] check-in: [76201a08] user: drh branch: trunk, size: 8666)
2010-05-16
19:08
Change from GPL to the Simplified BSD License. ... (file: [08be6903] check-in: [c06edd23] user: drh branch: clear-title, size: 8667)
2009-08-10
02:52
Add a new more legible ascii-art font to the anonymous login captcha. ... (file: [d47d9e71] check-in: [b189acfd] user: drh branch: trunk, size: 8943)
02:29
Add an ascii-art captcha for anonymous login. ... (file: [0fc3d0df] check-in: [b4a29fac] user: drh branch: trunk, size: 5246)