Commit Graph
742 Commits
Author SHA1 Message Date
calebmer ad555986d4 Error refactors 2015-11-16 17:28:39 -05:00
Joe Nelson aa87853e71 Merge pull request #373 from begriffs/schema-templates
Schema templates
2015-11-16 13:27:32 -08:00
Joe Nelson 65c5054c93 Merge pull request #372 from ruslantalpa/app_refactor
App.hs refactor (3)
2015-11-16 13:21:22 -08:00
Joe Nelson 8711362cf6 Merge pull request #370 from ruslantalpa/add_type_syn
Add type synonyms to to beter explain things that used to be Text (2)
2015-11-16 08:52:06 -08:00
Joe Nelson 57aad6baa6 Merge pull request #369 from ruslantalpa/master
Clean up things like T.Text T.intercalate in QueryBuilder (1)
2015-11-16 08:49:22 -08:00
Ruslan Talpa 0c3545fa09 App.hs refactor 2015-11-16 12:26:55 +02:00
Ruslan Talpa 75646247f2 Add type synonims to to beter explain things that used to be Text 2015-11-16 10:40:46 +02:00
Ruslan Talpa 3152b24d3f Clean up things like T.Text T.intercalate in QueryBuilder 2015-11-16 09:55:10 +02:00
Joe Nelson 8171a9959d Merge pull request #363 from diogob/refactor_query_builder
Merge PgQuery and QueryBuilder...
2015-11-15 10:30:29 -08:00
Joe Nelson c4018ad882 Merge pull request #366 from calebmer/patch-1
Summarize column synonym change
2015-11-15 09:21:52 -08:00
Caleb Meredith 62951f29ac Update CHANGELOG.md 2015-11-15 11:05:52 -05:00
Diogo Biazus 9dc3399d4a Adds Schema type alias back to QueryBuilder 2015-11-15 10:18:34 -05:00
Joe Nelson e0c99f52e0 Merge pull request #364 from ruslantalpa/master
Shape mutation response feture mention in changelog
2015-11-14 23:04:29 -08:00
Ruslan Talpa 6c0966f656 shape mutation response feture mention in changelog 2015-11-15 08:27:34 +02:00
Diogo Biazus 9da7db9e09 Moves some top level bindings to 'where' when it makes sense 2015-11-14 23:08:35 -05:00
Diogo Biazus f47d5e52f4 Moves all PgQuery module to QueryBuilder 2015-11-14 22:54:55 -05:00
Diogo Biazus fbe6600ff1 Makes exports explicit and move some functions around 2015-11-14 22:43:03 -05:00
Joe Nelson a6cfecbc29 Merge v3 2015-11-14 17:52:05 -08:00
Joe Nelson 51e1d8d796 Merge pull request #353 from calebmer/feature/view-relations
Better view relations
2015-11-14 10:00:46 -08:00
calebmer 0bf3dd9b1c Remove extraneous files 2015-11-14 08:02:09 -05:00
Joe Nelson 98caf9e091 Light validation on email column 2015-11-13 13:16:40 -08:00
Joe Nelson 71e6d0414d Inline constraints 2015-11-13 12:59:45 -08:00
calebmer 3794d358b4 Prettify monads 2015-11-12 15:09:28 -05:00
calebmer 2f6254f44c Rename DbStructure names 2015-11-12 15:01:23 -05:00
Joe Nelson 6cc493da6b Version 0.2.12.1 v0.2.12.1 2015-11-12 11:06:11 -08:00
Joe Nelson e8bac0c739 Merge pull request #355 from ruslantalpa/v3
Small bug fix introduced by the last JWT PR
2015-11-12 08:40:21 -08:00
calebmer 0f5bc34c04 Remove fromJust assumptions 2015-11-12 08:22:27 -05:00
Ruslan Talpa 6e9a28ba3c fix the missing status400 include 2015-11-12 15:19:11 +02:00
calebmer acb8f8a154 Fix failing insert test 2015-11-12 08:14:14 -05:00
Ruslan Talpa eb94c507f9 remove secure flag from debian config 2015-11-12 15:07:40 +02:00
calebmer 1061854f35 Resolve SQL errors 2015-11-12 07:38:11 -05:00
calebmer b8b073810f Rename functions 2015-11-11 15:53:52 -05:00
Joe Nelson 22c50392e5 Merge pull request #344 from calebmer/feature/jwt-expire
Ensure JWT expires
2015-11-11 08:31:20 -08:00
Joe Nelson 80928535b0 Active flag is more accurately called verified 2015-11-11 08:15:06 -08:00
calebmer 0374d4e651 Add tables back to DbStructure 2015-11-11 10:32:19 -05:00
calebmer 16af8fc61e Better relations for views
- Better column synonyms detection
- Raise relations to accessible schema when possible
2015-11-11 09:11:57 -05:00
calebmer e1e4fe6d5c Types reference each other 2015-11-11 09:09:53 -05:00
calebmer 3a682360f3 Remove view relations from sql statement 2015-11-11 09:03:06 -05:00
calebmer 7560fafbab Refactor DbStructure
- Rename `dbstructure` to `db` in App.hs
- Rename PgStructure* to DbStructure*
- Move `DbStructure` creation to DbStructure.hs
2015-11-11 09:03:06 -05:00
calebmer 62cb8e0453 Cleanup JWT expires 2015-11-11 08:34:50 -05:00
Joe Nelson 3f1d2d8ed9 Merge pull request #342 from ruslantalpa/v3
Refactoring & 	Revert to the old way of displaying the list of tables
2015-11-11 01:03:07 -08:00
Joe Nelson ad316841f2 Restrict possible values of token_type 2015-11-10 21:09:56 -08:00
Joe Nelson 807e4b7787 Turn signup() into a plain sql function 2015-11-10 21:07:14 -08:00
Joe Nelson 91f15aa0e3 Use uuid type for token and name for role 2015-11-10 21:00:50 -08:00
Joe Nelson bda5f0a176 Match trigger names with their functions 2015-11-10 21:00:50 -08:00
Joe Nelson 86d992c21f Roles 2015-11-10 21:00:50 -08:00
Joe Nelson a508f8df37 Remove usernames, just use email 2015-11-10 21:00:50 -08:00
Joe Nelson 1b28f77854 Allow authors to see only themselves in /users 2015-11-10 21:00:50 -08:00
Joe Nelson c8479e792f Actual blog and row level security! 2015-11-10 21:00:50 -08:00
Joe Nelson 22fb13b30a Shorten login function to login 2015-11-10 21:00:50 -08:00