Commit Graph

853 Commits

Author SHA1 Message Date
Gert-Jan Timmer 90f966bed9 Add additional tests
Reference: #580
2018-06-01 11:28:29 +02:00
Gert-Jan Timmer 0e289439a2 Update User Authentication
* Update bindings
* Add user authentication sql functions

Reference #579
2018-06-01 11:28:04 +02:00
Gert-Jan Timmer 4a33fcc1d2 Stash
[ci skip]
2018-05-31 16:42:03 +02:00
mattn 6d0b39d7bc
Merge pull request #583 from lucasmrod/bug/#542-nil-byte-slice-to-null-blob
Add nil check in bind and a test
2018-05-31 22:29:18 +09:00
Gert-Jan Timmer f7f8019102 UPD: TestAuthCreateDatabase
* Renamed test
* Implemented 'exists' test
* WIP #580
2018-05-31 14:57:32 +02:00
Gert-Jan Timmer 183e7d61d1 UPD: User Authentication
Implemented table check; only activate User Authentication on a database which has no UA enabled.

Closes #582
2018-05-31 14:55:22 +02:00
Lucas Manuel Rodriguez 140b80506d Add zero-length slice test 2018-05-31 08:22:26 -03:00
Gert-Jan Timmer 2d9b52a482 Fix: Free memory 2018-05-31 09:46:38 +02:00
Lucas Manuel Rodriguez 8d6d326be6 Add nil check in bind and a test 2018-05-30 21:39:01 -03:00
Gert-Jan Timmer 6ae7f98274 ADD: User authentication
* User Authentication Implementation
* Rename file to conform to fileformat `sqlite3_*_omit.go`
* Updated sqlite3-binding.* with new upgrade tool
* Add: callbackRetNil required for error type return because of adding `RegisterFunc`s directly on the connection.
* Add: TestCreateAuthDatabase
2018-05-30 23:48:02 +02:00
Gert-Jan Timmer 3367a7a5f9 Rewrite Upgrade Tool
* Reformat code
* Add download for sqlite-src-*
* Add extract for sqlite source
* Add auto merge of UserAuth module into Amalgamation
2018-05-30 23:48:02 +02:00
mattn 5a7d2e245e
Merge pull request #577 from GJRTimmer/update/docs
Add: Reference to Spatialite
2018-05-31 00:22:18 +09:00
Gert-Jan Timmer 2c4bacc57f Add: Reference to Spatialite
Closes #512

[ci ckip]
2018-05-30 16:28:06 +02:00
Yasuhiro Matsumoto 52b8080d4d
update README.md 2018-05-30 00:11:22 +09:00
mattn 6f53a20d71
Merge pull request #573 from GJRTimmer/fix/pragma
Added PRAGMA's
2018-05-30 00:08:50 +09:00
Gert-Jan Timmer 9965ee1996 Removed Windows Cross-Compile
[ci skip]
2018-05-29 17:03:14 +02:00
Gert-Jan Timmer 0eb0d18f67 Removed Golang:1.8
Updated package for follow official Golang Release Policy.
2018-05-29 15:04:02 +02:00
Gert-Jan Timmer 42560ec600 Fix: Display of secure_delete error message 2018-05-29 14:57:40 +02:00
Gert-Jan Timmer d6b854186d Fix: Condition of queryOnly Variable 2018-05-29 14:57:25 +02:00
Gert-Jan Timmer 4857d602fe Fix: Connection DSN Keys
* Conform keys to match PRAGMA
* UPD: README
* Fix error of _auto_vacuum
* Fix error of _case_sensitive_like
* Fix error of _locking_mode
* Fix error of _secure_delete
2018-05-29 14:11:49 +02:00
Gert-Jan Timmer 24cbd402e4 ADD: PRAGMA writable_schema 2018-05-29 14:01:33 +02:00
Gert-Jan Timmer cb041405c6 ADD: PRAGMA synchronous 2018-05-29 13:55:31 +02:00
Gert-Jan Timmer 619236f55e Add: Copyright for additional Features 2018-05-29 13:43:22 +02:00
Gert-Jan Timmer 6a80b70b7a Add: PRAGMA secure_delete
ADD: Connection PRAGMA
ADD: Build tag for secure_delete mode: FAST
2018-05-29 13:41:52 +02:00
Gert-Jan Timmer 764e391156 ADD: PRAGMA query_only 2018-05-29 13:29:06 +02:00
Gert-Jan Timmer 9e79299c09 Add: Documentation for opening as Immutable 2018-05-29 13:23:39 +02:00
Gert-Jan Timmer f14a7566f9 ADD: PRAGMA locking_mode 2018-05-29 13:19:40 +02:00
Gert-Jan Timmer e02bbc0381 ADD: PRAGMA journal_mode 2018-05-29 13:13:38 +02:00
Gert-Jan Timmer a159b5d1ab Fix: String ToLower for PRAGMA's 2018-05-29 13:06:07 +02:00
Gert-Jan Timmer 46fb6884f2 Update README
ADD: Comments for SQLite Access Mode
ADD: Comments for SQLite Shared-Cache Mode
UPD: README
  * Add Access Mode in Connection String Table
