Commit Graph

230 Commits

Author SHA1 Message Date
yoshihara
761322280d Use if instead of unless for readability 2015-04-08 18:26:31 +09:00
yoshihara
27f550e9ea Use the correct error message to unmatched password with password_confirmation 2015-04-08 17:40:36 +09:00
yoshihara
2e2f4f66e8 Fix the bug that password is changed unexpectedly when confirm is wrong
model spec is broken, so i fix it.
2015-04-08 17:40:36 +09:00
yoshihara
8f21c5f68c Prevent zombie processes from increasing
fixes #165

Before, in dashboard, clicking "Start" button creates a process as
zombie, but clicking "Stop" button doesn't kill it. This change prevents
it from becoming zombie.
2015-04-01 15:06:04 +09:00
uu59
fb0c7137c9 Merge pull request #160 from fluent/buffer_path_and_buffer_type
Fix #158 validation for buffer_path when buffer_type is 'file'
2015-03-11 13:37:01 +09:00
uu59
430bffded7 Fix #158 validation for buffer_path when buffer_type is 'file' 2015-03-04 11:42:55 +09:00
uu59
6b034ee718 Fix #157 remove parameters causing warn on fluentd 2015-03-04 11:26:53 +09:00
uu59
a5a3700a76 Use #send for private method on 1.9.3 2015-02-10 15:57:10 +09:00
uu59
f4495337fc Resolve TODO by removing so that was unused anywhere 2015-02-10 15:55:39 +09:00
uu59
d6f9992a48 Rename: FluentdUiLog -> FluentdLog 2015-02-10 15:49:56 +09:00
uu59
b5d4be2659 Fluentd::Agent::Log is now dependent class. Use composite 2015-02-10 14:58:54 +09:00
uu59
9b2d968bc1 Separate Common module by concerns 2015-02-10 13:51:04 +09:00
uu59
b6b34ff482 Add marker for Common methods 2015-02-04 18:18:11 +09:00
uu59
e82e81e234 Re-order methods 2015-02-04 17:49:04 +09:00
uu59
098f00b48d Also dryrun! is required to be defined 2015-02-04 17:04:40 +09:00
uu59
3b34c720b5 wait_process_starting_seconds is not common (used at fluentd_gem only) 2015-02-04 17:04:14 +09:00
uu59
73b9a01289 LocalCommon and Common was separated by historical reason. it's time to be one 2015-02-04 16:55:55 +09:00
uu59
5dcd1fdf46 more human friendly name 2015-02-04 16:23:06 +09:00
uu59
e0f0ccdc3b DRY 2015-02-04 16:12:05 +09:00
uu59
f54a5a24ff Add dryrun button to setting#edit 2015-02-04 15:03:25 +09:00
uu59
cc300d46a9 Agent#dryrun learned file_path argument for arbitrary config file checking 2015-02-04 12:58:52 +09:00
uu59
1eac4a464a Workaround sometimes FluentGem.list fail 2015-02-04 10:54:15 +09:00
uu59
67afddc32a Add debug info on Circle CI failed 2015-01-28 18:10:38 +09:00
鳥井 雪
438ed3d518 Fix #logged_error bugs.
Before, it put serial other error log into one error subject and it's notes.
Fix to divide them into each error subject
2015-01-15 15:06:19 +09:00
鳥井 雪
c821c65da0 Fix to avoid pass Enumerator to Rails.cache.fetch
when no data exists
2015-01-14 15:26:02 +09:00
uu59
5fe3ef7de4 cosme 2015-01-14 14:31:34 +09:00
uu59
1c08790abf Add tests and fix dryrun 2015-01-14 14:29:41 +09:00
uu59
afc6cca460 Ensure exit status code for detached_command method result 2015-01-14 13:42:32 +09:00
uu59
f80ab8a69a Add dryrun method to agents 2015-01-14 13:38:14 +09:00
uu59
0856c4e26c Follow out_s3 plugin ver 0.5.x 2015-01-14 10:49:56 +09:00
Ryan T. Hosford
844148db4e Addresses duplicate code in plugin model 2015-01-13 00:27:09 -06:00
hassaku
5de418539f Remove also note file at the same time as removing backup config file. 2015-01-07 18:23:15 +09:00
hassaku
9cc12f7bc3 Show exceptions if updating note fails. 2015-01-07 17:34:02 +09:00
hassaku
336e22bea7 Change termination regular expression properly. 2015-01-07 17:27:10 +09:00
hassaku
fdcb704bec Escape argument not to substitute unintended path (fix another again). 2015-01-07 17:14:10 +09:00
hassaku
974869a6a8 Escape argument not to substitute unintended path. 2015-01-07 15:17:29 +09:00
hassaku
b8ca05a16c Touch an empty file if note doesn't exist. 2015-01-07 15:13:37 +09:00
hassaku
e2e884e317 Add method to update content of note. 2015-01-07 13:56:22 +09:00
hassaku
5c3e8952bc Fix to define file_path_of as class method. 2015-01-07 12:40:27 +09:00
hassaku
a28b71084c Associate a note with a backup file. 2015-01-07 12:06:44 +09:00
hassaku
7a95af83ce Add Note class to memo about backup files. 2015-01-07 12:05:57 +09:00
hassaku
bb7786499b Extract common procedures into module. 2015-01-07 12:03:54 +09:00
鳥井 雪
92134654ea Make dir app/models/fluentd/setting_archive/
and move backup_file model under it. prepare for gathering models that concernig about archive
2014-12-26 14:59:50 +09:00
uu59
40de266d37 Merge pull request #123 from fluent/remove_dead_code
Remove dead code
2014-12-18 12:43:27 +09:00
鳥井 雪
6105886705 Change to use application.yml setting instead of hard coded number 2014-12-17 18:44:17 +09:00
鳥井 雪
7b65e03cc8 Change to use File.join instead of string concatenation
because File.join makes the purpose of code clear and do it safely
2014-12-17 18:19:01 +09:00
鳥井 雪
c4eb06f5ba Chamge method name #backup_files -> #backup_files_in_old_order
to make its sort function clearer, and Refactor #remove_over_backup_files by using it
2014-12-17 18:09:04 +09:00
uu59
47328af9c9 Remove Fluentd::Agent::Remote 2014-12-17 17:08:01 +09:00
鳥井 雪
560035b185 Add UI for running bacukp config 2014-12-17 17:04:24 +09:00
uu59
8f0086abb5 Remove Fluentd::Api 2014-12-17 16:58:11 +09:00