Commit Graph

112 Commits

Author SHA1 Message Date
Arik Fraimovich
3dae7e9523 use currentUser.canEdit in more places 2014-01-14 09:11:19 +02:00
Arik Fraimovich
7d4660173e Show warning of leaving the page only if the user can edit the query. 2014-01-14 09:03:04 +02:00
Arik Fraimovich
612c6a331b Only unbind save shortcut if we're actually leaving the page. 2014-01-14 09:02:10 +02:00
Arik Fraimovich
0c852a145e Only save query if the user can edit it. 2014-01-14 09:01:42 +02:00
Arik Fraimovich
ed2d3a27e7 Add canEdit function to user object.
Checks if currentUser included in the user string the provided object. The reason I check inclusion and not equality, is to support scenario of multiple users.
2014-01-14 09:01:20 +02:00
Arik Fraimovich
de162817af Add the option to specify analytics code to inject into the template. 2014-01-13 16:52:35 +02:00
Arik Fraimovich
fd1acd6533 Save query when pressing Cmd+S. 2014-01-11 20:04:27 +02:00
Arik Fraimovich
7282f61133 Fix: don't show save warning, when switching tabs. 2014-01-11 20:04:12 +02:00
Arik Fraimovich
0687d9ed98 Merge pull request #48 from EverythingMe/feature_query_api_key
Feature: allow downloading CSV of a query by using an API key
2014-01-04 02:00:15 -08:00
Arik Fraimovich
e45a3ebdb4 Allow downloading CSV for unauthenticated users with api_key. 2014-01-04 11:53:45 +02:00
Arik Fraimovich
b72f9f054d Allow downloading CSV by query id and not just query_result id. 2014-01-04 11:21:52 +02:00
Arik Fraimovich
92b9fb60e9 Add api_key field to queries. 2014-01-04 11:09:13 +02:00
Arik Fraimovich
08951ab515 Add BaseAuthenticatedHandler and move authentication logic there. 2014-01-04 10:55:40 +02:00
Arik Fraimovich
c2d2bd0ea1 Fix cookbook path 2014-01-04 10:52:21 +02:00
Arik Fraimovich
ff6204c98e Move vagrant related files to top level 2014-01-04 10:51:05 +02:00
Timor Raiman
c08831ca13 In Vagrantfile, support skiping tarball download, and graft the current development tree in stead 2014-01-04 10:51:04 +02:00
Timor Raiman
c8ef72e4d2 Correct postgresql encrypted vs cleartext passwords 2014-01-04 10:51:04 +02:00
Timor Raiman
b1bd52423a Use md5 digest of readable pg password postgres user 2014-01-04 10:51:04 +02:00
Timor Raiman
4b980b8076 Force postgresql::server in Vagrant 2014-01-04 10:51:04 +02:00
Timor Raiman
63baa20403 Improve Vagrantfile 2014-01-04 10:51:04 +02:00
Timor Raiman
612aca217c Code review by Yoni 2014-01-04 10:51:04 +02:00
Timor Raiman
92b56c99a3 Remove chef cookbooks (migrated to separate repo) 2014-01-04 10:51:04 +02:00
Timor Raiman
349b18d63a Cleanup 2014-01-04 10:51:04 +02:00
Timor Raiman
11d331c051 Still hitting the encoding conversion error 2014-01-04 10:51:04 +02:00
Timor Raiman
63851b16af Add .DS_Store to .gitignore 2014-01-04 10:51:04 +02:00
Timor
4384eed09f add vanila vagrant configuration 2014-01-04 10:51:04 +02:00
Arik Fraimovich
e746805eaa Merge pull request #47 from EverythingMe/fed-issue1
FED issue #1 [r=arikfr]
2013-12-31 01:05:04 -08:00
Amir Nissim
6c480178fe Show confirm box, when trying to leave the page before saving the query (FED #1) 2013-12-30 16:34:48 +02:00
Amir Nissim
7e94cc7ff8 Show indication when query has unsaved changes (FED #1) 2013-12-30 15:11:49 +02:00
Amir Nissim
db20eeb555 Show error notification when saving a query fails (FED #1) 2013-12-30 14:32:07 +02:00
Amir Nissim
9794f12a9b harcode dependencies 2013-12-29 18:25:50 +02:00
Arik Fraimovich
9af88076e6 Limit page title size 2013-12-26 14:09:59 +02:00
Arik Fraimovich
290ae85128 You can't have dashes in object properties. Fixes #42 2013-12-23 21:59:01 +02:00
Arik Fraimovich
5c78760649 Prevent from setting a blank query title. Fixes #34 2013-12-23 21:56:01 +02:00
Arik Fraimovich
3cb8365ef3 Escape % in column names. Fixes #42 2013-12-23 21:33:11 +02:00
Arik Fraimovich
38e95a7f07 Dashboard menu has sub-menus now 2013-12-23 21:23:52 +02:00
Arik Fraimovich
6d392b1c91 having values ordered by Y, messes up the data so removing this 2013-12-22 17:23:39 +02:00
Arik Fraimovich
a8f7028c22 Merge branch 'bug_workers_dying' 2013-12-22 17:05:44 +02:00
Arik Fraimovich
35c7366b96 Fix: need to make sure that each category has a value 2013-12-22 17:05:40 +02:00
Arik Fraimovich
137bd43821 Add afork to mitigate issues of mixing threading and forking 2013-12-18 09:40:48 +02:00
Arik Fraimovich
08c9a0630d Take only needed vals for connection params 2013-12-17 12:46:06 +02:00
Arik Fraimovich
abdc9f75cc More places where I need to use redis_connection 2013-12-17 12:19:50 +02:00
Arik Fraimovich
ecaae1b934 Run annotated queries. 2013-12-17 12:03:10 +02:00
Arik Fraimovich
fc06f8c88e Change Job to use redis connection instead of data manager & use own redis connection in forked process. 2013-12-17 12:02:58 +02:00
Arik Fraimovich
0fc62f07cc Set proctitle for worker 2013-12-16 18:52:30 +02:00
Arik Fraimovich
4afb12669a Add support for refreshing a query once a week 2013-12-13 18:46:14 +02:00
Arik Fraimovich
030864b72b Humanize query runtime 2013-12-08 15:44:46 +02:00
Arik Fraimovich
0bf6e39c66 Improvements to queries page: (#6)
1. Search (client side).
2. Stats about queries.
3. Pagination.
2013-12-08 15:26:35 +02:00
Arik Fraimovich
0d6613b998 Return query stats (runtime and such) in API. 2013-12-08 15:25:44 +02:00
Arik Fraimovich
99875ff746 Bring back browser notifications (#1) 2013-12-07 14:18:39 +02:00