2018-05-29 13:02:28 +02:00
Gert-Jan Timmer a5150a8e01 ADD: Additional Copyright line 2018-05-29 12:20:11 +02:00
Gert-Jan Timmer cac1feb8c7 Update Comments 2018-05-29 12:19:57 +02:00
Gert-Jan Timmer a4b55e1a40 ADD: PRAGMA ignore_check_constraints 2018-05-29 12:19:46 +02:00
Gert-Jan Timmer 37d3ff3d86 Update Comments 2018-05-29 12:10:05 +02:00
Gert-Jan Timmer 7393095f07 ADD: PRAGMA defer_foreign_keys 2018-05-29 12:09:56 +02:00
Gert-Jan Timmer 4ab48f1935 Update Recursive Triggers
ADD: Multiple Key
2018-05-29 12:03:18 +02:00
Gert-Jan Timmer bb42c28ba5 Fix: pkey
Ensure pkey is empty for next condition
2018-05-29 12:01:25 +02:00
Gert-Jan Timmer afd179bd93 Update Foreign Keys PRAGMA
ADD: Multiple key
2018-05-29 11:58:29 +02:00
Gert-Jan Timmer f087cd79b2 Update Busy Timeout PRAGMA
ADD: multiple key
2018-05-29 11:54:47 +02:00
Gert-Jan Timmer 95237557d2 ADD: PRAGMA case_sensitive_like
ADD: Comments
UPD: README
2018-05-29 11:46:53 +02:00
Gert-Jan Timmer efc41bcd27 Update Connection Options
* Rewrite order of options
* ADD: PRAGMA auto_vacuum
* ADD: Multi Boolean values
* UPD: README
* FIX: Case-Sensitive values
* Reduced code for:
  - foreign_keys
  - recursive_triggers
2018-05-29 11:34:28 +02:00
mattn a5cc8a2afa
Merge pull request #572 from GJRTimmer/update/docs
Update/docs
2018-05-28 09:48:08 +09:00
Gert-Jan Timmer 72ddc06453 Update README
Add DSN Connections string table.

[ci skip]
2018-05-27 23:00:56 +02:00
Gert-Jan Timmer a587d7d84f Update TOC to match README
[ci skip]
2018-05-27 16:43:41 +02:00
Gert-Jan Timmer ce3d9bd4ed Exclude vscode settings 2018-05-27 16:38:22 +02:00
mattn 694900d720
Merge pull request #571 from GJRTimmer/fix/fmt
fmt update
2018-05-27 22:22:03 +09:00
mattn 64af6008b1
Merge pull request #570 from GJRTimmer/update/docs
Update/docs
2018-05-27 22:19:13 +09:00
Gert-Jan Timmer 420bfbcac8 fmt update
Fix: Placed all +build tags in the same location
Fix: Split CFLAGS, LDFLAGS into seperate lines for readability and lookup
Fix: Placed empty line between copyright comments and build tags for readability
Fix: Placed OS specfic cgo flags at the end if the cgo sections contains multiple lines.
2018-05-27 00:05:45 +02:00
Gert-Jan Timmer cf4b585971 Moved Alpine to Linux Section
[ci skip]
2018-05-26 22:51:07 +02:00
Gert-Jan Timmer c9394b1e02 Update documentation
Compile Section Closes #175
Compile Section Closes #201
Compile Section Closes #206
Compile Section Closes #404
Compile Section Closes #217
Compile Section Closes #224
Compile Section Closes #234
Compile Section Closes #242
Feature table Closes #255
Description Section Closes #232
Golang:1.6 not supported Closes #272
Golang:1.5 not supported + compilation section Closes #283
usleep Implemented Closes #285
FAQ Section Closes #289
Compile Section closes #295
FAQ Section Closes #305
PR339 Closes #318 #321
Compilation Section Closes #341
PR407 Closes #364
Feature `sqlite_vtable` Closes #393
Compile Section Closes #416
sqlite_trace feature Closes #433
Compilation Section Closes #435
Compilation Section Closes #443
Golang:1.6 Not Supported Closes #445
Compilation Section Closes #451
Compilation Section Closes #467
Compilation Section Closes #491
Compilation Section Closes #495
Compilation Section Closes #505
Compilation Section Closes #557
Compilation Section Closes #560
[ci skip]
2018-05-26 22:50:06 +02:00