Commit Graph

150 Commits

Author SHA1 Message Date
uu59
7a0c8de799 Merge pull request #85 from hassaku/show_processing_status
Show processing status of plugin install
2014-10-01 16:19:55 +09:00
uu59
548f1c2f53 Merge pull request #83 from kou/converge-admin-user-restriction
Converge codes for user name restriction
2014-10-01 16:19:17 +09:00
hassaku
4e959c1fd2 Refactor logic in view using decorator. 2014-09-30 22:07:52 +09:00
uu59
b3cda88269 Fix to find fleunt-gem command path 2014-09-27 19:15:36 +09:00
uu59
8d5529897f Merge pull request #72 from kou/suppress-list-not-found-message
Suppress "No such file or directory - list" message
2014-09-27 19:10:32 +09:00
Kouhei Sutou
f5c0aaf8f2 Converge codes for user name restriction
The current implementation accepts only "admin" user. Codes for the
restriction exist in several files.

This change converges codes for the restriction to
app/models/user.rb. This change will be helpful when we support more
user names.
2014-09-25 15:55:19 +09:00
uu59
79206b1197 Remove bcrypt gem for packaging issue on Mac 2014-09-02 16:10:53 +09:00
uu59
36b9b8782a Store password into ~/.fluentd-ui dir to keep it after updating 2014-08-22 17:16:15 +09:00
uu59
c8f8a62c23 Refactor: decide fluentd-ui data directory logic to FluentdUI class 2014-08-22 17:11:52 +09:00
Kouhei Sutou
ab903716bc Try to fix wrong try usage
`Object#try` checks "whether receiver is nil or not". It doesn't rescue
any exceptions raised in method call.

    > User.new(name: "admin", password_digest: "invalid-hash").authenticate("X")
    BCrypt::Errors::InvalidHash: invalid hash
            from /var/lib/gems/2.1.0/gems/bcrypt-3.1.7/lib/bcrypt/password.rb:60:in `initialize'
            ...
2014-08-19 21:21:35 +09:00
uu59
ba31ef566a Fix can't setting with regexp on in_tail 2014-08-14 18:29:06 +09:00
uu59
5e704969d2 tag_key is not config param 2014-08-13 18:20:24 +09:00
uu59
242e23732c Add out_elasticsearch setting 2014-08-13 18:12:28 +09:00
Kouhei Sutou
defaa55edb Suppress "No such file or directory - list" message
How to reproduce:

  1. Remove ~/.fluentd-ui/
  2. Run `bin/rails console`
  3. You will see the following output:

         bin/rails: No such file or directory - list
         Loading development environment (Rails 4.1.4)
         irb(main):001:0>
2014-08-07 18:00:41 +09:00
uu59
ec44ba10d6 cosme 2014-07-31 18:30:46 +09:00
uu59
341dc515bf Use full path for /usr/sbin/td-agent --version 2014-07-31 14:29:29 +09:00
uu59
a4eacf0a5b Fix out_s3 unused params 2014-07-31 13:53:19 +09:00
uu59
144cfdeeef Fix to not create zombie 2014-07-31 10:56:52 +09:00
uu59
d8694a6ead Store fluentd setting data to user's home if variant=fluentd_gem 2014-07-30 18:03:41 +09:00
uu59
e7b449f44f FluentGem default setting no require root permission 2014-07-30 17:53:42 +09:00
uu59
24899b7a6a Don't too quickly response of td-agent start/stop/restart 2014-07-30 17:08:38 +09:00
uu59
c11dc64fa4 Save fluentd setting to FLUENTD_UI_DATA_DIR if given for persistent 2014-07-30 16:39:00 +09:00
uu59
0846f18fbb Fix td-agent operation 2014-07-30 16:19:20 +09:00
uu59
edafcf3bb5 Fix out_td setting type name 2014-07-29 11:34:47 +09:00
uu59
dd8fded3a1 Fix to find correct fluent-gem path 2014-07-28 18:37:10 +09:00
uu59
f40200741f Clean up out_td params 2014-07-28 16:15:59 +09:00
uu59
9060243fee Fix can't uninstall plugins 2014-07-28 15:34:56 +09:00
uu59
a9ab6c1270 Fix plugins handling 2014-07-28 15:28:59 +09:00
uu59
f69652cfd6 Remove plugins gemfile handling 2014-07-28 15:13:20 +09:00
uu59
f08009e874 Fix detection installed plugins 2014-07-28 15:09:57 +09:00
uu59
6a4c551d77 Add primitive impl of mutilple <server> on out_forward 2014-07-22 18:33:14 +09:00
uu59
5403234974 Merge remote-tracking branch 'origin/master' into add_output_settings
* origin/master:
  Auto reload fluentd log by default
  Fix if fluentd is not installed
  Replace title with ENV
  Strict detetction fluent-gem command with setup fluentd/td-agent specific
  clickable whole heading element same as fluentd setting page
  Fix fluentd version (not bundle-installed fluentd version)
  Hide plugin pages until fluentd setup finished

Conflicts:
	app/views/shared/_global_nav.html.erb
2014-07-22 14:09:06 +09:00
uu59
da9111a72a Merge pull request #54 from treasure-data/fix_gem_handling
Fix gem handling
2014-07-22 11:09:37 +09:00
uu59
998eb6acf3 Fix if fluentd is not installed 2014-07-18 13:58:30 +09:00
uu59
b36b3eb483 Add <secondary> for out_forward 2014-07-17 16:33:54 +09:00
uu59
1e0d51050c Add spec for Fluentd::Setting::Common 2014-07-17 15:43:45 +09:00
uu59
55ebbe6b80 Refactoring: to_conf -> to_config 2014-07-17 14:09:10 +09:00
uu59
b2594218b0 Simplified out_s3 setting 2014-07-17 14:03:32 +09:00
uu59
b9e4bd7af8 Strict detetction fluent-gem command with setup fluentd/td-agent specific 2014-07-17 13:51:02 +09:00
uu59
4fac24a9bf Fix fluentd version (not bundle-installed fluentd version) 2014-07-17 13:42:36 +09:00
uu59
6ffe053097 Fix form styling 2014-07-17 11:14:19 +09:00
uu59
3ddb412846 Add out_forward setting basis (wip) 2014-07-16 13:33:50 +09:00
uu59
fec145a9d6 Refactoring: out_td rely on Fluentd::Setting::Common 2014-07-14 15:33:54 +09:00
uu59
d47b60a953 Add out_s3 setting basis 2014-07-14 15:09:22 +09:00
uu59
744c6a18ea Add in_syslog setting basis 2014-07-11 12:54:36 +09:00
uu59
ee8e3e5407 Add out_td setting basis 2014-07-11 11:06:23 +09:00
uu59
ed193ac90f Add missing match column for out_mongo 2014-07-11 11:06:23 +09:00
uu59
c833682cc8 Add basis out_mongo setting 2014-07-11 11:06:23 +09:00
uu59
60310228dc Default format is regexp instead of grok 2014-07-09 15:45:10 +09:00
uu59
5f3a5c6b65 Refactoring: dependent model file 2014-07-09 15:43:16 +09:00