Fossil

File History
Login

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

History of src/json_user.c

2016-11-07
01:29
Remove some tabs and end-of-line whitespace file: [779af89a] check-in: [bf9669f5] user: andygoth branch: trunk, size: 13228
2014-10-20
15:01
Add a custom static analysis program that verifies the arguments to printf-style varargs routines used in Fossil. Adjust the source code to be more robust for printf format errors and to fix a few minor problems found by the static checker. file: [66fc65a1] check-in: [0a7e326f] user: drh branch: compile-time-print-checking, size: 13240
2012-08-29
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII file: [05543dd2] check-in: [9f6abc59] user: jan.nijtmans branch: msvc-broken, size: 13210
2012-07-13
15:06
Several minor internal cleanups to the json code which i thought i had committed last week :/. file: [b68775a2] check-in: [055dfb12] user: stephan branch: trunk, size: 13211
2012-06-29
15:59
Update to the latest SQLite4 that requires converting preprocessor macro prefixes from "SQLITE_" to "SQLITE4_". file: [08883120] check-in: [0328d681] user: drh branch: sqlite4, size: 13133
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: [c333121a] check-in: [68239127] user: drh branch: sqlite4, size: 13131
2012-03-29
14:54
Add vim modline everywhere file: [1e51b000] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 13173
2012-03-21
20:23
Throughout the /json API, renamed the "mtime" property with "timestamp", to consolidate the inconsistent usage. file: [313737bc] check-in: [070b7554] user: stephan branch: trunk, size: 13131
2012-03-18
23:44
Fix compiler warnings and update custom makefile. file: [10227058] check-in: [43631b08] user: mistachkin branch: trunk, size: 13119
04:00
Removed more name-related special-case handling code. file: [581e5998] check-in: [1a4ca414] user: stephan branch: trunk, size: 13147
2012-03-17
14:59
clean up error handling and permissions for various /json/user/save cases. file: [cdd65120] check-in: [d2bb7aea] user: stephan branch: trunk, size: 13807
02:03
minor cleanup to that last commit. file: [70a21ad7] check-in: [0d6b73f0] user: stephan branch: trunk, size: 13557
01:49
Fixed a bug in /json/user/save which could cause the fossil-internally-defined version of the 'name' param to be used, overwriting a user's name with 'user/save'. The name now _must_ come from the request payload, to avoid this ambiguity. file: [9e7abddb] check-in: [7e25293c] user: stephan branch: trunk, size: 13579
00:17
Fixed /json/user perms discrepancies - Setup users could save but not load other users. file: [93cd6ad2] check-in: [21b57d8c] user: stephan branch: trunk, size: 12878
2012-03-02
18:40
started adding login group support to /json/user/save, but it is incomplete and #if'd out. file: [bc4943eb] check-in: [69d0dbf2] user: stephan branch: trunk, size: 12791
2012-02-17
18:13
removed an old TODO comment. file: [84cbf5cb] check-in: [caddb9b4] user: stephan branch: trunk, size: 11641
12:59
/json/user/save now requires 's' privilege in order to set/remove the 's' privilege or edit another user who currently has the 's' privilege, to somewhat more closely mimic the HTML interface's behaviour. file: [76d8108d] check-in: [02987083] user: stephan branch: trunk, size: 11752
2011-11-05
02:49
/json/user/save now returns the same as user/get, returning the new/updated state. file: [5200ec22] check-in: [bf5de622] user: stephan branch: trunk, size: 11240
02:40
/json/user/save now accepts uid=-1 to mean create-user. Fixed a bug where when renaming a user _and_ setting his password, the password was incorrectly hashed against the old name. file: [0cf41055] check-in: [fa3f6290] user: stephan branch: trunk, size: 10353
01:42
/json/user/save now implies/forces forceLogout=true when renaming, since renaming invalidates any active auth token. Renamed a confusing variable. file: [77985906] check-in: [42c2a327] user: stephan branch: trunk, size: 9175
2011-11-04
20:37
Added configure option --enable-json to enable json features. They are disabled by default. file: [7a7ca13d] check-in: [525816e6] user: json-demo branch: json, size: 8947
18:48
/json/user/save now allows mixing GET/CLI and POST.payload data sources. file: [d860ffd9] check-in: [92b163a0] user: json-demo branch: json, size: 8889
17:13
minor cleanup to the last commit, added a TODO note. file: [4b9322d6] check-in: [14ed7070] user: stephan branch: json, size: 8888
16:43
/json/user/save now accepts its params from _either_ POST.payload _or_ GET/CLI, but does not allow a mixture of inputs. file: [ce2d1759] check-in: [bd9c3b3a] user: stephan branch: json, size: 8699
2011-11-01
01:50
removed erroneous HTTP-only restriction on /json/user/(create, save). file: [3ab32831] check-in: [953e309d] user: stephan branch: json, size: 7988
2011-10-22
16:36
Removed an old warning comment. Removed an incorrect perms check in /json/user/save. Added a TODO. file: [4e460052] check-in: [11373d5b] user: stephan branch: json, size: 7988
15:42
Added forceLogout option to json/user/save. file: [62463395] check-in: [98debcac] user: stephan branch: json, size: 7914
2011-10-21
15:25
Fixed a minor mem leak. Got /json/user/save mostly working. file: [1ae93cfd] check-in: [080acb91] user: stephan branch: json, size: 7693
2011-10-20
07:00
Moved the user-related JSON handlers into their own file. file: [7ac3507a] check-in: [6e18fc2e] user: stephan branch: json, size: 5605 Added