diff --git a/.php-cs-fixer.cache b/.php-cs-fixer.cache index a3704fb2..ae4b6891 100644 --- a/.php-cs-fixer.cache +++ b/.php-cs-fixer.cache @@ -1 +1 @@ -{"php":"8.0.6","version":"3.0.0:v3.0.0#c15377bdfa8d1ecf186f1deadec39c89984e1167","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"length"},"blank_line_before_statement":{"statements":["break","case","continue","declare","default","do","exit","for","foreach","goto","if","include","include_once","require","require_once","return","switch","throw","try","while","yield","yield_from"]},"no_extra_blank_lines":{"tokens":["break","case","continue","curly_brace_block","default","extra","parenthesis_brace_block","return","square_brace_block","switch","throw","use","use_trait"]},"cast_spaces":{"space":"single"},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_space_after_construct":true,"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":{"elements":["arrays"]},"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"method_chaining_indentation":true,"array_indentation":true,"single_quote":true,"no_singleline_whitespace_before_semicolons":true,"no_empty_statement":true,"standardize_increment":true,"object_operator_without_whitespace":true,"ternary_operator_spaces":true,"no_leading_namespace_whitespace":true,"no_blank_lines_before_namespace":true,"fully_qualified_strict_types":true,"single_line_throw":true,"function_typehint_space":true,"simplified_if_return":true,"no_useless_else":true,"no_unneeded_curly_braces":true,"no_empty_comment":true,"no_blank_lines_after_class_opening":true,"whitespace_after_comma_in_array":true,"trim_array_spaces":true,"no_whitespace_before_comma_in_array":true,"lowercase_static_reference":true},"hashes":{"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder3085\/tests\/Feature\/Accounts\/UserAccountTest.php":2818860927,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8840\/config\/language-translations.php":3996275129,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder3225\/config\/language-translations.php":968196802,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder12091\/tests\/Feature\/Accounts\/UserAccountTest.php":2818860927,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder11739\/tests\/Feature\/Accounts\/UserAccountTest.php":2818860927,"tests\/Feature\/Accounts\/UserAccountTest.php":2818860927,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder1621\/tests\/Feature\/Accounts\/UserAccountTest.php":2818860927,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14595\/tests\/Feature\/Accounts\/UserAccountTest.php":2818860927,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9993\/tests\/Feature\/Accounts\/AuthTest.php":2599879418,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2372\/config\/language-translations.php":968196802,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder3447\/config\/language-translations.php":1644576940,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2261\/config\/language-translations.php":1644576940,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8736\/config\/language-translations.php":3152466474,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder467\/config\/language-translations.php":3152466474,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder16282\/app\/Http\/Resources\/PaymentCardResource.php":407843952,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder15017\/config\/language-translations.php":3152466474,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9876\/config\/language-translations.php":3152466474,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7894\/config\/language-translations.php":3152466474,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9100\/config\/language-translations.php":4255816408,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14857\/config\/language-translations.php":2497817096,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder10636\/config\/language-translations.php":2917672694,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5540\/config\/language-translations.php":890755240,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder12523\/config\/language-translations.php":1326394714,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder11943\/config\/language-translations.php":1326394714,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7936\/config\/language-translations.php":1326394714,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14020\/config\/language-translations.php":1326394714,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8390\/config\/language-translations.php":1326394714,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14689\/config\/language-translations.php":1326394714,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13181\/config\/language-translations.php":35897602,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder12887\/config\/language-translations.php":1010176214,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder10460\/config\/language-translations.php":1949238449,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13950\/config\/language-translations.php":3532171774,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder6048\/config\/language-translations.php":3532171774,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2068\/config\/language-translations.php":3532171774,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder6690\/config\/language-translations.php":1919858609,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder6154\/config\/language-translations.php":93583694,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder4508\/config\/language-translations.php":4185607772,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17743\/config\/language-translations.php":4185607772,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9956\/config\/language-translations.php":32832972,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17611\/config\/language-translations.php":32832972,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14346\/config\/language-translations.php":4294390446,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder3316\/config\/language-translations.php":4294390446,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17710\/config\/language-translations.php":872318450,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14951\/config\/language-translations.php":872318450,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9150\/config\/language-translations.php":1778114255,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14815\/config\/language-translations.php":200104815,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder3190\/config\/language-translations.php":3689857065,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7905\/config\/language-translations.php":3689857065,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5788\/config\/language-translations.php":1486013592,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7400\/config\/language-translations.php":3636777877,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9931\/config\/language-translations.php":186341435,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13969\/config\/app.php":2330968557,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5333\/config\/database.php":2792060856,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder11530\/config\/language-translations.php":186341435,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder11211\/config\/language-translations.php":186341435,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder15655\/config\/language-translations.php":1422245871,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8083\/config\/language-translations.php":756797023,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9475\/config\/language-translations.php":756797023,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17383\/config\/language-translations.php":2872387853,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13179\/config\/language-translations.php":3981374727,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8086\/config\/language-translations.php":721855023,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9523\/config\/language-translations.php":1793536544,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7156\/config\/language-translations.php":2812499184,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder1553\/config\/language-translations.php":1808611308,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13934\/config\/language-translations.php":3786294257,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17450\/config\/language-translations.php":1119990079,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder6277\/config\/language-translations.php":2519952651,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder16218\/config\/language-translations.php":990350060,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5445\/config\/language-translations.php":990350060,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8750\/config\/language-translations.php":990350060,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5236\/config\/language-translations.php":990350060,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5283\/config\/language-translations.php":990350060,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13206\/config\/language-translations.php":990350060,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13704\/config\/language-translations.php":2711338644,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14441\/config\/language-translations.php":462202710,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder10614\/config\/language-translations.php":1678367858,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8609\/config\/language-translations.php":1273395644,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder15883\/config\/language-translations.php":2332819527,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17604\/config\/language-translations.php":1820945206,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder725\/config\/language-translations.php":1820945206,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder6119\/config\/language-translations.php":4282996039,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8587\/config\/language-translations.php":4282996039,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7420\/config\/language-translations.php":60239770,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17475\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder912\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7230\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder16758\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9134\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder6779\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder18341\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder4431\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13872\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder11849\/config\/language-translations.php":2765252077,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder3870\/config\/language-translations.php":467014911,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder15596\/config\/language-translations.php":1693631035,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8481\/config\/language-translations.php":2449374504,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder18969\/config\/language-translations.php":2262053922,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder12209\/config\/language-translations.php":807377541,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5768\/config\/language-translations.php":197704828,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9869\/config\/language-translations.php":2466576462,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder3258\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder4599\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14771\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder11372\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5162\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14129\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder10415\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder16860\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5090\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14635\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7636\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2972\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder172\/config\/language-translations.php":3969470589,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8399\/config\/language-translations.php":2977918619,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder804\/config\/language-translations.php":3189992671,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder614\/config\/language-translations.php":568321603,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14542\/config\/language-translations.php":1982473158,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9443\/config\/language-translations.php":3708219726,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2625\/config\/language-translations.php":3708219726,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5104\/config\/language-translations.php":2939664881,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2908\/config\/language-translations.php":2939664881,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder7751\/config\/language-translations.php":4271473994,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder787\/config\/language-translations.php":941384546,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder3583\/config\/language-translations.php":3485321800,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8800\/config\/language-translations.php":307108965,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14590\/config\/language-translations.php":307108965,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13239\/config\/language-translations.php":307108965,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2370\/config\/language-translations.php":307108965,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder1218\/config\/language-translations.php":3375186685,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder5434\/config\/language-translations.php":1943934179,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder12803\/config\/language-translations.php":1943934179,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder15087\/routes\/web.php":2818253027,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder9126\/config\/language-translations.php":2716221461,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder12526\/routes\/user.php":4259547085,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder776\/routes\/user.php":2119467047,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder18290\/routes\/user.php":2724257672,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17880\/routes\/user.php":3037152741,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2756\/routes\/user.php":1484089765,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14794\/routes\/user.php":933146807,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder2098\/routes\/user.php":1520871366,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8203\/routes\/user.php":2629193652,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder14792\/routes\/user.php":2030440071,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder13476\/routes\/user.php":2030440071,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder12569\/routes\/user.php":2346405651,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder1890\/routes\/user.php":2346405651,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder8229\/routes\/user.php":2346405651,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder11201\/routes\/user.php":2030440071,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder17920\/routes\/user.php":4259547085,"\/private\/var\/folders\/vp\/zs98n_0x39z7xqv0kntn4f2h0000gn\/T\/PHP CS Fixertemp_folder19413\/routes\/user.php":4259547085}} \ No newline at end of file +{"php":"8.0.5","version":"3.0.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"length"},"blank_line_before_statement":{"statements":["break","case","continue","declare","default","do","exit","for","foreach","goto","if","include","include_once","require","require_once","return","switch","throw","try","while","yield","yield_from"]},"no_extra_blank_lines":{"tokens":["break","case","continue","curly_brace_block","default","extra","parenthesis_brace_block","return","square_brace_block","switch","throw","use","use_trait"]},"cast_spaces":{"space":"single"},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_space_after_construct":true,"no_unused_imports":true,"not_operator_with_successor_space":true,"trailing_comma_in_multiline":{"elements":["arrays"]},"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":{"operators":{"=>":"align"}},"method_chaining_indentation":true,"array_indentation":true,"single_quote":true,"no_singleline_whitespace_before_semicolons":true,"no_empty_statement":true,"standardize_increment":true,"object_operator_without_whitespace":true,"ternary_operator_spaces":true,"no_leading_namespace_whitespace":true,"no_blank_lines_before_namespace":true,"fully_qualified_strict_types":true,"single_line_throw":true,"function_typehint_space":true,"simplified_if_return":true,"no_useless_else":true,"no_unneeded_curly_braces":true,"no_empty_comment":true,"no_blank_lines_after_class_opening":true,"whitespace_after_comma_in_array":true,"trim_array_spaces":true,"no_whitespace_before_comma_in_array":true,"lowercase_static_reference":true},"hashes":{"app\/Notifications\/SharedSendViaEmail.php":113607832,"app\/Notifications\/ResetPassword.php":217123398,"app\/Models\/Invoice.php":3427012087,"app\/Models\/Folder.php":774866902,"app\/Models\/UserSettings.php":3400206961,"app\/Models\/User.php":133004558,"app\/Models\/Share.php":131227417,"app\/Models\/Setting.php":3917536845,"app\/Models\/File.php":12791111,"app\/Models\/Language.php":1756684391,"app\/Models\/Page.php":907354308,"app\/Models\/Zip.php":2771946819,"app\/Models\/LanguageTranslation.php":1555765712,"app\/Models\/Traffic.php":2512673789,"app\/Providers\/RouteServiceProvider.php":1199007651,"app\/Providers\/AuthServiceProvider.php":169859517,"app\/Providers\/BroadcastServiceProvider.php":3541093703,"app\/Providers\/FortifyServiceProvider.php":1782055566,"app\/Providers\/EventServiceProvider.php":3395009334,"app\/Providers\/AppServiceProvider.php":386165394,"app\/Rules\/DisabledMimetypes.php":3208905600,"app\/Exceptions\/Handler.php":1302274777,"app\/Actions\/Fortify\/UpdateUserProfileInformation.php":3856897817,"app\/Actions\/Fortify\/UpdateUserPassword.php":1722429031,"app\/Actions\/Fortify\/ResetUserPassword.php":4190615589,"app\/Actions\/Fortify\/CreateNewUserAction.php":3364212340,"app\/Actions\/Fortify\/PasswordValidationRules.php":2923916238,"app\/Services\/HelperService.php":3229683643,"app\/Services\/SetupService.php":1722905884,"app\/Services\/DemoService.php":3443050092,"app\/Services\/StripeService.php":3132959360,"app\/Services\/FileManagerService.php":1257054593,"app\/Services\/LanguageService.php":1337481237,"app\/Services\/SchedulerService.php":4193502914,"app\/Console\/Commands\/SetupDevEnvironment.php":1370191801,"app\/Console\/Commands\/SetupProdEnvironment.php":1315470988,"app\/Console\/Kernel.php":1910177275,"app\/Http\/Mail\/SendContactMessage.php":594829001,"app\/Http\/Notifications\/ConfirmPayment.php":332683570,"app\/Http\/Controllers\/User\/SubscriptionController.php":2751297300,"app\/Http\/Controllers\/User\/PaymentMethodsController.php":2668275135,"app\/Http\/Controllers\/User\/AccountController.php":1508255389,"app\/Http\/Controllers\/FileManager\/EditItemsController.php":2785195430,"app\/Http\/Controllers\/FileManager\/FavouriteController.php":2757720034,"app\/Http\/Controllers\/FileManager\/BrowseController.php":4160971047,"app\/Http\/Controllers\/FileManager\/FileAccessController.php":755754173,"app\/Http\/Controllers\/FileManager\/ShareController.php":3375932059,"app\/Http\/Controllers\/FileManager\/TrashController.php":3425626945,"app\/Http\/Controllers\/Controller.php":2646027293,"app\/Http\/Controllers\/Admin\/PagesController.php":3260477919,"app\/Http\/Controllers\/Admin\/UserController.php":43409753,"app\/Http\/Controllers\/Admin\/DashboardController.php":813458242,"app\/Http\/Controllers\/Admin\/SettingController.php":3120704415,"app\/Http\/Controllers\/Admin\/LanguageController.php":1495279422,"app\/Http\/Controllers\/Admin\/InvoiceController.php":2147703671,"app\/Http\/Controllers\/Admin\/PlanController.php":297053207,"app\/Http\/Controllers\/Sharing\/BrowseShareController.php":3494780990,"app\/Http\/Controllers\/Sharing\/FileSharedAccessController.php":2079123015,"app\/Http\/Controllers\/Sharing\/ManipulateShareItemsController.php":4088697328,"app\/Http\/Controllers\/Auth\/ForgotPasswordController.php":2521654140,"app\/Http\/Controllers\/Auth\/VerificationController.php":260994322,"app\/Http\/Controllers\/Auth\/AuthController.php":2265816480,"app\/Http\/Controllers\/Auth\/ConfirmPasswordController.php":711266715,"app\/Http\/Controllers\/Auth\/LoginController.php":2932123434,"app\/Http\/Controllers\/Auth\/ResetPasswordController.php":348514476,"app\/Http\/Controllers\/Subscription\/StripeWebhookController.php":2426977191,"app\/Http\/Controllers\/App\/Maintenance.php":96974254,"app\/Http\/Controllers\/App\/AppFunctionsController.php":2511361643,"app\/Http\/Controllers\/App\/SetupWizardController.php":1744420998,"app\/Http\/Requests\/User\/UpdateUserPasswordRequest.php":2221986665,"app\/Http\/Requests\/User\/UserCreateAccessTokenRequest.php":4038761682,"app\/Http\/Requests\/SetupWizard\/StoreDatabaseCredentialsRequest.php":602982257,"app\/Http\/Requests\/SetupWizard\/StoreStripeCredentialsRequest.php":1588619865,"app\/Http\/Requests\/SetupWizard\/StoreStripePlansRequest.php":3654298680,"app\/Http\/Requests\/SetupWizard\/StoreAppSetupRequest.php":1119996339,"app\/Http\/Requests\/SetupWizard\/StoreStripeBillingRequest.php":2569186739,"app\/Http\/Requests\/SetupWizard\/StoreEnvironmentSetupRequest.php":4136423662,"app\/Http\/Requests\/FileBrowser\/SearchRequest.php":202095165,"app\/Http\/Requests\/Payments\/RegisterNewPaymentMethodRequest.php":3499435528,"app\/Http\/Requests\/PublicPages\/SendContactMessageRequest.php":3774635559,"app\/Http\/Requests\/Admin\/DeleteUserRequest.php":2636618911,"app\/Http\/Requests\/Admin\/ChangeStorageCapacityRequest.php":2787589842,"app\/Http\/Requests\/Admin\/ChangeRoleRequest.php":377188311,"app\/Http\/Requests\/Admin\/CreateUserByAdmin.php":1187439409,"app\/Http\/Requests\/Auth\/CheckAccountRequest.php":708120184,"app\/Http\/Requests\/Subscription\/StoreUpgradeAccountRequest.php":2224778578,"app\/Http\/Requests\/Languages\/CreateLanguageRequest.php":2413927892,"app\/Http\/Requests\/Languages\/UpdateStringRequest.php":325219474,"app\/Http\/Requests\/Languages\/UpdateLanguageRequest.php":2759186372,"app\/Http\/Requests\/FileFunctions\/RenameItemRequest.php":3723095090,"app\/Http\/Requests\/FileFunctions\/DeleteItemRequest.php":1266391068,"app\/Http\/Requests\/FileFunctions\/MoveItemRequest.php":2207518417,"app\/Http\/Requests\/FileFunctions\/UploadRequest.php":3708306514,"app\/Http\/Requests\/FileFunctions\/CreateFolderRequest.php":3692937785,"app\/Http\/Requests\/Share\/AuthenticateShareRequest.php":1928811787,"app\/Http\/Requests\/Share\/UpdateShareRequest.php":3029590464,"app\/Http\/Requests\/Share\/CreateShareRequest.php":623520874,"app\/Http\/Middleware\/RedirectIfAuthenticated.php":4037446582,"app\/Http\/Middleware\/EncryptCookies.php":1502216959,"app\/Http\/Middleware\/CheckForMaintenanceMode.php":3053801562,"app\/Http\/Middleware\/Authenticate.php":829439188,"app\/Http\/Middleware\/VerifyCsrfToken.php":2876451146,"app\/Http\/Middleware\/TrustProxies.php":3573151230,"app\/Http\/Middleware\/PreventRequestsDuringMaintenance.php":2280943271,"app\/Http\/Middleware\/TrimStrings.php":10633912,"app\/Http\/Resources\/UserSubscription.php":2726832096,"app\/Http\/Resources\/UserStorageResource.php":2500526056,"app\/Http\/Resources\/UserResource.php":1698497840,"app\/Http\/Resources\/PlanCollection.php":1402537053,"app\/Http\/Resources\/InvoiceAdminCollection.php":274747241,"app\/Http\/Resources\/PaymentDefaultCardResource.php":1228639420,"app\/Http\/Resources\/LanguageCollection.php":3837282263,"app\/Http\/Resources\/InvoiceAdminResource.php":4202873718,"app\/Http\/Resources\/PricingCollection.php":549452717,"app\/Http\/Resources\/PricingResource.php":1267485808,"app\/Http\/Resources\/UsersCollection.php":3057145737,"app\/Http\/Resources\/InvoiceResource.php":188824434,"app\/Http\/Resources\/LanguageResource.php":3173560286,"app\/Http\/Resources\/PageResource.php":3319655507,"app\/Http\/Resources\/PageCollection.php":842383211,"app\/Http\/Resources\/InvoiceCollection.php":3442384146,"app\/Http\/Resources\/FileResource.php":2504031769,"app\/Http\/Resources\/PaymentCardCollection.php":35382430,"app\/Http\/Resources\/PaymentCardResource.php":4249352961,"app\/Http\/Resources\/PlanResource.php":3164666516,"app\/Http\/Resources\/ShareResource.php":4289675308,"app\/Http\/helpers.php":1938533242,"app\/Http\/Kernel.php":960929552,"routes\/api.php":595269034,"routes\/file.php":3064209512,"routes\/user.php":3134942410,"routes\/console.php":2045403946,"routes\/admin.php":1753159742,"routes\/channels.php":2877044881,"routes\/web.php":2818253027,"routes\/setup.php":174846292,"routes\/share.php":1915112226,"routes\/maintenance.php":3748923669,"config\/database.php":1500812285,"config\/vuefilemanager.php":1126120216,"config\/hashing.php":2194319214,"config\/queue.php":113961715,"config\/mail.php":1982918162,"config\/services.php":903116839,"config\/session.php":2232050276,"config\/view.php":3441258419,"config\/custom-language-translations.php":1251541856,"config\/backup.php":2804181921,"config\/content.php":2506681111,"config\/fortify.php":3059531343,"config\/language-translations.php":2293483744,"config\/cashier.php":1925306958,"config\/app.php":3163075654,"config\/cache.php":3632019567,"config\/cors.php":814133164,"config\/broadcasting.php":639178001,"config\/laravel-query-monitor.php":332751186,"config\/logging.php":1549177037,"config\/scout.php":2655201160,"config\/auth.php":2575944760,"config\/filesystems.php":22502131}} \ No newline at end of file diff --git a/app/Actions/Fortify/CreateNewUserAction.php b/app/Actions/Fortify/CreateNewUserAction.php index 84a21f43..6afbf93d 100644 --- a/app/Actions/Fortify/CreateNewUserAction.php +++ b/app/Actions/Fortify/CreateNewUserAction.php @@ -1,14 +1,13 @@ pluck('value', 'name'); // Check if account registration is enabled - if (!intval($settings['registration'])) { + if (! intval($settings['registration'])) { abort(401); } @@ -62,7 +62,7 @@ class CreateNewUserAction extends Controller 'storage_capacity' => $settings['storage_default'], ]); - if (!get_setting('user_verification')) { + if (! get_setting('user_verification')) { $user->markEmailAsVerified(); } @@ -70,7 +70,7 @@ class CreateNewUserAction extends Controller event(new Registered($user)); - if (!get_setting('user_verification')) { + if (! get_setting('user_verification')) { $this->guard->login($user); } diff --git a/app/Actions/Fortify/UpdateUserPassword.php b/app/Actions/Fortify/UpdateUserPassword.php index 07e75ea1..31d5b8ae 100644 --- a/app/Actions/Fortify/UpdateUserPassword.php +++ b/app/Actions/Fortify/UpdateUserPassword.php @@ -21,7 +21,7 @@ class UpdateUserPassword implements UpdatesUserPasswords { Validator::make($input, [ 'current_password' => ['required', 'string'], - 'password' => $this->passwordRules(), + 'password' => $this->passwordRules(), ])->after(function ($validator) use ($user, $input) { if (! isset($input['current_password']) || ! Hash::check($input['current_password'], $user->password)) { $validator->errors()->add('current_password', __('The provided password does not match your current password.')); diff --git a/app/Actions/Fortify/UpdateUserProfileInformation.php b/app/Actions/Fortify/UpdateUserProfileInformation.php index daeaea2c..f33119c5 100644 --- a/app/Actions/Fortify/UpdateUserProfileInformation.php +++ b/app/Actions/Fortify/UpdateUserProfileInformation.php @@ -34,7 +34,7 @@ class UpdateUserProfileInformation implements UpdatesUserProfileInformation $this->updateVerifiedUser($user, $input); } else { $user->forceFill([ - 'name' => $input['name'], + 'name' => $input['name'], 'email' => $input['email'], ])->save(); } @@ -50,8 +50,8 @@ class UpdateUserProfileInformation implements UpdatesUserProfileInformation protected function updateVerifiedUser($user, array $input) { $user->forceFill([ - 'name' => $input['name'], - 'email' => $input['email'], + 'name' => $input['name'], + 'email' => $input['email'], 'email_verified_at' => null, ])->save(); diff --git a/app/Console/Commands/SetupDevEnvironment.php b/app/Console/Commands/SetupDevEnvironment.php index c604432b..31ec0157 100644 --- a/app/Console/Commands/SetupDevEnvironment.php +++ b/app/Console/Commands/SetupDevEnvironment.php @@ -87,25 +87,25 @@ class SetupDevEnvironment extends Command private function create_admin(): void { $user = User::forceCreate([ - 'role' => 'admin', - 'email' => 'howdy@hi5ve.digital', - 'password' => bcrypt('vuefilemanager'), + 'role' => 'admin', + 'email' => 'howdy@hi5ve.digital', + 'password' => bcrypt('vuefilemanager'), 'email_verified_at' => now(), ]); $user ->settings() ->create([ - 'avatar' => 'avatars/avatar-01.png', + 'avatar' => 'avatars/avatar-01.png', 'storage_capacity' => 5, - 'name' => 'Jane Doe', - 'address' => $this->faker->address, - 'state' => $this->faker->state, - 'city' => $this->faker->city, - 'postal_code' => $this->faker->postcode, - 'country' => $this->faker->randomElement(['SK', 'CZ', 'DE', 'FR']), - 'phone_number' => $this->faker->phoneNumber, - 'timezone' => $this->faker->randomElement(['+1.0', '+2.0', '+3.0']), + 'name' => 'Jane Doe', + 'address' => $this->faker->address, + 'state' => $this->faker->state, + 'city' => $this->faker->city, + 'postal_code' => $this->faker->postcode, + 'country' => $this->faker->randomElement(['SK', 'CZ', 'DE', 'FR']), + 'phone_number' => $this->faker->phoneNumber, + 'timezone' => $this->faker->randomElement(['+1.0', '+2.0', '+3.0']), ]); Storage::putFileAs('avatars', storage_path('demo/avatars/avatar-01.png'), 'avatar-01.png', 'private'); @@ -128,25 +128,25 @@ class SetupDevEnvironment extends Command ], ])->each(function ($user) { $newbie = User::forceCreate([ - 'role' => 'user', - 'email' => $this->faker->email, - 'password' => bcrypt('vuefilemanager'), + 'role' => 'user', + 'email' => $this->faker->email, + 'password' => bcrypt('vuefilemanager'), 'email_verified_at' => now(), ]); $newbie ->settings() ->create([ - 'avatar' => "avatars/{$user['avatar']}", + 'avatar' => "avatars/{$user['avatar']}", 'storage_capacity' => 5, - 'name' => $this->faker->name, - 'address' => $this->faker->address, - 'state' => $this->faker->state, - 'city' => $this->faker->city, - 'postal_code' => $this->faker->postcode, - 'country' => $this->faker->randomElement(['SK', 'CZ', 'DE', 'FR']), - 'phone_number' => $this->faker->phoneNumber, - 'timezone' => $this->faker->randomElement(['+1.0', '+2.0', '+3.0']), + 'name' => $this->faker->name, + 'address' => $this->faker->address, + 'state' => $this->faker->state, + 'city' => $this->faker->city, + 'postal_code' => $this->faker->postcode, + 'country' => $this->faker->randomElement(['SK', 'CZ', 'DE', 'FR']), + 'phone_number' => $this->faker->phoneNumber, + 'timezone' => $this->faker->randomElement(['+1.0', '+2.0', '+3.0']), ]); Storage::putFileAs('avatars', storage_path("demo/avatars/{$user['avatar']}"), $user['avatar'], 'private'); @@ -167,14 +167,14 @@ class SetupDevEnvironment extends Command $shared_folder = Folder::factory(Folder::class) ->create([ 'user_id' => $user->id, - 'author' => 'user', - 'name' => 'Shared Folder', - 'emoji' => [ - 'codes' => '1F680', - 'char' => '🚀', - 'name' => 'rocket', + 'author' => 'user', + 'name' => 'Shared Folder', + 'emoji' => [ + 'codes' => '1F680', + 'char' => '🚀', + 'name' => 'rocket', 'category' => 'Travel & Places (transport-air)', - 'group' => 'Travel & Places', + 'group' => 'Travel & Places', 'subgroup' => 'transport-air', ], 'created_at' => now(), @@ -182,35 +182,35 @@ class SetupDevEnvironment extends Command Share::factory(Share::class) ->create([ - 'type' => 'folder', - 'item_id' => $shared_folder->id, - 'user_id' => $user->id, - 'permission' => 'editor', + 'type' => 'folder', + 'item_id' => $shared_folder->id, + 'user_id' => $user->id, + 'permission' => 'editor', 'is_protected' => false, - 'password' => null, - 'expire_in' => null, + 'password' => null, + 'expire_in' => null, ]); $peters_files = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'parent_id' => $shared_folder->id, - 'author' => 'visitor', - 'name' => "Peter's Files", + 'author' => 'visitor', + 'name' => "Peter's Files", ]); // 2. $random_pics = Folder::factory(Folder::class) ->create([ 'user_id' => $user->id, - 'author' => 'user', - 'name' => 'Random Pics', - 'emoji' => [ - 'codes' => '1F4F7', - 'char' => '📷', - 'name' => 'camera', + 'author' => 'user', + 'name' => 'Random Pics', + 'emoji' => [ + 'codes' => '1F4F7', + 'char' => '📷', + 'name' => 'camera', 'category' => 'Objects (light & video)', - 'group' => 'Objects', + 'group' => 'Objects', 'subgroup' => 'light & video', ], 'created_at' => now()->subMinutes(1), @@ -218,32 +218,32 @@ class SetupDevEnvironment extends Command $nature = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'parent_id' => $random_pics->id, - 'author' => 'user', - 'name' => 'Nature', - 'emoji' => [ - 'codes' => '26F0', - 'char' => '⛰', - 'name' => 'mountain', + 'author' => 'user', + 'name' => 'Nature', + 'emoji' => [ + 'codes' => '26F0', + 'char' => '⛰', + 'name' => 'mountain', 'category' => 'Travel & Places (place-geographic)', - 'group' => 'Travel & Places', + 'group' => 'Travel & Places', 'subgroup' => 'place-geographic', ], ]); $apartments = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'parent_id' => $random_pics->id, - 'author' => 'user', - 'name' => 'Apartments', - 'emoji' => [ - 'codes' => '1F3E0', - 'char' => '🏠', - 'name' => 'house', + 'author' => 'user', + 'name' => 'Apartments', + 'emoji' => [ + 'codes' => '1F3E0', + 'char' => '🏠', + 'name' => 'house', 'category' => 'Travel & Places (place-building)', - 'group' => 'Travel & Places', + 'group' => 'Travel & Places', 'subgroup' => 'place-building', ], ]); @@ -251,87 +251,87 @@ class SetupDevEnvironment extends Command // 3. $playable_media = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, - 'author' => 'user', - 'name' => 'Playable Media', + 'user_id' => $user->id, + 'author' => 'user', + 'name' => 'Playable Media', 'created_at' => now()->subMinutes(2), ]); $video = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'parent_id' => $playable_media->id, - 'author' => 'user', - 'name' => 'Video', + 'author' => 'user', + 'name' => 'Video', ]); $audio = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'parent_id' => $playable_media->id, - 'author' => 'user', - 'name' => 'Audio', + 'author' => 'user', + 'name' => 'Audio', ]); // 4. $multi_level = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, - 'author' => 'user', - 'name' => 'Multi Level Folder', + 'user_id' => $user->id, + 'author' => 'user', + 'name' => 'Multi Level Folder', 'created_at' => now()->subMinutes(3), ]); $first_level = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'parent_id' => $multi_level->id, - 'author' => 'user', - 'name' => 'First Level', + 'author' => 'user', + 'name' => 'First Level', ]); $second_level = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'parent_id' => $first_level->id, - 'author' => 'user', - 'name' => 'Second Level', + 'author' => 'user', + 'name' => 'Second Level', ]); $third_level = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, + 'user_id' => $user->id, 'parent_id' => $second_level->id, - 'author' => 'user', - 'name' => 'Third Level', + 'author' => 'user', + 'name' => 'Third Level', ]); // 5. $documents = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, - 'author' => 'user', - 'name' => 'Documents', + 'user_id' => $user->id, + 'author' => 'user', + 'name' => 'Documents', 'created_at' => now()->subMinutes(4), ]); Share::factory(Share::class) ->create([ - 'type' => 'folder', - 'item_id' => $documents->id, - 'user_id' => $user->id, - 'permission' => 'editor', + 'type' => 'folder', + 'item_id' => $documents->id, + 'user_id' => $user->id, + 'permission' => 'editor', 'is_protected' => false, - 'password' => null, - 'expire_in' => null, + 'password' => null, + 'expire_in' => null, ]); // 6. $videohive = Folder::factory(Folder::class) ->create([ - 'user_id' => $user->id, - 'author' => 'user', - 'name' => 'Videohive by MakingCG', + 'user_id' => $user->id, + 'author' => 'user', + 'name' => 'Videohive by MakingCG', 'created_at' => now()->subMinutes(5), ]); @@ -347,22 +347,22 @@ class SetupDevEnvironment extends Command // Get documents to root directory collect([ [ - 'name' => 'Random Document', + 'name' => 'Random Document', 'basename' => 'Licence.pdf', 'mimetype' => 'pdf', ], [ - 'name' => 'School Report', + 'name' => 'School Report', 'basename' => 'Project Notes.pdf', 'mimetype' => 'pdf', ], [ - 'name' => 'Personal Savings', + 'name' => 'Personal Savings', 'basename' => 'School Report.pages', 'mimetype' => 'pages', ], [ - 'name' => 'Top Secret Files', + 'name' => 'Top Secret Files', 'basename' => 'Stories of the Night Skies.pages', 'mimetype' => 'pages', ], @@ -375,14 +375,14 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => null, - 'user_id' => $user->id, - 'name' => $file['name'], - 'basename' => $basename, - 'type' => 'file', - 'author' => 'user', - 'mimetype' => $file['mimetype'], - 'filesize' => rand(1000000, 4000000), + 'folder_id' => null, + 'user_id' => $user->id, + 'name' => $file['name'], + 'basename' => $basename, + 'type' => 'file', + 'author' => 'user', + 'mimetype' => $file['mimetype'], + 'filesize' => rand(1000000, 4000000), 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -390,22 +390,22 @@ class SetupDevEnvironment extends Command // Get documents to documents folder collect([ [ - 'name' => 'Home Improvement', + 'name' => 'Home Improvement', 'basename' => 'Licence.pdf', 'mimetype' => 'pdf', ], [ - 'name' => 'Project Notes', + 'name' => 'Project Notes', 'basename' => 'Project Notes.pdf', 'mimetype' => 'pdf', ], [ - 'name' => 'Personal Savings', + 'name' => 'Personal Savings', 'basename' => 'School Report.pages', 'mimetype' => 'pages', ], [ - 'name' => 'License', + 'name' => 'License', 'basename' => 'Stories of the Night Skies.pages', 'mimetype' => 'pages', ], @@ -418,14 +418,14 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => $documents->id, - 'user_id' => $user->id, - 'name' => $file['name'], - 'basename' => $basename, - 'type' => 'file', - 'author' => 'user', - 'mimetype' => $file['mimetype'], - 'filesize' => rand(1000000, 4000000), + 'folder_id' => $documents->id, + 'user_id' => $user->id, + 'name' => $file['name'], + 'basename' => $basename, + 'type' => 'file', + 'author' => 'user', + 'mimetype' => $file['mimetype'], + 'filesize' => rand(1000000, 4000000), 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -433,12 +433,12 @@ class SetupDevEnvironment extends Command // Get documents to shared folder collect([ [ - 'name' => 'Home plan', + 'name' => 'Home plan', 'basename' => 'Licence.pdf', 'mimetype' => 'pdf', ], [ - 'name' => 'Software Licence', + 'name' => 'Software Licence', 'basename' => 'Project Notes.pdf', 'mimetype' => 'pdf', ], @@ -451,14 +451,14 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => $shared_folder->id, - 'user_id' => $user->id, - 'name' => $file['name'], - 'basename' => $basename, - 'type' => 'file', - 'author' => 'user', - 'mimetype' => $file['mimetype'], - 'filesize' => rand(1000000, 4000000), + 'folder_id' => $shared_folder->id, + 'user_id' => $user->id, + 'name' => $file['name'], + 'basename' => $basename, + 'type' => 'file', + 'author' => 'user', + 'mimetype' => $file['mimetype'], + 'filesize' => rand(1000000, 4000000), 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -466,37 +466,37 @@ class SetupDevEnvironment extends Command // Get documents to peter's files folder collect([ [ - 'name' => 'Project Backup', + 'name' => 'Project Backup', 'basename' => 'Licence.pdf', 'mimetype' => 'pdf', ], [ - 'name' => 'Yearly report', + 'name' => 'Yearly report', 'basename' => 'Project Notes.pdf', 'mimetype' => 'pdf', ], [ - 'name' => 'Work Update', + 'name' => 'Work Update', 'basename' => 'School Report.pages', 'mimetype' => 'pages', ], [ - 'name' => 'Person Writing on Notebook', + 'name' => 'Person Writing on Notebook', 'basename' => 'Stories of the Night Skies.pages', 'mimetype' => 'pages', ], [ - 'name' => 'Blank Business Composition Computer', + 'name' => 'Blank Business Composition Computer', 'basename' => 'Licence.pdf', 'mimetype' => 'pdf', ], [ - 'name' => '2020 April - Export', + 'name' => '2020 April - Export', 'basename' => 'Project Notes.pdf', 'mimetype' => 'pdf', ], [ - 'name' => 'Ballpen Blur Close Up Computer', + 'name' => 'Ballpen Blur Close Up Computer', 'basename' => 'School Report.pages', 'mimetype' => 'pages', ], @@ -509,14 +509,14 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => $peters_files->id, - 'user_id' => $user->id, - 'name' => $file['name'], - 'basename' => $basename, - 'type' => 'file', - 'author' => 'visitor', - 'mimetype' => $file['mimetype'], - 'filesize' => rand(1000000, 4000000), + 'folder_id' => $peters_files->id, + 'user_id' => $user->id, + 'name' => $file['name'], + 'basename' => $basename, + 'type' => 'file', + 'author' => 'visitor', + 'mimetype' => $file['mimetype'], + 'filesize' => rand(1000000, 4000000), 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -536,14 +536,14 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => $videohive->id, - 'user_id' => $user->id, - 'name' => $file, - 'basename' => $basename, - 'type' => 'video', - 'author' => 'user', - 'mimetype' => 'mp4', - 'filesize' => rand(1000000, 4000000), + 'folder_id' => $videohive->id, + 'user_id' => $user->id, + 'name' => $file, + 'basename' => $basename, + 'type' => 'video', + 'author' => 'user', + 'mimetype' => 'mp4', + 'filesize' => rand(1000000, 4000000), 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -560,14 +560,14 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => $video->id, - 'user_id' => $user->id, - 'name' => $file, - 'basename' => $basename, - 'type' => 'video', - 'author' => 'user', - 'mimetype' => 'mp4', - 'filesize' => rand(1000000, 4000000), + 'folder_id' => $video->id, + 'user_id' => $user->id, + 'name' => $file, + 'basename' => $basename, + 'type' => 'video', + 'author' => 'user', + 'mimetype' => 'mp4', + 'filesize' => rand(1000000, 4000000), 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -584,14 +584,14 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => $audio->id, - 'user_id' => $user->id, - 'name' => $file, - 'basename' => $basename, - 'type' => 'audio', - 'author' => 'user', - 'mimetype' => 'mp3', - 'filesize' => rand(1000000, 4000000), + 'folder_id' => $audio->id, + 'user_id' => $user->id, + 'name' => $file, + 'basename' => $basename, + 'type' => 'audio', + 'author' => 'user', + 'mimetype' => 'mp3', + 'filesize' => rand(1000000, 4000000), 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -620,15 +620,15 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => null, - 'user_id' => $user->id, - 'name' => $file, - 'basename' => $basename, - 'type' => 'image', - 'author' => 'user', - 'mimetype' => 'jpg', - 'filesize' => rand(1000000, 4000000), - 'thumbnail' => "thumbnail-$basename", + 'folder_id' => null, + 'user_id' => $user->id, + 'name' => $file, + 'basename' => $basename, + 'type' => 'image', + 'author' => 'user', + 'mimetype' => 'jpg', + 'filesize' => rand(1000000, 4000000), + 'thumbnail' => "thumbnail-$basename", 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -652,15 +652,15 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => $apartments->id, - 'user_id' => $user->id, - 'name' => $file, - 'basename' => $basename, - 'type' => 'image', - 'author' => 'user', - 'mimetype' => 'jpg', - 'filesize' => rand(1000000, 4000000), - 'thumbnail' => "thumbnail-$basename", + 'folder_id' => $apartments->id, + 'user_id' => $user->id, + 'name' => $file, + 'basename' => $basename, + 'type' => 'image', + 'author' => 'user', + 'mimetype' => 'jpg', + 'filesize' => rand(1000000, 4000000), + 'thumbnail' => "thumbnail-$basename", 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -688,15 +688,15 @@ class SetupDevEnvironment extends Command // Create file record File::create([ - 'folder_id' => $nature->id, - 'user_id' => $user->id, - 'name' => $file, - 'basename' => $basename, - 'type' => 'image', - 'author' => 'user', - 'mimetype' => 'jpg', - 'filesize' => rand(1000000, 4000000), - 'thumbnail' => "thumbnail-$basename", + 'folder_id' => $nature->id, + 'user_id' => $user->id, + 'name' => $file, + 'basename' => $basename, + 'type' => 'image', + 'author' => 'user', + 'mimetype' => 'jpg', + 'filesize' => rand(1000000, 4000000), + 'thumbnail' => "thumbnail-$basename", 'created_at' => now()->subMinutes(rand(1, 5)), ]); }); @@ -714,13 +714,13 @@ class SetupDevEnvironment extends Command $images->each(function ($id) use ($user) { Share::create([ - 'user_id' => $user->id, - 'item_id' => $id, - 'type' => 'file', + 'user_id' => $user->id, + 'item_id' => $id, + 'type' => 'file', 'is_protected' => false, - 'permission' => 'editor', - 'password' => null, - 'expire_in' => null, + 'permission' => 'editor', + 'password' => null, + 'expire_in' => null, ]); }); @@ -731,13 +731,13 @@ class SetupDevEnvironment extends Command $files->each(function ($id) use ($user) { Share::create([ - 'user_id' => $user->id, - 'item_id' => $id, - 'type' => 'file', + 'user_id' => $user->id, + 'item_id' => $id, + 'type' => 'file', 'is_protected' => false, - 'permission' => 'editor', - 'password' => null, - 'expire_in' => null, + 'permission' => 'editor', + 'password' => null, + 'expire_in' => null, ]); }); } @@ -750,112 +750,112 @@ class SetupDevEnvironment extends Command // Get options collect([ [ - 'name' => 'setup_wizard_database', + 'name' => 'setup_wizard_database', 'value' => 1, ], [ - 'name' => 'app_title', + 'name' => 'app_title', 'value' => 'VueFileManager', ], [ - 'name' => 'app_description', + 'name' => 'app_description', 'value' => 'Your self-hosted storage cloud software powered by Laravel and Vue', ], [ - 'name' => 'app_logo', + 'name' => 'app_logo', 'value' => 'system/logo.svg', ], [ - 'name' => 'app_logo_horizontal', + 'name' => 'app_logo_horizontal', 'value' => 'system/logo-horizontal.svg', ], [ - 'name' => 'app_favicon', + 'name' => 'app_favicon', 'value' => 'system/favicon.png', ], [ - 'name' => 'app_og_image', + 'name' => 'app_og_image', 'value' => 'system/og-image.jpg', ], [ - 'name' => 'app_touch_icon', + 'name' => 'app_touch_icon', 'value' => 'system/touch-icon.png', ], [ - 'name' => 'google_analytics', + 'name' => 'google_analytics', 'value' => '', ], [ - 'name' => 'contact_email', + 'name' => 'contact_email', 'value' => '', ], [ - 'name' => 'registration', + 'name' => 'registration', 'value' => 1, ], [ - 'name' => 'user_verification', + 'name' => 'user_verification', 'value' => 1, ], [ - 'name' => 'payments_active', + 'name' => 'payments_active', 'value' => 1, ], [ - 'name' => 'storage_limitation', + 'name' => 'storage_limitation', 'value' => 1, ], [ - 'name' => 'storage_default', + 'name' => 'storage_default', 'value' => 5, ], [ - 'name' => 'setup_wizard_success', + 'name' => 'setup_wizard_success', 'value' => 1, ], [ - 'name' => 'license', + 'name' => 'license', 'value' => $this->license, ], [ - 'name' => 'purchase_code', + 'name' => 'purchase_code', 'value' => '26b889eb-3602-4bf2-beb3-3sc378fcf484', ], [ - 'name' => 'billing_address', + 'name' => 'billing_address', 'value' => 'Palo Alto 20', ], [ - 'name' => 'billing_city', + 'name' => 'billing_city', 'value' => 'Palo Alto', ], [ - 'name' => 'billing_country', + 'name' => 'billing_country', 'value' => 'US', ], [ - 'name' => 'billing_name', + 'name' => 'billing_name', 'value' => 'VueFileManager Inc.', ], [ - 'name' => 'billing_phone_number', + 'name' => 'billing_phone_number', 'value' => '312343141243214', ], [ - 'name' => 'billing_postal_code', + 'name' => 'billing_postal_code', 'value' => '43213', ], [ - 'name' => 'billing_state', + 'name' => 'billing_state', 'value' => 'California', ], [ - 'name' => 'billing_vat_number', + 'name' => 'billing_vat_number', 'value' => '41241241234', ], ])->each(function ($col) { Setting::forceCreate([ - 'name' => $col['name'], + 'name' => $col['name'], 'value' => $col['value'], ]); }); diff --git a/app/Console/Commands/SetupProdEnvironment.php b/app/Console/Commands/SetupProdEnvironment.php index 31521fac..0e4f5cf1 100644 --- a/app/Console/Commands/SetupProdEnvironment.php +++ b/app/Console/Commands/SetupProdEnvironment.php @@ -69,108 +69,108 @@ class SetupProdEnvironment extends Command // Get options collect([ [ - 'name' => 'setup_wizard_database', + 'name' => 'setup_wizard_database', 'value' => 1, ], [ - 'name' => 'app_title', + 'name' => 'app_title', 'value' => 'VueFileManager', ], [ - 'name' => 'app_description', + 'name' => 'app_description', 'value' => 'Your self-hosted storage cloud software powered by Laravel and Vue', ], [ - 'name' => 'app_logo', + 'name' => 'app_logo', 'value' => null, ], [ - 'name' => 'app_logo_horizontal', + 'name' => 'app_logo_horizontal', 'value' => null, ], [ - 'name' => 'app_favicon', + 'name' => 'app_favicon', 'value' => null, ], [ - 'name' => 'app_og_image', + 'name' => 'app_og_image', 'value' => null, ], [ - 'name' => 'app_touch_icon', + 'name' => 'app_touch_icon', 'value' => null, ], [ - 'name' => 'google_analytics', + 'name' => 'google_analytics', 'value' => null, ], [ - 'name' => 'contact_email', + 'name' => 'contact_email', 'value' => null, ], [ - 'name' => 'registration', + 'name' => 'registration', 'value' => 0, ], [ - 'name' => 'user_verification', + 'name' => 'user_verification', 'value' => 1, ], [ - 'name' => 'storage_limitation', + 'name' => 'storage_limitation', 'value' => 1, ], [ - 'name' => 'storage_default', + 'name' => 'storage_default', 'value' => 5, ], [ - 'name' => 'setup_wizard_success', + 'name' => 'setup_wizard_success', 'value' => 1, ], [ - 'name' => 'license', + 'name' => 'license', 'value' => $this->license, ], [ - 'name' => 'purchase_code', + 'name' => 'purchase_code', 'value' => '26b889eb-3602-4bf2-beb3-3sc378fcf484', ], [ - 'name' => 'billing_address', + 'name' => 'billing_address', 'value' => null, ], [ - 'name' => 'billing_city', + 'name' => 'billing_city', 'value' => null, ], [ - 'name' => 'billing_country', + 'name' => 'billing_country', 'value' => null, ], [ - 'name' => 'billing_name', + 'name' => 'billing_name', 'value' => null, ], [ - 'name' => 'billing_phone_number', + 'name' => 'billing_phone_number', 'value' => null, ], [ - 'name' => 'billing_postal_code', + 'name' => 'billing_postal_code', 'value' => null, ], [ - 'name' => 'billing_state', + 'name' => 'billing_state', 'value' => null, ], [ - 'name' => 'billing_vat_number', + 'name' => 'billing_vat_number', 'value' => null, ], ])->each(function ($col) { Setting::forceCreate([ - 'name' => $col['name'], + 'name' => $col['name'], 'value' => $col['value'], ]); }); @@ -182,18 +182,17 @@ class SetupProdEnvironment extends Command private function create_admin(): void { $user = User::forceCreate([ - 'role' => 'admin', - 'email' => 'howdy@hi5ve.digital', - 'password' => bcrypt('vuefilemanager'), + 'role' => 'admin', + 'email' => 'howdy@hi5ve.digital', + 'password' => bcrypt('vuefilemanager'), 'email_verified_at' => now(), - ]); $user ->settings() ->create([ 'storage_capacity' => 5, - 'name' => 'Admin', + 'name' => 'Admin', ]); // Show user credentials diff --git a/app/Http/Controllers/Admin/DashboardController.php b/app/Http/Controllers/Admin/DashboardController.php index 8a30445b..2b5e26f8 100644 --- a/app/Http/Controllers/Admin/DashboardController.php +++ b/app/Http/Controllers/Admin/DashboardController.php @@ -34,10 +34,10 @@ class DashboardController extends Controller )->format(); return [ - 'license' => get_setting('license'), - 'app_version' => config('vuefilemanager.version'), - 'total_users' => User::count(), - 'total_used_space' => $storage_usage, + 'license' => get_setting('license'), + 'app_version' => config('vuefilemanager.version'), + 'total_users' => User::count(), + 'total_used_space' => $storage_usage, 'total_premium_users' => $premium_users, ]; } diff --git a/app/Http/Controllers/Admin/LanguageController.php b/app/Http/Controllers/Admin/LanguageController.php index 678c43e0..718d67da 100644 --- a/app/Http/Controllers/Admin/LanguageController.php +++ b/app/Http/Controllers/Admin/LanguageController.php @@ -53,7 +53,7 @@ class LanguageController extends Controller abort_if(is_demo(), 204, 'Done.'); $language = Language::create([ - 'name' => $request->input('name'), + 'name' => $request->input('name'), 'locale' => $request->input('locale'), ]); diff --git a/app/Http/Controllers/Admin/SettingController.php b/app/Http/Controllers/Admin/SettingController.php index 941eb3e1..932cdacf 100644 --- a/app/Http/Controllers/Admin/SettingController.php +++ b/app/Http/Controllers/Admin/SettingController.php @@ -84,11 +84,11 @@ class SettingController extends Controller if (! app()->runningUnitTests()) { setEnvironmentValue([ - 'MAIL_DRIVER' => $request->driver, - 'MAIL_HOST' => $request->host, - 'MAIL_PORT' => $request->port, - 'MAIL_USERNAME' => $request->username, - 'MAIL_PASSWORD' => $request->password, + 'MAIL_DRIVER' => $request->driver, + 'MAIL_HOST' => $request->host, + 'MAIL_PORT' => $request->port, + 'MAIL_USERNAME' => $request->username, + 'MAIL_PASSWORD' => $request->password, 'MAIL_ENCRYPTION' => $request->encryption, ]); @@ -127,20 +127,20 @@ class SettingController extends Controller // Get options collect([ [ - 'name' => 'stripe_currency', + 'name' => 'stripe_currency', 'value' => $request->currency, ], [ - 'name' => 'payments_configured', + 'name' => 'payments_configured', 'value' => 1, ], [ - 'name' => 'payments_active', + 'name' => 'payments_active', 'value' => 1, ], ])->each(function ($col) { Setting::forceCreate([ - 'name' => $col['name'], + 'name' => $col['name'], 'value' => $col['value'], ]); }); @@ -148,9 +148,9 @@ class SettingController extends Controller if (! app()->runningUnitTests()) { // Set stripe credentials to .env setEnvironmentValue([ - 'CASHIER_CURRENCY' => $request->currency, - 'STRIPE_KEY' => $request->key, - 'STRIPE_SECRET' => $request->secret, + 'CASHIER_CURRENCY' => $request->currency, + 'STRIPE_KEY' => $request->key, + 'STRIPE_SECRET' => $request->secret, 'STRIPE_WEBHOOK_SECRET' => $request->webhookSecret, ]); diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 859e2fec..3bce3083 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -177,9 +177,9 @@ class UserController extends Controller { // Create user $user = User::forceCreate([ - 'role' => $request->role, - 'email' => $request->email, - 'password' => bcrypt($request->password), + 'role' => $request->role, + 'email' => $request->email, + 'password' => bcrypt($request->password), 'email_verified_at' => now(), ]); @@ -188,8 +188,8 @@ class UserController extends Controller $user ->settings() ->create([ - 'name' => $request->name, - 'avatar' => store_avatar($request, 'avatar'), + 'name' => $request->name, + 'avatar' => store_avatar($request, 'avatar'), 'storage_capacity' => $request->storage_capacity, ]); diff --git a/app/Http/Controllers/App/AppFunctionsController.php b/app/Http/Controllers/App/AppFunctionsController.php index e8db6f2a..1a24e30a 100644 --- a/app/Http/Controllers/App/AppFunctionsController.php +++ b/app/Http/Controllers/App/AppFunctionsController.php @@ -90,11 +90,11 @@ class AppFunctionsController extends Controller return view('vuefilemanager.crawler.og-view') ->with('settings', get_settings_in_json()) ->with('metadata', [ - 'url' => url('/share', ['token' => $shared->token]), + 'url' => url('/share', ['token' => $shared->token]), 'is_protected' => $shared->is_protected, - 'user' => $shared->user->settings->name, - 'name' => $item->name, - 'size' => $shared->type === 'folder' + 'user' => $shared->user->settings->name, + 'name' => $item->name, + 'size' => $shared->type === 'folder' ? $item->items : $item->filesize, 'thumbnail' => $item->thumbnail ?? null, diff --git a/app/Http/Controllers/App/SetupWizardController.php b/app/Http/Controllers/App/SetupWizardController.php index bc5dc74f..09ec1c47 100644 --- a/app/Http/Controllers/App/SetupWizardController.php +++ b/app/Http/Controllers/App/SetupWizardController.php @@ -1,7 +1,6 @@ $request->connection, - 'DB_HOST' => $request->host, - 'DB_PORT' => $request->port, - 'DB_DATABASE' => $request->name, - 'DB_USERNAME' => $request->username, - 'DB_PASSWORD' => $request->password, + 'DB_HOST' => $request->host, + 'DB_PORT' => $request->port, + 'DB_DATABASE' => $request->name, + 'DB_USERNAME' => $request->username, + 'DB_PASSWORD' => $request->password, ]); Artisan::call('config:cache'); @@ -105,7 +105,7 @@ class SetupWizardController extends Controller // Store setup wizard progress Setting::forceCreate([ - 'name' => 'setup_wizard_database', + 'name' => 'setup_wizard_database', 'value' => 1, ]); @@ -135,20 +135,20 @@ class SetupWizardController extends Controller // Set settings collect([ [ - 'name' => 'stripe_currency', + 'name' => 'stripe_currency', 'value' => $request->currency, ], [ - 'name' => 'payments_configured', + 'name' => 'payments_configured', 'value' => 1, ], [ - 'name' => 'payments_active', + 'name' => 'payments_active', 'value' => 1, ], ])->each(function ($col) { Setting::forceCreate([ - 'name' => $col['name'], + 'name' => $col['name'], 'value' => $col['value'], ]); }); @@ -156,9 +156,9 @@ class SetupWizardController extends Controller if (! app()->runningUnitTests()) { // Set stripe credentials to .env setEnvironmentValue([ - 'CASHIER_CURRENCY' => $request->currency, - 'STRIPE_KEY' => $request->key, - 'STRIPE_SECRET' => $request->secret, + 'CASHIER_CURRENCY' => $request->currency, + 'STRIPE_KEY' => $request->key, + 'STRIPE_SECRET' => $request->secret, 'STRIPE_WEBHOOK_SECRET' => $request->webhookSecret, ]); @@ -180,40 +180,40 @@ class SetupWizardController extends Controller // Get options collect([ [ - 'name' => 'billing_phone_number', + 'name' => 'billing_phone_number', 'value' => $request->billing_phone_number, ], [ - 'name' => 'billing_postal_code', + 'name' => 'billing_postal_code', 'value' => $request->billing_postal_code, ], [ - 'name' => 'billing_vat_number', + 'name' => 'billing_vat_number', 'value' => $request->billing_vat_number, ], [ - 'name' => 'billing_address', + 'name' => 'billing_address', 'value' => $request->billing_address, ], [ - 'name' => 'billing_country', + 'name' => 'billing_country', 'value' => $request->billing_country, ], [ - 'name' => 'billing_state', + 'name' => 'billing_state', 'value' => $request->billing_state, ], [ - 'name' => 'billing_city', + 'name' => 'billing_city', 'value' => $request->billing_city, ], [ - 'name' => 'billing_name', + 'name' => 'billing_name', 'value' => $request->billing_name, ], ])->each(function ($col) { Setting::forceCreate([ - 'name' => $col['name'], + 'name' => $col['name'], 'value' => $col['value'], ]); }); @@ -254,43 +254,43 @@ class SetupWizardController extends Controller 'FILESYSTEM_DRIVER' => 'local', ], 's3' => [ - 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, - 'AWS_ACCESS_KEY_ID' => $request->storage['key'] ?? null, + 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, + 'AWS_ACCESS_KEY_ID' => $request->storage['key'] ?? null, 'AWS_SECRET_ACCESS_KEY' => $request->storage['secret'] ?? null, - 'AWS_DEFAULT_REGION' => $request->storage['region'] ?? null, - 'AWS_BUCKET' => $request->storage['bucket'] ?? null, + 'AWS_DEFAULT_REGION' => $request->storage['region'] ?? null, + 'AWS_BUCKET' => $request->storage['bucket'] ?? null, ], 'spaces' => [ - 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, - 'DO_SPACES_KEY' => $request->storage['key'] ?? null, - 'DO_SPACES_SECRET' => $request->storage['secret'] ?? null, + 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, + 'DO_SPACES_KEY' => $request->storage['key'] ?? null, + 'DO_SPACES_SECRET' => $request->storage['secret'] ?? null, 'DO_SPACES_ENDPOINT' => $request->storage['endpoint'] ?? null, - 'DO_SPACES_REGION' => $request->storage['region'] ?? null, - 'DO_SPACES_BUCKET' => $request->storage['bucket'] ?? null, + 'DO_SPACES_REGION' => $request->storage['region'] ?? null, + 'DO_SPACES_BUCKET' => $request->storage['bucket'] ?? null, ], 'wasabi' => [ 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, - 'WASABI_KEY' => $request->storage['key'] ?? null, - 'WASABI_SECRET' => $request->storage['secret'] ?? null, - 'WASABI_ENDPOINT' => $request->storage['endpoint'] ?? null, - 'WASABI_REGION' => $request->storage['region'] ?? null, - 'WASABI_BUCKET' => $request->storage['bucket'] ?? null, + 'WASABI_KEY' => $request->storage['key'] ?? null, + 'WASABI_SECRET' => $request->storage['secret'] ?? null, + 'WASABI_ENDPOINT' => $request->storage['endpoint'] ?? null, + 'WASABI_REGION' => $request->storage['region'] ?? null, + 'WASABI_BUCKET' => $request->storage['bucket'] ?? null, ], 'backblaze' => [ - 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, - 'BACKBLAZE_KEY' => $request->storage['key'] ?? null, - 'BACKBLAZE_SECRET' => $request->storage['secret'] ?? null, + 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, + 'BACKBLAZE_KEY' => $request->storage['key'] ?? null, + 'BACKBLAZE_SECRET' => $request->storage['secret'] ?? null, 'BACKBLAZE_ENDPOINT' => $request->storage['endpoint'] ?? null, - 'BACKBLAZE_REGION' => $request->storage['region'] ?? null, - 'BACKBLAZE_BUCKET' => $request->storage['bucket'] ?? null, + 'BACKBLAZE_REGION' => $request->storage['region'] ?? null, + 'BACKBLAZE_BUCKET' => $request->storage['bucket'] ?? null, ], 'oss' => [ - 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, - 'OSS_ACCESS_KEY_ID' => $request->storage['key'] ?? null, + 'FILESYSTEM_DRIVER' => $request->storage['driver'] ?? null, + 'OSS_ACCESS_KEY_ID' => $request->storage['key'] ?? null, 'OSS_SECRET_ACCESS_KEY' => $request->storage['secret'] ?? null, - 'OSS_ENDPOINT' => $request->storage['endpoint'] ?? null, - 'OSS_REGION' => $request->storage['region'] ?? null, - 'OSS_BUCKET' => $request->storage['bucket'] ?? null, + 'OSS_ENDPOINT' => $request->storage['endpoint'] ?? null, + 'OSS_REGION' => $request->storage['region'] ?? null, + 'OSS_BUCKET' => $request->storage['bucket'] ?? null, ], ]; @@ -302,11 +302,11 @@ class SetupWizardController extends Controller // Store credentials for mail // TODO: add options for mailgun setEnvironmentValue([ - 'MAIL_DRIVER' => $request->mail['driver'], - 'MAIL_HOST' => $request->mail['host'], - 'MAIL_PORT' => $request->mail['port'], - 'MAIL_USERNAME' => $request->mail['username'], - 'MAIL_PASSWORD' => $request->mail['password'], + 'MAIL_DRIVER' => $request->mail['driver'], + 'MAIL_HOST' => $request->mail['host'], + 'MAIL_PORT' => $request->mail['port'], + 'MAIL_USERNAME' => $request->mail['username'], + 'MAIL_PASSWORD' => $request->mail['password'], 'MAIL_ENCRYPTION' => $request->mail['encryption'], ]); @@ -326,56 +326,56 @@ class SetupWizardController extends Controller // Get options collect([ [ - 'name' => 'app_title', + 'name' => 'app_title', 'value' => $request->title, ], [ - 'name' => 'app_description', + 'name' => 'app_description', 'value' => $request->description, ], [ - 'name' => 'app_logo', + 'name' => 'app_logo', 'value' => store_system_image($request, 'logo'), ], [ - 'name' => 'app_logo_horizontal', + 'name' => 'app_logo_horizontal', 'value' => store_system_image($request, 'logo_horizontal'), ], [ - 'name' => 'app_favicon', + 'name' => 'app_favicon', 'value' => store_system_image($request, 'favicon'), ], [ - 'name' => 'app_og_image', + 'name' => 'app_og_image', 'value' => store_system_image($request, 'og_image'), ], [ - 'name' => 'app_touch_icon', + 'name' => 'app_touch_icon', 'value' => store_system_image($request, 'touch_icon'), ], [ - 'name' => 'google_analytics', + 'name' => 'google_analytics', 'value' => $request->googleAnalytics, ], [ - 'name' => 'contact_email', + 'name' => 'contact_email', 'value' => $request->contactMail, ], [ - 'name' => 'registration', + 'name' => 'registration', 'value' => $request->userRegistration, ], [ - 'name' => 'storage_limitation', + 'name' => 'storage_limitation', 'value' => $request->storageLimitation, ], [ - 'name' => 'storage_default', + 'name' => 'storage_default', 'value' => $request->defaultStorage ?? 5, ], ])->each(function ($col) { Setting::forceCreate([ - 'name' => $col['name'], + 'name' => $col['name'], 'value' => $col['value'], ]); }); @@ -400,19 +400,19 @@ class SetupWizardController extends Controller // Validate request // TODO: validator do requestu $request->validate([ - 'email' => 'required|string|email|unique:users', - 'password' => 'required|string|min:6|confirmed', - 'name' => 'required|string', + 'email' => 'required|string|email|unique:users', + 'password' => 'required|string|min:6|confirmed', + 'name' => 'required|string', 'purchase_code' => 'required|string', - 'license' => 'required|string', - 'avatar' => 'sometimes|file', + 'license' => 'required|string', + 'avatar' => 'sometimes|file', ]); // Create user $user = User::forceCreate([ - 'role' => 'admin', - 'email' => $request->email, - 'password' => bcrypt($request->password), + 'role' => 'admin', + 'email' => $request->email, + 'password' => bcrypt($request->password), 'email_verified_at' => now(), ]); @@ -420,26 +420,26 @@ class SetupWizardController extends Controller ->settings() ->create([ 'storage_capacity' => get_setting('storage_default') ?? 5, - 'avatar' => store_avatar($request, 'avatar'), - 'name' => $request->name, + 'avatar' => store_avatar($request, 'avatar'), + 'name' => $request->name, ]); collect([ [ - 'name' => 'setup_wizard_success', + 'name' => 'setup_wizard_success', 'value' => 1, ], [ - 'name' => 'license', + 'name' => 'license', 'value' => $request->license, ], [ - 'name' => 'purchase_code', + 'name' => 'purchase_code', 'value' => $request->purchase_code, ], ])->each(function ($col) { Setting::forceCreate([ - 'name' => $col['name'], + 'name' => $col['name'], 'value' => $col['value'], ]); }); diff --git a/app/Http/Controllers/Auth/AuthController.php b/app/Http/Controllers/Auth/AuthController.php index 4cd6cba6..15b416ab 100644 --- a/app/Http/Controllers/Auth/AuthController.php +++ b/app/Http/Controllers/Auth/AuthController.php @@ -24,9 +24,9 @@ class AuthController extends Controller } return [ - 'name' => $user->settings->name, - 'avatar' => $user->settings->avatar, - 'verified' => $user->email_verified_at ? true : false + 'name' => $user->settings->name, + 'avatar' => $user->settings->avatar, + 'verified' => $user->email_verified_at ? true : false, ]; } } diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php index 673ad915..58ac0fd3 100644 --- a/app/Http/Controllers/Auth/ForgotPasswordController.php +++ b/app/Http/Controllers/Auth/ForgotPasswordController.php @@ -1,10 +1,10 @@ __t('home'), + 'name' => __t('home'), 'location' => 'base', - 'folders' => $folders, + 'folders' => $folders, ], ]; } diff --git a/app/Http/Controllers/FileManager/EditItemsController.php b/app/Http/Controllers/FileManager/EditItemsController.php index 492e1cf6..384e59f2 100644 --- a/app/Http/Controllers/FileManager/EditItemsController.php +++ b/app/Http/Controllers/FileManager/EditItemsController.php @@ -139,7 +139,7 @@ class EditItemsController extends Controller $zip = $this->filemanager->zip_folder($id); return response([ - 'url' => route('zip', $zip->id), + 'url' => route('zip', $zip->id), 'name' => $zip->basename, ], 201); } @@ -160,7 +160,7 @@ class EditItemsController extends Controller $zip = $this->filemanager->zip_files($files); return response([ - 'url' => route('zip', $zip->id), + 'url' => route('zip', $zip->id), 'name' => $zip->basename, ], 201); } diff --git a/app/Http/Controllers/FileManager/FileAccessController.php b/app/Http/Controllers/FileManager/FileAccessController.php index b499984f..a9f6ee59 100644 --- a/app/Http/Controllers/FileManager/FileAccessController.php +++ b/app/Http/Controllers/FileManager/FileAccessController.php @@ -109,10 +109,10 @@ class FileAccessController extends Controller ); return $disk->download("zip/$zip->basename", $zip->basename, [ - 'Content-Type' => 'application/zip', - 'Content-Length' => $disk->size("zip/$zip->basename"), - 'Accept-Ranges' => 'bytes', - 'Content-Range' => 'bytes 0-600/' . $disk->size("zip/$zip->basename"), + 'Content-Type' => 'application/zip', + 'Content-Length' => $disk->size("zip/$zip->basename"), + 'Accept-Ranges' => 'bytes', + 'Content-Range' => 'bytes 0-600/' . $disk->size("zip/$zip->basename"), 'Content-Disposition' => "attachment; filename=$zip->basename", ]); } diff --git a/app/Http/Controllers/FileManager/ShareController.php b/app/Http/Controllers/FileManager/ShareController.php index 53791e9c..f9d74917 100644 --- a/app/Http/Controllers/FileManager/ShareController.php +++ b/app/Http/Controllers/FileManager/ShareController.php @@ -40,13 +40,13 @@ class ShareController extends Controller { // Create shared options $shared = Share::create([ - 'password' => $request->has('password') ? bcrypt($request->password) : null, - 'type' => $request->type === 'folder' ? 'folder' : 'file', + 'password' => $request->has('password') ? bcrypt($request->password) : null, + 'type' => $request->type === 'folder' ? 'folder' : 'file', 'is_protected' => $request->isPassword, - 'permission' => $request->permission ?? null, - 'item_id' => $id, - 'expire_in' => $request->expiration ?? null, - 'user_id' => Auth::id(), + 'permission' => $request->permission ?? null, + 'item_id' => $id, + 'expire_in' => $request->expiration ?? null, + 'user_id' => Auth::id(), ]); // Send shared link via email @@ -78,10 +78,10 @@ class ShareController extends Controller // Update sharing record $shared->update([ - 'permission' => $request->permission, + 'permission' => $request->permission, 'is_protected' => $request->protected, - 'expire_in' => $request->expiration, - 'password' => $request->password ? bcrypt($request->password) : $shared->password, + 'expire_in' => $request->expiration, + 'password' => $request->password ? bcrypt($request->password) : $shared->password, ]); // Return shared record diff --git a/app/Http/Controllers/FileManager/TrashController.php b/app/Http/Controllers/FileManager/TrashController.php index 59d7612c..653d7e66 100644 --- a/app/Http/Controllers/FileManager/TrashController.php +++ b/app/Http/Controllers/FileManager/TrashController.php @@ -33,7 +33,7 @@ class TrashController extends Controller // TODO: zrefaktorovat validator do requestu $validator = Validator::make($request->input('items'), [ '*.type' => 'required|string', - '*.id' => 'string', + '*.id' => 'string', ]); // Return error diff --git a/app/Http/Controllers/Sharing/BrowseShareController.php b/app/Http/Controllers/Sharing/BrowseShareController.php index 7f523003..6322a775 100644 --- a/app/Http/Controllers/Sharing/BrowseShareController.php +++ b/app/Http/Controllers/Sharing/BrowseShareController.php @@ -72,7 +72,7 @@ class BrowseShareController extends Controller // Check password if (Hash::check($request->password, $shared->password)) { $cookie = json_encode([ - 'token' => $shared->token, + 'token' => $shared->token, 'authenticated' => true, ]); @@ -188,10 +188,10 @@ class BrowseShareController extends Controller return [ [ - 'id' => $shared->item_id, - 'name' => __t('home'), + 'id' => $shared->item_id, + 'name' => __t('home'), 'location' => 'public', - 'folders' => $folders, + 'folders' => $folders, ], ]; } @@ -239,10 +239,10 @@ class BrowseShareController extends Controller } return Storage::response($path, $file_pretty_name, [ - 'Content-Type' => Storage::mimeType($path), + 'Content-Type' => Storage::mimeType($path), 'Content-Length' => Storage::size($path), - 'Accept-Ranges' => 'bytes', - 'Content-Range' => 'bytes 0-600/' . Storage::size($path), + 'Accept-Ranges' => 'bytes', + 'Content-Range' => 'bytes 0-600/' . Storage::size($path), ]); } } diff --git a/app/Http/Controllers/Sharing/FileSharedAccessController.php b/app/Http/Controllers/Sharing/FileSharedAccessController.php index 71edb851..5b7fc085 100644 --- a/app/Http/Controllers/Sharing/FileSharedAccessController.php +++ b/app/Http/Controllers/Sharing/FileSharedAccessController.php @@ -40,10 +40,10 @@ class FileSharedAccessController extends Controller return $disk ->download("zip/$zip->basename", $zip->basename, [ - 'Content-Type' => 'application/zip', - 'Content-Length' => $disk->size("zip/$zip->basename"), - 'Accept-Ranges' => 'bytes', - 'Content-Range' => 'bytes 0-600/' . $disk->size("zip/$zip->basename"), + 'Content-Type' => 'application/zip', + 'Content-Length' => $disk->size("zip/$zip->basename"), + 'Accept-Ranges' => 'bytes', + 'Content-Range' => 'bytes 0-600/' . $disk->size("zip/$zip->basename"), 'Content-Disposition' => 'attachment; filename=' . $zip->basename, ]); } diff --git a/app/Http/Controllers/Sharing/ManipulateShareItemsController.php b/app/Http/Controllers/Sharing/ManipulateShareItemsController.php index 257bf184..5ba683ea 100644 --- a/app/Http/Controllers/Sharing/ManipulateShareItemsController.php +++ b/app/Http/Controllers/Sharing/ManipulateShareItemsController.php @@ -252,7 +252,7 @@ class ManipulateShareItemsController extends Controller // Get file return response([ 'url' => route('zip_public', [ - 'id' => $zip->id, + 'id' => $zip->id, 'token' => $shared->token, ]), 'name' => $zip->basename, @@ -291,7 +291,7 @@ class ManipulateShareItemsController extends Controller // Get file return response([ 'url' => route('zip_public', [ - 'id' => $zip->id, + 'id' => $zip->id, 'token' => $shared->token, ]), 'name' => $zip->basename, diff --git a/app/Http/Controllers/User/AccountController.php b/app/Http/Controllers/User/AccountController.php index d002c518..2bb9e534 100644 --- a/app/Http/Controllers/User/AccountController.php +++ b/app/Http/Controllers/User/AccountController.php @@ -1,23 +1,22 @@ "token", - "token" => Str::random(40), - "abilities" => '["*"]', - "tokenable_id" => Str::uuid(), - "updated_at" => now(), - "created_at" => now(), - "id" => Str::random(40), + 'name' => 'token', + 'token' => Str::random(40), + 'abilities' => '["*"]', + 'tokenable_id' => Str::uuid(), + 'updated_at' => now(), + 'created_at' => now(), + 'id' => Str::random(40), ]); $token = Auth::user()->createToken($request->input('name')); @@ -176,15 +175,15 @@ class AccountController extends Controller return response('Deleted!', 204); } - public function email_verification(string $id, Request $request): RedirectResponse|Response + public function email_verification(string $id, Request $request): RedirectResponse | Response { - if (!$request->hasValidSignature()) { - return response("Invalid or expired url provided.", 401); + if (! $request->hasValidSignature()) { + return response('Invalid or expired url provided.', 401); } $user = User::find($id); - if (!$user->hasVerifiedEmail()) { + if (! $user->hasVerifiedEmail()) { $user->markEmailAsVerified(); } @@ -196,11 +195,11 @@ class AccountController extends Controller $user = User::whereEmail($request->input('email'))->first(); if ($user->hasVerifiedEmail()) { - return response("Email was already verified.", 204); + return response('Email was already verified.', 204); } $user->sendEmailVerificationNotification(); - return response("Email verification link sent to your email", 204); + return response('Email verification link sent to your email', 204); } } diff --git a/app/Http/Controllers/User/PaymentMethodsController.php b/app/Http/Controllers/User/PaymentMethodsController.php index e9b32f59..e9e7d0be 100644 --- a/app/Http/Controllers/User/PaymentMethodsController.php +++ b/app/Http/Controllers/User/PaymentMethodsController.php @@ -70,7 +70,7 @@ class PaymentMethodsController extends Controller if (! $user->card_brand || ! $user->stripe_id || is_null($paymentMethodsMapped) && is_null($paymentMethodsMapped)) { return [ 'default' => null, - 'others' => [], + 'others' => [], ]; } diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 6e4a5bac..2183fe4b 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -55,14 +55,14 @@ class Kernel extends HttpKernel * @var array */ protected $routeMiddleware = [ - 'auth' => \App\Http\Middleware\Authenticate::class, - 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, - 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, - 'can' => \Illuminate\Auth\Middleware\Authorize::class, - 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, + 'auth' => \App\Http\Middleware\Authenticate::class, + 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, + 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, + 'can' => \Illuminate\Auth\Middleware\Authorize::class, + 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, - 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, - 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, - 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, + 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, + 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, + 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, ]; } diff --git a/app/Http/Requests/Admin/ChangeRoleRequest.php b/app/Http/Requests/Admin/ChangeRoleRequest.php index 91a62df1..b7d42299 100644 --- a/app/Http/Requests/Admin/ChangeRoleRequest.php +++ b/app/Http/Requests/Admin/ChangeRoleRequest.php @@ -23,7 +23,7 @@ class ChangeRoleRequest extends FormRequest public function rules() { return [ - 'attributes' => 'required|array', + 'attributes' => 'required|array', 'attributes.role' => 'required|string', ]; } diff --git a/app/Http/Requests/Admin/ChangeStorageCapacityRequest.php b/app/Http/Requests/Admin/ChangeStorageCapacityRequest.php index 40c89f52..dc966cb4 100644 --- a/app/Http/Requests/Admin/ChangeStorageCapacityRequest.php +++ b/app/Http/Requests/Admin/ChangeStorageCapacityRequest.php @@ -23,7 +23,7 @@ class ChangeStorageCapacityRequest extends FormRequest public function rules() { return [ - 'attributes' => 'required|array', + 'attributes' => 'required|array', 'attributes.storage_capacity' => 'required|digits_between:1,9', ]; } diff --git a/app/Http/Requests/Admin/CreateUserByAdmin.php b/app/Http/Requests/Admin/CreateUserByAdmin.php index 6d7bdd65..be378047 100644 --- a/app/Http/Requests/Admin/CreateUserByAdmin.php +++ b/app/Http/Requests/Admin/CreateUserByAdmin.php @@ -23,12 +23,12 @@ class CreateUserByAdmin extends FormRequest public function rules() { return [ - 'email' => 'required|string|email|max:255|unique:users', - 'password' => 'required|string|min:6|confirmed', - 'name' => 'required|string|max:255', + 'email' => 'required|string|email|max:255|unique:users', + 'password' => 'required|string|min:6|confirmed', + 'name' => 'required|string|max:255', 'storage_capacity' => 'required|digits_between:1,9', - 'role' => 'required|string', - 'avatar' => 'sometimes|file', + 'role' => 'required|string', + 'avatar' => 'sometimes|file', ]; } } diff --git a/app/Http/Requests/FileFunctions/CreateFolderRequest.php b/app/Http/Requests/FileFunctions/CreateFolderRequest.php index 67804969..859a2a7d 100644 --- a/app/Http/Requests/FileFunctions/CreateFolderRequest.php +++ b/app/Http/Requests/FileFunctions/CreateFolderRequest.php @@ -24,7 +24,7 @@ class CreateFolderRequest extends FormRequest { return [ 'parent_id' => 'nullable|uuid', - 'name' => 'required|string', + 'name' => 'required|string', ]; } } diff --git a/app/Http/Requests/FileFunctions/DeleteItemRequest.php b/app/Http/Requests/FileFunctions/DeleteItemRequest.php index 209d3b11..183de865 100644 --- a/app/Http/Requests/FileFunctions/DeleteItemRequest.php +++ b/app/Http/Requests/FileFunctions/DeleteItemRequest.php @@ -24,8 +24,8 @@ class DeleteItemRequest extends FormRequest { return [ 'data[*].force_delete' => 'required|boolean', - 'data[*].type' => 'required|string', - 'data[*].id' => 'required|integer', + 'data[*].type' => 'required|string', + 'data[*].id' => 'required|integer', ]; } } diff --git a/app/Http/Requests/FileFunctions/MoveItemRequest.php b/app/Http/Requests/FileFunctions/MoveItemRequest.php index 8ccd3108..b742a284 100644 --- a/app/Http/Requests/FileFunctions/MoveItemRequest.php +++ b/app/Http/Requests/FileFunctions/MoveItemRequest.php @@ -23,9 +23,9 @@ class MoveItemRequest extends FormRequest public function rules() { return [ - 'to_id' => 'nullable|uuid', + 'to_id' => 'nullable|uuid', 'items[*].type' => 'required|string', - 'items[*].id' => 'required|uuid', + 'items[*].id' => 'required|uuid', ]; } } diff --git a/app/Http/Requests/FileFunctions/UploadRequest.php b/app/Http/Requests/FileFunctions/UploadRequest.php index bb3b48af..794e9fbb 100644 --- a/app/Http/Requests/FileFunctions/UploadRequest.php +++ b/app/Http/Requests/FileFunctions/UploadRequest.php @@ -1,5 +1,4 @@ 'required|string', + 'name' => 'required|string', 'locale' => 'required|string', ]; } diff --git a/app/Http/Requests/Languages/UpdateLanguageRequest.php b/app/Http/Requests/Languages/UpdateLanguageRequest.php index 056af6d5..68b08e26 100644 --- a/app/Http/Requests/Languages/UpdateLanguageRequest.php +++ b/app/Http/Requests/Languages/UpdateLanguageRequest.php @@ -23,7 +23,7 @@ class UpdateLanguageRequest extends FormRequest public function rules() { return [ - 'name' => 'required|string', + 'name' => 'required|string', 'value' => 'required|string', ]; } diff --git a/app/Http/Requests/Languages/UpdateStringRequest.php b/app/Http/Requests/Languages/UpdateStringRequest.php index c4052362..fe523b5b 100644 --- a/app/Http/Requests/Languages/UpdateStringRequest.php +++ b/app/Http/Requests/Languages/UpdateStringRequest.php @@ -23,7 +23,7 @@ class UpdateStringRequest extends FormRequest public function rules() { return [ - 'name' => 'required|string', + 'name' => 'required|string', 'value' => 'required|string', ]; } diff --git a/app/Http/Requests/Payments/RegisterNewPaymentMethodRequest.php b/app/Http/Requests/Payments/RegisterNewPaymentMethodRequest.php index 6a998dd8..25250f20 100644 --- a/app/Http/Requests/Payments/RegisterNewPaymentMethodRequest.php +++ b/app/Http/Requests/Payments/RegisterNewPaymentMethodRequest.php @@ -23,7 +23,7 @@ class RegisterNewPaymentMethodRequest extends FormRequest public function rules() { return [ - 'token' => 'required|string', + 'token' => 'required|string', 'default' => 'required|boolean', ]; } diff --git a/app/Http/Requests/PublicPages/SendContactMessageRequest.php b/app/Http/Requests/PublicPages/SendContactMessageRequest.php index 0bf18ea9..159b2a5e 100644 --- a/app/Http/Requests/PublicPages/SendContactMessageRequest.php +++ b/app/Http/Requests/PublicPages/SendContactMessageRequest.php @@ -23,7 +23,7 @@ class SendContactMessageRequest extends FormRequest public function rules() { return [ - 'email' => 'required|email', + 'email' => 'required|email', 'message' => 'required|string', ]; } diff --git a/app/Http/Requests/SetupWizard/StoreAppSetupRequest.php b/app/Http/Requests/SetupWizard/StoreAppSetupRequest.php index d689ded5..1d402a85 100644 --- a/app/Http/Requests/SetupWizard/StoreAppSetupRequest.php +++ b/app/Http/Requests/SetupWizard/StoreAppSetupRequest.php @@ -23,15 +23,15 @@ class StoreAppSetupRequest extends FormRequest public function rules() { return [ - 'title' => 'required|string', - 'description' => 'required|string', - 'logo' => 'sometimes|file', - 'logo_horizontal' => 'sometimes|file', - 'favicon' => 'sometimes|file', - 'contactMail' => 'required|email', - 'googleAnalytics' => 'sometimes|string', - 'defaultStorage' => 'sometimes|digits_between:1,9', - 'userRegistration' => 'required|boolean', + 'title' => 'required|string', + 'description' => 'required|string', + 'logo' => 'sometimes|file', + 'logo_horizontal' => 'sometimes|file', + 'favicon' => 'sometimes|file', + 'contactMail' => 'required|email', + 'googleAnalytics' => 'sometimes|string', + 'defaultStorage' => 'sometimes|digits_between:1,9', + 'userRegistration' => 'required|boolean', 'storageLimitation' => 'required|boolean', ]; } diff --git a/app/Http/Requests/SetupWizard/StoreDatabaseCredentialsRequest.php b/app/Http/Requests/SetupWizard/StoreDatabaseCredentialsRequest.php index ce00328f..d3befb32 100644 --- a/app/Http/Requests/SetupWizard/StoreDatabaseCredentialsRequest.php +++ b/app/Http/Requests/SetupWizard/StoreDatabaseCredentialsRequest.php @@ -24,11 +24,11 @@ class StoreDatabaseCredentialsRequest extends FormRequest { return [ 'connection' => 'required|string', - 'host' => 'required|string', - 'port' => 'required|string', - 'name' => 'required|string', - 'username' => 'required|string', - 'password' => 'required|string', + 'host' => 'required|string', + 'port' => 'required|string', + 'name' => 'required|string', + 'username' => 'required|string', + 'password' => 'required|string', ]; } } diff --git a/app/Http/Requests/SetupWizard/StoreEnvironmentSetupRequest.php b/app/Http/Requests/SetupWizard/StoreEnvironmentSetupRequest.php index 1b4b3416..600c8f54 100644 --- a/app/Http/Requests/SetupWizard/StoreEnvironmentSetupRequest.php +++ b/app/Http/Requests/SetupWizard/StoreEnvironmentSetupRequest.php @@ -23,20 +23,20 @@ class StoreEnvironmentSetupRequest extends FormRequest public function rules() { return [ - 'storage' => 'required|array', - 'storage.driver' => 'required|string', - 'storage.key' => 'sometimes|nullable|string', - 'storage.secret' => 'sometimes|nullable|string', + 'storage' => 'required|array', + 'storage.driver' => 'required|string', + 'storage.key' => 'sometimes|nullable|string', + 'storage.secret' => 'sometimes|nullable|string', 'storage.endpoint' => 'sometimes|nullable|string', - 'storage.region' => 'sometimes|nullable|string', - 'storage.bucket' => 'sometimes|nullable|string', - 'mail' => 'required|array', - 'mail.driver' => 'required|string', - 'mail.host' => 'required|string', - 'mail.port' => 'required|string', - 'mail.username' => 'required|string', - 'mail.password' => 'required|string', - 'mail.encryption' => 'required|string', + 'storage.region' => 'sometimes|nullable|string', + 'storage.bucket' => 'sometimes|nullable|string', + 'mail' => 'required|array', + 'mail.driver' => 'required|string', + 'mail.host' => 'required|string', + 'mail.port' => 'required|string', + 'mail.username' => 'required|string', + 'mail.password' => 'required|string', + 'mail.encryption' => 'required|string', ]; } } diff --git a/app/Http/Requests/SetupWizard/StoreStripeBillingRequest.php b/app/Http/Requests/SetupWizard/StoreStripeBillingRequest.php index 44fe2524..c14c2794 100644 --- a/app/Http/Requests/SetupWizard/StoreStripeBillingRequest.php +++ b/app/Http/Requests/SetupWizard/StoreStripeBillingRequest.php @@ -24,13 +24,13 @@ class StoreStripeBillingRequest extends FormRequest { return [ 'billing_phone_number' => 'sometimes|nullable|string', - 'billing_postal_code' => 'required|string', - 'billing_vat_number' => 'required|string', - 'billing_address' => 'required|string', - 'billing_country' => 'required|string', - 'billing_state' => 'required|string', - 'billing_city' => 'required|string', - 'billing_name' => 'required|string', + 'billing_postal_code' => 'required|string', + 'billing_vat_number' => 'required|string', + 'billing_address' => 'required|string', + 'billing_country' => 'required|string', + 'billing_state' => 'required|string', + 'billing_city' => 'required|string', + 'billing_name' => 'required|string', ]; } } diff --git a/app/Http/Requests/SetupWizard/StoreStripeCredentialsRequest.php b/app/Http/Requests/SetupWizard/StoreStripeCredentialsRequest.php index 30c173b2..1f79f1db 100644 --- a/app/Http/Requests/SetupWizard/StoreStripeCredentialsRequest.php +++ b/app/Http/Requests/SetupWizard/StoreStripeCredentialsRequest.php @@ -23,10 +23,10 @@ class StoreStripeCredentialsRequest extends FormRequest public function rules() { return [ - 'currency' => 'required|string', + 'currency' => 'required|string', 'webhookSecret' => 'required|string', - 'secret' => 'required|string', - 'key' => 'required|string', + 'secret' => 'required|string', + 'key' => 'required|string', ]; } } diff --git a/app/Http/Requests/SetupWizard/StoreStripePlansRequest.php b/app/Http/Requests/SetupWizard/StoreStripePlansRequest.php index 239e693a..7c4af909 100644 --- a/app/Http/Requests/SetupWizard/StoreStripePlansRequest.php +++ b/app/Http/Requests/SetupWizard/StoreStripePlansRequest.php @@ -23,12 +23,12 @@ class StoreStripePlansRequest extends FormRequest public function rules() { return [ - 'plans' => 'required|array', - 'plans.*.type' => 'required|string', - 'plans.*.attributes.name' => 'required|string', - 'plans.*.attributes.price' => 'required|string', + 'plans' => 'required|array', + 'plans.*.type' => 'required|string', + 'plans.*.attributes.name' => 'required|string', + 'plans.*.attributes.price' => 'required|string', 'plans.*.attributes.description' => 'sometimes|nullable|string', - 'plans.*.attributes.capacity' => 'required|digits_between:1,9', + 'plans.*.attributes.capacity' => 'required|digits_between:1,9', ]; } } diff --git a/app/Http/Requests/Share/CreateShareRequest.php b/app/Http/Requests/Share/CreateShareRequest.php index 2b89baa5..61beb2d3 100644 --- a/app/Http/Requests/Share/CreateShareRequest.php +++ b/app/Http/Requests/Share/CreateShareRequest.php @@ -25,11 +25,11 @@ class CreateShareRequest extends FormRequest { return [ 'isPassword' => 'required|boolean', - 'type' => 'required|string', + 'type' => 'required|string', 'expiration' => 'integer|nullable', 'permission' => 'string', - 'password' => 'string', - 'emails.*' => 'email', + 'password' => 'string', + 'emails.*' => 'email', ]; } } diff --git a/app/Http/Requests/Share/UpdateShareRequest.php b/app/Http/Requests/Share/UpdateShareRequest.php index 72e52e07..0e89895a 100644 --- a/app/Http/Requests/Share/UpdateShareRequest.php +++ b/app/Http/Requests/Share/UpdateShareRequest.php @@ -24,10 +24,10 @@ class UpdateShareRequest extends FormRequest public function rules() { return [ - 'protected' => 'required|boolean', + 'protected' => 'required|boolean', 'permission' => 'nullable|string', 'expiration' => 'integer|nullable', - 'password' => 'string', + 'password' => 'string', ]; } } diff --git a/app/Http/Requests/Subscription/StoreUpgradeAccountRequest.php b/app/Http/Requests/Subscription/StoreUpgradeAccountRequest.php index 99df8c59..b2595573 100644 --- a/app/Http/Requests/Subscription/StoreUpgradeAccountRequest.php +++ b/app/Http/Requests/Subscription/StoreUpgradeAccountRequest.php @@ -24,32 +24,32 @@ class StoreUpgradeAccountRequest extends FormRequest { return [ // Billings - 'billing' => 'required|array', - 'billing.billing_address' => 'required|string', - 'billing.billing_city' => 'required|string', - 'billing.billing_country' => 'required|string', - 'billing.billing_name' => 'required|string', + 'billing' => 'required|array', + 'billing.billing_address' => 'required|string', + 'billing.billing_city' => 'required|string', + 'billing.billing_country' => 'required|string', + 'billing.billing_name' => 'required|string', 'billing.billing_phone_number' => 'required|string', - 'billing.billing_postal_code' => 'required|string', - 'billing.billing_state' => 'required|string', + 'billing.billing_postal_code' => 'required|string', + 'billing.billing_state' => 'required|string', // Payment - 'payment' => 'required|array', - 'payment.type' => 'required|string', - 'payment.meta' => 'required|sometimes|array', + 'payment' => 'required|array', + 'payment.type' => 'required|string', + 'payment.meta' => 'required|sometimes|array', 'payment.meta.pm' => 'required|sometimes|string', // Plan - 'plan.data' => 'required|array', - 'plan.data.attributes' => 'required|array', - 'plan.data.attributes.capacity' => 'required|digits_between:1,9', + 'plan.data' => 'required|array', + 'plan.data.attributes' => 'required|array', + 'plan.data.attributes.capacity' => 'required|digits_between:1,9', 'plan.data.attributes.capacity_formatted' => 'required|string', - 'plan.data.attributes.currency' => 'required|string', - 'plan.data.attributes.description' => 'sometimes|string|nullable', - 'plan.data.attributes.name' => 'required|string', - 'plan.data.attributes.price' => 'required|string', - 'plan.data.id' => 'required|string', - 'plan.data.type' => 'required|string', + 'plan.data.attributes.currency' => 'required|string', + 'plan.data.attributes.description' => 'sometimes|string|nullable', + 'plan.data.attributes.name' => 'required|string', + 'plan.data.attributes.price' => 'required|string', + 'plan.data.id' => 'required|string', + 'plan.data.type' => 'required|string', ]; } } diff --git a/app/Http/Requests/User/UserCreateAccessTokenRequest.php b/app/Http/Requests/User/UserCreateAccessTokenRequest.php index 4e6bfebd..cf41f424 100644 --- a/app/Http/Requests/User/UserCreateAccessTokenRequest.php +++ b/app/Http/Requests/User/UserCreateAccessTokenRequest.php @@ -1,5 +1,4 @@ [ - 'id' => $this->id, - 'type' => 'file', + 'id' => $this->id, + 'type' => 'file', 'attributes' => [ - 'name' => $this->name, - 'basename' => $this->basename, - 'mimetype' => $this->mimetype, - 'filesize' => $this->filesize, - 'type' => $this->type, - 'file_url' => $this->file_url, - 'thumbnail' => $this->thumbnail, + 'name' => $this->name, + 'basename' => $this->basename, + 'mimetype' => $this->mimetype, + 'filesize' => $this->filesize, + 'type' => $this->type, + 'file_url' => $this->file_url, + 'thumbnail' => $this->thumbnail, 'created_at' => $this->created_at, 'updated_at' => $this->created_at, ], diff --git a/app/Http/Resources/InvoiceAdminResource.php b/app/Http/Resources/InvoiceAdminResource.php index aa4b7be0..e3da2dad 100644 --- a/app/Http/Resources/InvoiceAdminResource.php +++ b/app/Http/Resources/InvoiceAdminResource.php @@ -20,25 +20,25 @@ class InvoiceAdminResource extends JsonResource return [ 'data' => [ - 'id' => $this['id'], - 'type' => 'invoices', + 'id' => $this['id'], + 'type' => 'invoices', 'attributes' => [ - 'customer' => $this['customer'], - 'total' => Cashier::formatAmount($this['total']), - 'currency' => $this['currency'], + 'customer' => $this['customer'], + 'total' => Cashier::formatAmount($this['total']), + 'currency' => $this['currency'], 'created_at_formatted' => format_date($this['created']), - 'created_at' => $this['created'], - 'order' => $this['number'], - 'user_id' => $user->id ?? null, - 'client' => [ - 'billing_address' => $this['customer_address'], - 'billing_name' => $this['customer_name'], + 'created_at' => $this['created'], + 'order' => $this['number'], + 'user_id' => $user->id ?? null, + 'client' => [ + 'billing_address' => $this['customer_address'], + 'billing_name' => $this['customer_name'], 'billing_phone_number' => $this['customer_phone'], ], 'bag' => [ - 'amount' => $this['lines']['data'][0]['amount'], - 'currency' => $this['lines']['data'][0]['currency'], - 'type' => $this['lines']['data'][0]['type'], + 'amount' => $this['lines']['data'][0]['amount'], + 'currency' => $this['lines']['data'][0]['currency'], + 'type' => $this['lines']['data'][0]['type'], 'description' => $this['lines']['data'][0]['description'], ], 'seller' => null, @@ -48,10 +48,10 @@ class InvoiceAdminResource extends JsonResource 'relationships' => [ 'user' => [ 'data' => [ - 'id' => $user->id, - 'type' => 'user', + 'id' => $user->id, + 'type' => 'user', 'attributes' => [ - 'name' => $user->settings->name, + 'name' => $user->settings->name, 'avatar' => $user->settings->avatar, ], ], diff --git a/app/Http/Resources/InvoiceResource.php b/app/Http/Resources/InvoiceResource.php index a0964250..d4538e12 100644 --- a/app/Http/Resources/InvoiceResource.php +++ b/app/Http/Resources/InvoiceResource.php @@ -19,33 +19,33 @@ class InvoiceResource extends JsonResource return [ 'data' => [ - 'id' => $this->id, - 'type' => 'invoices', + 'id' => $this->id, + 'type' => 'invoices', 'attributes' => [ - 'customer' => $this->customer, - 'total' => $this->total(), - 'currency' => $this->currency, + 'customer' => $this->customer, + 'total' => $this->total(), + 'currency' => $this->currency, 'created_at_formatted' => format_date($this->date(), '%d. %B. %Y'), - 'created_at' => $this->created, - 'order' => $this->number, - 'user_id' => $user->id ?? null, - 'client' => [ - 'billing_address' => $this->customer_address, - 'billing_name' => $this->customer_name, + 'created_at' => $this->created, + 'order' => $this->number, + 'user_id' => $user->id ?? null, + 'client' => [ + 'billing_address' => $this->customer_address, + 'billing_name' => $this->customer_name, 'billing_phone_number' => $this->customer_phone, ], - 'seller' => null, - 'invoice_items' => $this->get_invoice_items(), + 'seller' => null, + 'invoice_items' => $this->get_invoice_items(), 'invoice_subscriptions' => $this->get_invoice_subscriptions(), ], $this->mergeWhen($user, [ 'relationships' => [ 'user' => [ 'data' => [ - 'id' => $user->id, - 'type' => 'user', + 'id' => $user->id, + 'type' => 'user', 'attributes' => [ - 'name' => $user->settings->name, + 'name' => $user->settings->name, 'avatar' => $user->settings->avatar, ], ], @@ -65,10 +65,10 @@ class InvoiceResource extends JsonResource foreach ($this->subscriptions() as $item) { array_push($array, [ - 'amount' => $item->total(), + 'amount' => $item->total(), 'description' => $item->description, - 'currency' => $item->currency, - 'type' => $item->type, + 'currency' => $item->currency, + 'type' => $item->type, ]); } @@ -84,10 +84,10 @@ class InvoiceResource extends JsonResource foreach ($this->invoiceItems() as $item) { array_push($array, [ - 'amount' => $item->total(), + 'amount' => $item->total(), 'description' => $item->description, - 'currency' => $item->currency, - 'type' => $item->type, + 'currency' => $item->currency, + 'type' => $item->type, ]); } diff --git a/app/Http/Resources/LanguageCollection.php b/app/Http/Resources/LanguageCollection.php index b1f786e0..2c4898dc 100644 --- a/app/Http/Resources/LanguageCollection.php +++ b/app/Http/Resources/LanguageCollection.php @@ -23,7 +23,7 @@ class LanguageCollection extends ResourceCollection return [ 'data' => $this->collection, 'meta' => [ - 'current_language' => new LanguageResource($current_language), + 'current_language' => new LanguageResource($current_language), 'reference_translations' => get_default_language_translations(), ], ]; diff --git a/app/Http/Resources/LanguageResource.php b/app/Http/Resources/LanguageResource.php index 162ed330..88b40f94 100644 --- a/app/Http/Resources/LanguageResource.php +++ b/app/Http/Resources/LanguageResource.php @@ -15,14 +15,14 @@ class LanguageResource extends JsonResource { return [ 'data' => [ - 'id' => $this->id, - 'type' => 'languages', + 'id' => $this->id, + 'type' => 'languages', 'attributes' => [ - 'name' => $this->name, - 'locale' => $this->locale, + 'name' => $this->name, + 'locale' => $this->locale, 'translations' => map_language_translations($this->languageTranslations), - 'updated_at' => $this->updated_at, - 'created_at' => $this->created_at, + 'updated_at' => $this->updated_at, + 'created_at' => $this->created_at, ], ], ]; diff --git a/app/Http/Resources/PageResource.php b/app/Http/Resources/PageResource.php index 67bf25ab..1b0eda22 100644 --- a/app/Http/Resources/PageResource.php +++ b/app/Http/Resources/PageResource.php @@ -15,13 +15,13 @@ class PageResource extends JsonResource { return [ 'data' => [ - 'id' => $this->slug, - 'type' => 'pages', + 'id' => $this->slug, + 'type' => 'pages', 'attributes' => [ - 'visibility' => $this->visibility, - 'title' => $this->title, - 'slug' => $this->slug, - 'content' => $this->content, + 'visibility' => $this->visibility, + 'title' => $this->title, + 'slug' => $this->slug, + 'content' => $this->content, 'content_formatted' => add_paragraphs($this->content), ], ], diff --git a/app/Http/Resources/PaymentCardResource.php b/app/Http/Resources/PaymentCardResource.php index 4bc62d4a..371f9f94 100644 --- a/app/Http/Resources/PaymentCardResource.php +++ b/app/Http/Resources/PaymentCardResource.php @@ -15,18 +15,18 @@ class PaymentCardResource extends JsonResource { return [ 'data' => [ - 'id' => (string) $this['id'], - 'type' => 'payment_method', + 'id' => (string) $this['id'], + 'type' => 'payment_method', 'attributes' => [ - 'provider' => 'stripe', - 'card_id' => $this['id'], - 'brand' => strtolower($this['card']['brand']), - 'last4' => $this['card']['last4'], - 'exp_month' => $this['card']['exp_month'], - 'exp_year' => $this['card']['exp_year'], + 'provider' => 'stripe', + 'card_id' => $this['id'], + 'brand' => strtolower($this['card']['brand']), + 'last4' => $this['card']['last4'], + 'exp_month' => $this['card']['exp_month'], + 'exp_year' => $this['card']['exp_year'], 'created_at' => format_date($this['created_at'], '%d. %B. %Y'), - 'status' => 'active', - 'default' => 0, + 'status' => 'active', + 'default' => 0, ], ], ]; diff --git a/app/Http/Resources/PaymentDefaultCardResource.php b/app/Http/Resources/PaymentDefaultCardResource.php index e64b5a1b..4e06a46e 100644 --- a/app/Http/Resources/PaymentDefaultCardResource.php +++ b/app/Http/Resources/PaymentDefaultCardResource.php @@ -15,18 +15,18 @@ class PaymentDefaultCardResource extends JsonResource { return [ 'data' => [ - 'id' => (string) $this['id'], - 'type' => 'payment_method', + 'id' => (string) $this['id'], + 'type' => 'payment_method', 'attributes' => [ - 'provider' => 'stripe', - 'card_id' => $this['id'], - 'brand' => isset($this['brand']) ? strtolower($this['brand']) : strtolower($this['card']['brand']), - 'last4' => isset($this['last4']) ? $this['last4'] : $this['card']['last4'], - 'exp_month' => isset($this['exp_month']) ? $this['exp_month'] : $this['card']['exp_month'], - 'exp_year' => isset($this['exp_year']) ? $this['exp_year'] : $this['card']['exp_year'], + 'provider' => 'stripe', + 'card_id' => $this['id'], + 'brand' => isset($this['brand']) ? strtolower($this['brand']) : strtolower($this['card']['brand']), + 'last4' => isset($this['last4']) ? $this['last4'] : $this['card']['last4'], + 'exp_month' => isset($this['exp_month']) ? $this['exp_month'] : $this['card']['exp_month'], + 'exp_year' => isset($this['exp_year']) ? $this['exp_year'] : $this['card']['exp_year'], 'created_at' => format_date($this['created_at'], '%d. %B. %Y'), - 'status' => 'active', - 'default' => 0, + 'status' => 'active', + 'default' => 0, ], ], ]; diff --git a/app/Http/Resources/PlanResource.php b/app/Http/Resources/PlanResource.php index 7a325ffc..5b7fe575 100644 --- a/app/Http/Resources/PlanResource.php +++ b/app/Http/Resources/PlanResource.php @@ -20,19 +20,19 @@ class PlanResource extends JsonResource return [ 'data' => [ - 'id' => $this['plan']['id'], - 'type' => 'plans', + 'id' => $this['plan']['id'], + 'type' => 'plans', 'attributes' => [ - 'subscribers' => $subscriber_count->count(), - 'status' => $this['plan']['active'] ? 1 : 0, - 'name' => $this['product']['name'], - 'description' => $this['product']['description'], - 'price' => $this['plan']['amount'], - 'price_formatted' => Cashier::formatAmount($this['plan']['amount']), - 'capacity_formatted' => format_gigabytes($this['product']['metadata']['capacity']), - 'capacity' => (int) $this['product']['metadata']['capacity'], + 'subscribers' => $subscriber_count->count(), + 'status' => $this['plan']['active'] ? 1 : 0, + 'name' => $this['product']['name'], + 'description' => $this['product']['description'], + 'price' => $this['plan']['amount'], + 'price_formatted' => Cashier::formatAmount($this['plan']['amount']), + 'capacity_formatted' => format_gigabytes($this['product']['metadata']['capacity']), + 'capacity' => (int) $this['product']['metadata']['capacity'], 'created_at_formatted' => format_date($this['plan']['created']), - 'created_at' => $this['plan']['created'], + 'created_at' => $this['plan']['created'], ], ], ]; diff --git a/app/Http/Resources/PricingResource.php b/app/Http/Resources/PricingResource.php index 07dd014f..89a3a7fb 100644 --- a/app/Http/Resources/PricingResource.php +++ b/app/Http/Resources/PricingResource.php @@ -17,16 +17,16 @@ class PricingResource extends JsonResource { return [ 'data' => [ - 'id' => $this['plan']['id'], - 'type' => 'plans', + 'id' => $this['plan']['id'], + 'type' => 'plans', 'attributes' => [ - 'name' => $this['product']['name'], - 'description' => $this['product']['description'], - 'price' => Cashier::formatAmount($this['plan']['amount']), + 'name' => $this['product']['name'], + 'description' => $this['product']['description'], + 'price' => Cashier::formatAmount($this['plan']['amount']), 'capacity_formatted' => format_gigabytes($this['product']['metadata']['capacity']), - 'capacity' => (int) $this['product']['metadata']['capacity'], - 'currency' => config('cashier.currency'), - 'tax_rates' => resolve(StripeService::class)->get_tax_rates($this['plan']['amount']), + 'capacity' => (int) $this['product']['metadata']['capacity'], + 'currency' => config('cashier.currency'), + 'tax_rates' => resolve(StripeService::class)->get_tax_rates($this['plan']['amount']), ], ], ]; diff --git a/app/Http/Resources/ShareResource.php b/app/Http/Resources/ShareResource.php index 082568e8..3e33defd 100644 --- a/app/Http/Resources/ShareResource.php +++ b/app/Http/Resources/ShareResource.php @@ -15,18 +15,18 @@ class ShareResource extends JsonResource { return [ 'data' => [ - 'id' => (string) $this->id, - 'type' => 'shares', + 'id' => (string) $this->id, + 'type' => 'shares', 'attributes' => [ - 'permission' => $this->permission, + 'permission' => $this->permission, 'is_protected' => $this->is_protected, - 'item_id' => $this->item_id, - 'expire_in' => (int) $this->expire_in, - 'token' => $this->token, - 'link' => $this->link, - 'type' => $this->type, - 'created_at' => $this->created_at, - 'updated_at' => $this->updated_at, + 'item_id' => $this->item_id, + 'expire_in' => (int) $this->expire_in, + 'token' => $this->token, + 'link' => $this->link, + 'type' => $this->type, + 'created_at' => $this->created_at, + 'updated_at' => $this->updated_at, ], ], ]; diff --git a/app/Http/Resources/UserResource.php b/app/Http/Resources/UserResource.php index 0285c44b..2af0eadb 100644 --- a/app/Http/Resources/UserResource.php +++ b/app/Http/Resources/UserResource.php @@ -16,44 +16,44 @@ class UserResource extends JsonResource // TODO: zrefaktorovat return [ 'data' => [ - 'id' => $this->id, - 'type' => 'user', + 'id' => $this->id, + 'type' => 'user', 'attributes' => [ - 'storage_capacity' => $this->settings->storage_capacity, - 'subscription' => $this->subscribed('main'), - 'incomplete_payment' => $this->hasIncompletePayment('main') ? route('cashier.payment', $this->subscription('main')->latestPayment()->id) : null, - 'stripe_customer' => is_null($this->stripe_id) ? false : true, - 'email' => is_demo() ? obfuscate_email($this->email) : $this->email, - 'role' => $this->role, + 'storage_capacity' => $this->settings->storage_capacity, + 'subscription' => $this->subscribed('main'), + 'incomplete_payment' => $this->hasIncompletePayment('main') ? route('cashier.payment', $this->subscription('main')->latestPayment()->id) : null, + 'stripe_customer' => is_null($this->stripe_id) ? false : true, + 'email' => is_demo() ? obfuscate_email($this->email) : $this->email, + 'role' => $this->role, 'two_factor_authentication' => $this->two_factor_secret ? true : false, - 'folders' => $this->folder_tree, - 'storage' => $this->storage, - 'created_at_formatted' => format_date($this->created_at, '%d. %B. %Y'), - 'created_at' => $this->created_at, - 'updated_at' => $this->updated_at, + 'folders' => $this->folder_tree, + 'storage' => $this->storage, + 'created_at_formatted' => format_date($this->created_at, '%d. %B. %Y'), + 'created_at' => $this->created_at, + 'updated_at' => $this->updated_at, ], 'relationships' => [ 'settings' => [ 'data' => [ - 'id' => $this->id, - 'type' => 'settings', + 'id' => $this->id, + 'type' => 'settings', 'attributes' => [ - 'avatar' => $this->settings->avatar, - 'name' => $this->settings->name, - 'address' => $this->settings->address, - 'state' => $this->settings->state, - 'city' => $this->settings->city, - 'postal_code' => $this->settings->postal_code, - 'country' => $this->settings->country, + 'avatar' => $this->settings->avatar, + 'name' => $this->settings->name, + 'address' => $this->settings->address, + 'state' => $this->settings->state, + 'city' => $this->settings->city, + 'postal_code' => $this->settings->postal_code, + 'country' => $this->settings->country, 'phone_number' => $this->settings->phone_number, - 'timezone' => $this->settings->timezone, + 'timezone' => $this->settings->timezone, ], ], ], 'favourites' => [ 'data' => [ - 'id' => $this->id, - 'type' => 'favourite_folders', + 'id' => $this->id, + 'type' => 'favourite_folders', 'attributes' => [ 'folders' => $this->favouriteFolders->makeHidden(['pivot']), ], diff --git a/app/Http/Resources/UserStorageResource.php b/app/Http/Resources/UserStorageResource.php index 32627880..f924add9 100644 --- a/app/Http/Resources/UserStorageResource.php +++ b/app/Http/Resources/UserStorageResource.php @@ -53,32 +53,32 @@ class UserStorageResource extends JsonResource return [ 'data' => [ - 'id' => (string) $this->id, - 'type' => 'storage', + 'id' => (string) $this->id, + 'type' => 'storage', 'attributes' => [ - 'used' => Metric::bytes($this->used_capacity)->format(), - 'capacity' => format_gigabytes($this->settings->storage_capacity), + 'used' => Metric::bytes($this->used_capacity)->format(), + 'capacity' => format_gigabytes($this->settings->storage_capacity), 'percentage' => (float) get_storage_fill_percentage($this->used_capacity, $this->settings->storage_capacity), ], 'meta' => [ 'images' => [ - 'used' => Metric::bytes($images)->format(), + 'used' => Metric::bytes($images)->format(), 'percentage' => (float) get_storage_fill_percentage($images, $this->settings->storage_capacity), ], 'audios' => [ - 'used' => Metric::bytes($audios)->format(), + 'used' => Metric::bytes($audios)->format(), 'percentage' => (float) get_storage_fill_percentage($audios, $this->settings->storage_capacity), ], 'videos' => [ - 'used' => Metric::bytes($videos)->format(), + 'used' => Metric::bytes($videos)->format(), 'percentage' => (float) get_storage_fill_percentage($videos, $this->settings->storage_capacity), ], 'documents' => [ - 'used' => Metric::bytes($documents)->format(), + 'used' => Metric::bytes($documents)->format(), 'percentage' => (float) get_storage_fill_percentage($documents, $this->settings->storage_capacity), ], 'others' => [ - 'used' => Metric::bytes($others)->format(), + 'used' => Metric::bytes($others)->format(), 'percentage' => (float) get_storage_fill_percentage($others, $this->settings->storage_capacity), ], ], diff --git a/app/Http/Resources/UserSubscription.php b/app/Http/Resources/UserSubscription.php index 4ca3b111..ba077a90 100644 --- a/app/Http/Resources/UserSubscription.php +++ b/app/Http/Resources/UserSubscription.php @@ -22,19 +22,19 @@ class UserSubscription extends JsonResource return [ 'data' => [ - 'id' => $subscription['plan']['id'], - 'type' => 'subscription', + 'id' => $subscription['plan']['id'], + 'type' => 'subscription', 'attributes' => [ - 'incomplete' => $this->subscription('main')->incomplete(), - 'active' => $this->subscription('main')->active(), - 'canceled' => $this->subscription('main')->cancelled(), - 'name' => $subscription['product']['name'], - 'capacity' => (int) $subscription['product']['metadata']['capacity'], + 'incomplete' => $this->subscription('main')->incomplete(), + 'active' => $this->subscription('main')->active(), + 'canceled' => $this->subscription('main')->cancelled(), + 'name' => $subscription['product']['name'], + 'capacity' => (int) $subscription['product']['metadata']['capacity'], 'capacity_formatted' => format_gigabytes($subscription['product']['metadata']['capacity']), - 'slug' => $subscription['plan']['id'], - 'canceled_at' => format_date($active_subscription['canceled_at'], '%d. %B. %Y'), - 'created_at' => format_date($active_subscription['current_period_start'], '%d. %B. %Y'), - 'ends_at' => format_date($active_subscription['current_period_end'], '%d. %B. %Y'), + 'slug' => $subscription['plan']['id'], + 'canceled_at' => format_date($active_subscription['canceled_at'], '%d. %B. %Y'), + 'created_at' => format_date($active_subscription['current_period_start'], '%d. %B. %Y'), + 'ends_at' => format_date($active_subscription['current_period_end'], '%d. %B. %Y'), ], ], ]; diff --git a/app/Http/helpers.php b/app/Http/helpers.php index 0aa169ee..56c78c03 100644 --- a/app/Http/helpers.php +++ b/app/Http/helpers.php @@ -894,9 +894,9 @@ if (! function_exists('get_files_for_zip')) { // Push file to collection $folders->files->each(function ($file) use ($files, $path) { $files->push([ - 'name' => $file->name, - 'basename' => $file->basename, - 'mimetype' => $file->mimetype, + 'name' => $file->name, + 'basename' => $file->basename, + 'mimetype' => $file->mimetype, 'folder_path' => implode('/', $path), ]); }); @@ -984,7 +984,7 @@ if (! function_exists('replace_occurrence')) { { $occurrences = $values->map(function ($message, $key) { return [ - 'key' => ":$key", + 'key' => ":$key", 'message' => $message, ]; }); diff --git a/app/Models/File.php b/app/Models/File.php index 9ba107a1..5a3505c4 100644 --- a/app/Models/File.php +++ b/app/Models/File.php @@ -136,10 +136,10 @@ class File extends Model : get_pretty_name($this->attributes['basename'], $this->attributes['name'], $this->attributes['mimetype']); $header = [ - 'ResponseAcceptRanges' => 'bytes', - 'ResponseContentType' => $this->attributes['mimetype'], - 'ResponseContentLength' => $this->attributes['filesize'], - 'ResponseContentRange' => 'bytes 0-600/' . $this->attributes['filesize'], + 'ResponseAcceptRanges' => 'bytes', + 'ResponseContentType' => $this->attributes['mimetype'], + 'ResponseContentLength' => $this->attributes['filesize'], + 'ResponseContentRange' => 'bytes 0-600/' . $this->attributes['filesize'], 'ResponseContentDisposition' => 'attachment; filename=' . $file_pretty_name, ]; @@ -167,8 +167,8 @@ class File extends Model $name = Str::slug($array['name'], ' '); return [ - 'id' => $this->id, - 'name' => $name, + 'id' => $this->id, + 'name' => $name, 'nameNgrams' => utf8_encode((new TNTIndexer)->buildTrigrams(implode(', ', [$name]))), ]; } diff --git a/app/Models/Folder.php b/app/Models/Folder.php index 5a3e7e45..3ecce0fa 100644 --- a/app/Models/Folder.php +++ b/app/Models/Folder.php @@ -64,8 +64,8 @@ class Folder extends Model $name = Str::slug($array['name'], ' '); return [ - 'id' => $this->id, - 'name' => $name, + 'id' => $this->id, + 'name' => $name, 'nameNgrams' => utf8_encode((new TNTIndexer)->buildTrigrams(implode(', ', [$name]))), ]; } diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index 6ffaa9fb..7720ed60 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -12,7 +12,7 @@ class Invoice extends Model protected $casts = [ 'seller' => 'array', 'client' => 'array', - 'bag' => 'array', + 'bag' => 'array', ]; /** diff --git a/app/Models/User.php b/app/Models/User.php index 22d49b01..1e6c2c5c 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -12,9 +12,9 @@ use App\Notifications\ResetPassword; use Illuminate\Support\Facades\Storage; use Illuminate\Notifications\Notifiable; use Laravel\Fortify\TwoFactorAuthenticatable; +use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; -use Illuminate\Contracts\Auth\MustVerifyEmail; class User extends Authenticatable implements MustVerifyEmail { @@ -34,7 +34,7 @@ class User extends Authenticatable implements MustVerifyEmail ]; protected $casts = [ - 'id' => 'string', + 'id' => 'string', 'email_verified_at' => 'datetime', ]; @@ -87,15 +87,15 @@ class User extends Authenticatable implements MustVerifyEmail // Get user storage usage if (! $is_storage_limit) { return [ - 'used' => $this->used_capacity, + 'used' => $this->used_capacity, 'used_formatted' => Metric::bytes($this->used_capacity)->format(), ]; } return [ - 'used' => (float) get_storage_fill_percentage($this->used_capacity, $this->settings->storage_capacity), - 'used_formatted' => get_storage_fill_percentage($this->used_capacity, $this->settings->storage_capacity) . '%', - 'capacity' => $this->settings->storage_capacity, + 'used' => (float) get_storage_fill_percentage($this->used_capacity, $this->settings->storage_capacity), + 'used_formatted' => get_storage_fill_percentage($this->used_capacity, $this->settings->storage_capacity) . '%', + 'capacity' => $this->settings->storage_capacity, 'capacity_formatted' => format_gigabytes($this->settings->storage_capacity), ]; } @@ -137,13 +137,13 @@ class User extends Authenticatable implements MustVerifyEmail public function setBilling($billing) { $this->settings()->update([ - 'address' => $billing['billing_address'], - 'city' => $billing['billing_city'], - 'country' => $billing['billing_country'], - 'name' => $billing['billing_name'], + 'address' => $billing['billing_address'], + 'city' => $billing['billing_city'], + 'country' => $billing['billing_country'], + 'name' => $billing['billing_name'], 'phone_number' => $billing['billing_phone_number'], - 'postal_code' => $billing['billing_postal_code'], - 'state' => $billing['billing_state'], + 'postal_code' => $billing['billing_postal_code'], + 'state' => $billing['billing_state'], ]); return $this->settings; diff --git a/app/Providers/FortifyServiceProvider.php b/app/Providers/FortifyServiceProvider.php index 7347ef4a..8f06a54e 100644 --- a/app/Providers/FortifyServiceProvider.php +++ b/app/Providers/FortifyServiceProvider.php @@ -3,7 +3,6 @@ namespace App\Providers; use Illuminate\Http\Request; use Laravel\Fortify\Fortify; -use App\Actions\Fortify\CreateNewUserAction; use Illuminate\Support\ServiceProvider; use Illuminate\Cache\RateLimiting\Limit; use App\Actions\Fortify\ResetUserPassword; diff --git a/app/Services/DemoService.php b/app/Services/DemoService.php index 1abda2a1..7c2656a2 100644 --- a/app/Services/DemoService.php +++ b/app/Services/DemoService.php @@ -20,15 +20,15 @@ class DemoService public function create_folder($request) { return [ - 'user_id' => 1, - 'id' => Str::uuid(), - 'parent_id' => random_int(1000, 9999), - 'name' => $request->name, - 'type' => 'folder', - 'author' => $request->user() ? 'user' : 'visitor', - 'items' => '0', - 'color' => isset($request->icon['color']) ? $request->icon['color'] : null, - 'emoji' => isset($request->icon['emoji']) ? $request->icon['emoji'] : null, + 'user_id' => 1, + 'id' => Str::uuid(), + 'parent_id' => random_int(1000, 9999), + 'name' => $request->name, + 'type' => 'folder', + 'author' => $request->user() ? 'user' : 'visitor', + 'items' => '0', + 'color' => isset($request->icon['color']) ? $request->icon['color'] : null, + 'emoji' => isset($request->icon['emoji']) ? $request->icon['emoji'] : null, 'updated_at' => now()->format('j M Y \a\t H:i'), 'created_at' => now()->format('j M Y \a\t H:i'), ]; @@ -63,7 +63,7 @@ class DemoService } return [ - 'id' => $request->id, + 'id' => $request->id, 'name' => $request->name, 'type' => $request->type, ]; @@ -86,16 +86,16 @@ class DemoService $filetype = get_file_type($file->getMimeType()); return [ - 'id' => Str::uuid(), - 'folder_id' => $request->parent_id, - 'thumbnail' => 'data:' . $request->file('file')->getMimeType() . ';base64, ' . base64_encode(file_get_contents($request->file('file'))), - 'name' => $file->getClientOriginalName(), - 'basename' => $filename, - 'mimetype' => $file->getClientOriginalExtension(), - 'filesize' => Metric::bytes($filesize)->format(), - 'type' => $filetype, - 'file_url' => 'https://vuefilemanager.hi5ve.digital/assets/vue-file-manager-preview.jpg', - 'author' => $request->user() ? 'user' : 'visitor', + 'id' => Str::uuid(), + 'folder_id' => $request->parent_id, + 'thumbnail' => 'data:' . $request->file('file')->getMimeType() . ';base64, ' . base64_encode(file_get_contents($request->file('file'))), + 'name' => $file->getClientOriginalName(), + 'basename' => $filename, + 'mimetype' => $file->getClientOriginalExtension(), + 'filesize' => Metric::bytes($filesize)->format(), + 'type' => $filetype, + 'file_url' => 'https://vuefilemanager.hi5ve.digital/assets/vue-file-manager-preview.jpg', + 'author' => $request->user() ? 'user' : 'visitor', 'created_at' => now()->format('j M Y \a\t H:i'), 'updated_at' => now()->format('j M Y \a\t H:i'), ]; diff --git a/app/Services/FileManagerService.php b/app/Services/FileManagerService.php index 1bc29cf9..a986dde1 100644 --- a/app/Services/FileManagerService.php +++ b/app/Services/FileManagerService.php @@ -88,9 +88,9 @@ class FileManagerService // Store zip record return Zip::create([ - 'user_id' => $shared->user_id ?? Auth::id(), + 'user_id' => $shared->user_id ?? Auth::id(), 'shared_token' => $shared->token ?? null, - 'basename' => $zip_name, + 'basename' => $zip_name, ]); } @@ -146,9 +146,9 @@ class FileManagerService // Store zip record return Zip::create([ - 'user_id' => $shared->user_id ?? Auth::id(), + 'user_id' => $shared->user_id ?? Auth::id(), 'shared_token' => $shared->token ?? null, - 'basename' => $zip_name, + 'basename' => $zip_name, ]); } @@ -163,11 +163,11 @@ class FileManagerService { return Folder::create([ 'parent_id' => $request->parent_id, - 'author' => $shared ? 'visitor' : 'user', - 'user_id' => $shared ? $shared->user_id : Auth::id(), - 'name' => $request->name, - 'color' => $request->color ?? null, - 'emoji' => $request->emoji ?? null, + 'author' => $shared ? 'visitor' : 'user', + 'user_id' => $shared ? $shared->user_id : Auth::id(), + 'name' => $request->name, + 'color' => $request->color ?? null, + 'emoji' => $request->emoji ?? null, ]); } @@ -397,16 +397,16 @@ class FileManagerService // Return new file return UserFile::create([ - 'mimetype' => get_file_type_from_mimetype($file_mimetype), - 'type' => get_file_type($file_mimetype), + 'mimetype' => get_file_type_from_mimetype($file_mimetype), + 'type' => get_file_type($file_mimetype), 'folder_id' => $request->folder_id, - 'metadata' => $metadata, - 'name' => $request->filename, - 'basename' => $disk_file_name, - 'author' => $shared ? 'visitor' : 'user', + 'metadata' => $metadata, + 'name' => $request->filename, + 'basename' => $disk_file_name, + 'author' => $shared ? 'visitor' : 'user', 'thumbnail' => $thumbnail, - 'filesize' => $file_size, - 'user_id' => $user_id, + 'filesize' => $file_size, + 'user_id' => $user_id, ]); } } diff --git a/app/Services/HelperService.php b/app/Services/HelperService.php index 3695be0c..461957d3 100644 --- a/app/Services/HelperService.php +++ b/app/Services/HelperService.php @@ -145,7 +145,7 @@ class HelperService // TODO: replace local files with temp folder $uploader = new MultipartUploader($client, config('filesystems.disks.local.root') . "/files/$user_id/$file", [ 'bucket' => $adapter->getBucket(), - 'key' => "files/$user_id/$file", + 'key' => "files/$user_id/$file", ]); try { @@ -228,10 +228,10 @@ class HelperService return response() ->download(Storage::path($path), $pretty_name, [ - 'Accept-Ranges' => 'bytes', - 'Content-Type' => Storage::mimeType($path), - 'Content-Length' => Storage::size($path), - 'Content-Range' => 'bytes 0-600/' . Storage::size($path), + 'Accept-Ranges' => 'bytes', + 'Content-Type' => Storage::mimeType($path), + 'Content-Length' => Storage::size($path), + 'Content-Range' => 'bytes 0-600/' . Storage::size($path), 'Content-Disposition' => "attachment; filename=$pretty_name", ]); } diff --git a/app/Services/LanguageService.php b/app/Services/LanguageService.php index c61fc63d..89d0e3c1 100644 --- a/app/Services/LanguageService.php +++ b/app/Services/LanguageService.php @@ -28,9 +28,9 @@ class LanguageService $translations = $translations[strtolower($license)] ->map(function ($value, $key) use ($locale) { return [ - 'lang' => $locale, + 'lang' => $locale, 'value' => $value, - 'key' => $key, + 'key' => $key, ]; })->toArray(); @@ -79,9 +79,9 @@ class LanguageService $translations = $newbies ->map(function ($value, $key) use ($locale) { return [ - 'lang' => $locale, + 'lang' => $locale, 'value' => $value, - 'key' => $key, + 'key' => $key, ]; })->toArray(); diff --git a/app/Services/SetupService.php b/app/Services/SetupService.php index 328e5c1f..b3e16301 100644 --- a/app/Services/SetupService.php +++ b/app/Services/SetupService.php @@ -56,12 +56,12 @@ class SetupService public function seed_default_language() { Language::create([ - 'name' => 'English', + 'name' => 'English', 'locale' => 'en', ]); Setting::create([ - 'name' => 'language', + 'name' => 'language', 'value' => 'en', ]); } diff --git a/app/Services/StripeService.php b/app/Services/StripeService.php index eb75e719..34ae539e 100644 --- a/app/Services/StripeService.php +++ b/app/Services/StripeService.php @@ -69,10 +69,10 @@ class StripeService $tax = $amount * ($rate['percentage'] / 100); array_push($rates_public, [ - 'id' => $rate['id'], - 'active' => $rate['active'], - 'country' => $rate['country'], - 'percentage' => $rate['percentage'], + 'id' => $rate['id'], + 'active' => $rate['active'], + 'country' => $rate['country'], + 'percentage' => $rate['percentage'], 'plan_price_formatted' => Cashier::formatAmount(round($amount + $tax)), ]); } @@ -174,14 +174,14 @@ class StripeService public function updateCustomerDetails($user) { $user->updateStripeCustomer([ - 'name' => $user->settings->name, - 'phone' => $user->settings->phone_number, + 'name' => $user->settings->name, + 'phone' => $user->settings->phone_number, 'address' => [ - 'line1' => $user->settings->address, - 'city' => $user->settings->city, - 'country' => $user->settings->country, + 'line1' => $user->settings->address, + 'city' => $user->settings->city, + 'country' => $user->settings->country, 'postal_code' => $user->settings->postal_code, - 'state' => $user->settings->state, + 'state' => $user->settings->state, ], 'preferred_locales' => [ $user->settings->country, 'en', @@ -211,7 +211,7 @@ class StripeService // Push data to $plan container if ($product['active'] && isset($product['metadata']['capacity'])) { array_push($plans, [ - 'plan' => $plan, + 'plan' => $plan, 'product' => $product, ]); } @@ -243,7 +243,7 @@ class StripeService // Push data to $plan container if ($product['active'] && isset($product['metadata']['capacity'])) { array_push($plans, [ - 'plan' => $plan, + 'plan' => $plan, 'product' => $product, ]); } @@ -270,7 +270,7 @@ class StripeService $product = $this->stripe->products()->find($plan['product']); return [ - 'plan' => $plan, + 'plan' => $plan, 'product' => $product, ]; }); @@ -286,34 +286,34 @@ class StripeService { if ($data instanceof Request) { $plan = [ - 'name' => $data->input('attributes.name'), + 'name' => $data->input('attributes.name'), 'description' => $data->input('attributes.description'), - 'price' => $data->input('attributes.price'), - 'capacity' => $data->input('attributes.capacity'), + 'price' => $data->input('attributes.price'), + 'capacity' => $data->input('attributes.capacity'), ]; } else { $plan = [ - 'name' => $data['attributes']['name'], + 'name' => $data['attributes']['name'], 'description' => $data['attributes']['description'], - 'price' => $data['attributes']['price'], - 'capacity' => $data['attributes']['capacity'], + 'price' => $data['attributes']['price'], + 'capacity' => $data['attributes']['capacity'], ]; } $product = $this->stripe->products()->create([ - 'name' => $plan['name'], + 'name' => $plan['name'], 'description' => $plan['description'], - 'metadata' => [ + 'metadata' => [ 'capacity' => $plan['capacity'], ], ]); $plan = $this->stripe->plans()->create([ - 'id' => Str::slug($plan['name']), - 'amount' => $plan['price'], + 'id' => Str::slug($plan['name']), + 'amount' => $plan['price'], 'currency' => config('cashier.currency'), 'interval' => 'month', - 'product' => $product['id'], + 'product' => $product['id'], ]); return compact('plan', 'product'); diff --git a/config/app.php b/config/app.php index fd9bafeb..64885dfd 100644 --- a/config/app.php +++ b/config/app.php @@ -191,44 +191,44 @@ return [ */ 'aliases' => [ - 'App' => Illuminate\Support\Facades\App::class, - 'Arr' => Illuminate\Support\Arr::class, - 'Artisan' => Illuminate\Support\Facades\Artisan::class, - 'Auth' => Illuminate\Support\Facades\Auth::class, - 'Blade' => Illuminate\Support\Facades\Blade::class, - 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, - 'Bus' => Illuminate\Support\Facades\Bus::class, - 'Cache' => Illuminate\Support\Facades\Cache::class, - 'Config' => Illuminate\Support\Facades\Config::class, - 'Cookie' => Illuminate\Support\Facades\Cookie::class, - 'Crypt' => Illuminate\Support\Facades\Crypt::class, - 'DB' => Illuminate\Support\Facades\DB::class, - 'Eloquent' => Illuminate\Database\Eloquent\Model::class, - 'Event' => Illuminate\Support\Facades\Event::class, - 'File' => Illuminate\Support\Facades\File::class, - 'Gate' => Illuminate\Support\Facades\Gate::class, - 'Hash' => Illuminate\Support\Facades\Hash::class, - 'Lang' => Illuminate\Support\Facades\Lang::class, - 'Log' => Illuminate\Support\Facades\Log::class, - 'Mail' => Illuminate\Support\Facades\Mail::class, + 'App' => Illuminate\Support\Facades\App::class, + 'Arr' => Illuminate\Support\Arr::class, + 'Artisan' => Illuminate\Support\Facades\Artisan::class, + 'Auth' => Illuminate\Support\Facades\Auth::class, + 'Blade' => Illuminate\Support\Facades\Blade::class, + 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, + 'Bus' => Illuminate\Support\Facades\Bus::class, + 'Cache' => Illuminate\Support\Facades\Cache::class, + 'Config' => Illuminate\Support\Facades\Config::class, + 'Cookie' => Illuminate\Support\Facades\Cookie::class, + 'Crypt' => Illuminate\Support\Facades\Crypt::class, + 'DB' => Illuminate\Support\Facades\DB::class, + 'Eloquent' => Illuminate\Database\Eloquent\Model::class, + 'Event' => Illuminate\Support\Facades\Event::class, + 'File' => Illuminate\Support\Facades\File::class, + 'Gate' => Illuminate\Support\Facades\Gate::class, + 'Hash' => Illuminate\Support\Facades\Hash::class, + 'Lang' => Illuminate\Support\Facades\Lang::class, + 'Log' => Illuminate\Support\Facades\Log::class, + 'Mail' => Illuminate\Support\Facades\Mail::class, 'Notification' => Illuminate\Support\Facades\Notification::class, - 'Password' => Illuminate\Support\Facades\Password::class, - 'Queue' => Illuminate\Support\Facades\Queue::class, - 'Redirect' => Illuminate\Support\Facades\Redirect::class, - 'Redis' => Illuminate\Support\Facades\Redis::class, - 'Request' => Illuminate\Support\Facades\Request::class, - 'Response' => Illuminate\Support\Facades\Response::class, - 'Route' => Illuminate\Support\Facades\Route::class, - 'Schema' => Illuminate\Support\Facades\Schema::class, - 'Session' => Illuminate\Support\Facades\Session::class, - 'Storage' => Illuminate\Support\Facades\Storage::class, - 'Str' => Illuminate\Support\Str::class, - 'URL' => Illuminate\Support\Facades\URL::class, - 'Validator' => Illuminate\Support\Facades\Validator::class, - 'View' => Illuminate\Support\Facades\View::class, - 'Image' => Intervention\Image\Facades\Image::class, - 'Stripe' => Cartalyst\Stripe\Laravel\Facades\Stripe::class, - 'Crawler' => Jaybizzle\LaravelCrawlerDetect\Facades\LaravelCrawlerDetect::class, + 'Password' => Illuminate\Support\Facades\Password::class, + 'Queue' => Illuminate\Support\Facades\Queue::class, + 'Redirect' => Illuminate\Support\Facades\Redirect::class, + 'Redis' => Illuminate\Support\Facades\Redis::class, + 'Request' => Illuminate\Support\Facades\Request::class, + 'Response' => Illuminate\Support\Facades\Response::class, + 'Route' => Illuminate\Support\Facades\Route::class, + 'Schema' => Illuminate\Support\Facades\Schema::class, + 'Session' => Illuminate\Support\Facades\Session::class, + 'Storage' => Illuminate\Support\Facades\Storage::class, + 'Str' => Illuminate\Support\Str::class, + 'URL' => Illuminate\Support\Facades\URL::class, + 'Validator' => Illuminate\Support\Facades\Validator::class, + 'View' => Illuminate\Support\Facades\View::class, + 'Image' => Intervention\Image\Facades\Image::class, + 'Stripe' => Cartalyst\Stripe\Laravel\Facades\Stripe::class, + 'Crawler' => Jaybizzle\LaravelCrawlerDetect\Facades\LaravelCrawlerDetect::class, //'Madzipper' => Madnest\Madzipper\Madzipper::class, ], diff --git a/config/auth.php b/config/auth.php index d97282db..86cbc082 100644 --- a/config/auth.php +++ b/config/auth.php @@ -13,7 +13,7 @@ return [ */ 'defaults' => [ - 'guard' => 'web', + 'guard' => 'web', 'passwords' => 'users', ], @@ -36,14 +36,14 @@ return [ 'guards' => [ 'web' => [ - 'driver' => 'session', + 'driver' => 'session', 'provider' => 'users', ], 'api' => [ - 'driver' => 'token', + 'driver' => 'token', 'provider' => 'users', - 'hash' => false, + 'hash' => false, ], ], @@ -67,7 +67,7 @@ return [ 'providers' => [ 'users' => [ 'driver' => 'eloquent', - 'model' => App\Models\User::class, + 'model' => App\Models\User::class, ], // 'users' => [ @@ -94,8 +94,8 @@ return [ 'passwords' => [ 'users' => [ 'provider' => 'users', - 'table' => 'password_resets', - 'expire' => 60, + 'table' => 'password_resets', + 'expire' => 60, 'throttle' => 60, ], ], diff --git a/config/backup.php b/config/backup.php index 1db4d3bf..e915cbc5 100644 --- a/config/backup.php +++ b/config/backup.php @@ -145,12 +145,12 @@ return [ */ 'notifications' => [ 'notifications' => [ - \Spatie\Backup\Notifications\Notifications\BackupHasFailed::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\BackupHasFailed::class => ['mail'], \Spatie\Backup\Notifications\Notifications\UnhealthyBackupWasFound::class => ['mail'], - \Spatie\Backup\Notifications\Notifications\CleanupHasFailed::class => ['mail'], - \Spatie\Backup\Notifications\Notifications\BackupWasSuccessful::class => ['mail'], - \Spatie\Backup\Notifications\Notifications\HealthyBackupWasFound::class => ['mail'], - \Spatie\Backup\Notifications\Notifications\CleanupWasSuccessful::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\CleanupHasFailed::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\BackupWasSuccessful::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\HealthyBackupWasFound::class => ['mail'], + \Spatie\Backup\Notifications\Notifications\CleanupWasSuccessful::class => ['mail'], ], /* @@ -189,10 +189,10 @@ return [ */ 'monitor_backups' => [ [ - 'name' => env('APP_NAME', 'laravel-backup'), - 'disks' => ['local'], + 'name' => env('APP_NAME', 'laravel-backup'), + 'disks' => ['local'], 'health_checks' => [ - \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumAgeInDays::class => 1, + \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumAgeInDays::class => 1, \Spatie\Backup\Tasks\Monitor\HealthChecks\MaximumStorageInMegabytes::class => 5000, ], ], diff --git a/config/broadcasting.php b/config/broadcasting.php index 567e3f76..8ea81f45 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -29,18 +29,18 @@ return [ 'connections' => [ 'pusher' => [ - 'driver' => 'pusher', - 'key' => env('PUSHER_APP_KEY'), - 'secret' => env('PUSHER_APP_SECRET'), - 'app_id' => env('PUSHER_APP_ID'), + 'driver' => 'pusher', + 'key' => env('PUSHER_APP_KEY'), + 'secret' => env('PUSHER_APP_SECRET'), + 'app_id' => env('PUSHER_APP_ID'), 'options' => [ 'cluster' => env('PUSHER_APP_CLUSTER'), - 'useTLS' => true, + 'useTLS' => true, ], ], 'redis' => [ - 'driver' => 'redis', + 'driver' => 'redis', 'connection' => 'default', ], diff --git a/config/cache.php b/config/cache.php index 43bb1a43..9d878a8d 100644 --- a/config/cache.php +++ b/config/cache.php @@ -40,20 +40,20 @@ return [ ], 'database' => [ - 'driver' => 'database', - 'table' => 'cache', + 'driver' => 'database', + 'table' => 'cache', 'connection' => null, ], 'file' => [ 'driver' => 'file', - 'path' => storage_path('framework/cache/data'), + 'path' => storage_path('framework/cache/data'), ], 'memcached' => [ - 'driver' => 'memcached', + 'driver' => 'memcached', 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), - 'sasl' => [ + 'sasl' => [ env('MEMCACHED_USERNAME'), env('MEMCACHED_PASSWORD'), ], @@ -62,24 +62,24 @@ return [ ], 'servers' => [ [ - 'host' => env('MEMCACHED_HOST', '127.0.0.1'), - 'port' => env('MEMCACHED_PORT', 11211), + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), 'weight' => 100, ], ], ], 'redis' => [ - 'driver' => 'redis', + 'driver' => 'redis', 'connection' => 'cache', ], 'dynamodb' => [ - 'driver' => 'dynamodb', - 'key' => env('AWS_ACCESS_KEY_ID'), - 'secret' => env('AWS_SECRET_ACCESS_KEY'), - 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), - 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), + 'driver' => 'dynamodb', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), 'endpoint' => env('DYNAMODB_ENDPOINT'), ], ], diff --git a/config/cashier.php b/config/cashier.php index 76759dc7..f554bda0 100644 --- a/config/cashier.php +++ b/config/cashier.php @@ -41,7 +41,7 @@ return [ */ 'webhook' => [ - 'secret' => env('STRIPE_WEBHOOK_SECRET'), + 'secret' => env('STRIPE_WEBHOOK_SECRET'), 'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300), ], diff --git a/config/content.php b/config/content.php index 9c122b7c..05bc61dd 100644 --- a/config/content.php +++ b/config/content.php @@ -4,177 +4,177 @@ return [ 'pages' => [ [ 'visibility' => 1, - 'title' => 'Terms of Service', - 'slug' => 'terms-of-service', - 'content' => 'Laoreet cum hendrerit iaculis arcu phasellus congue et elementum, pharetra risus imperdiet aptent posuere rutrum parturient blandit, dapibus tellus ridiculus potenti aliquam sociis turpis. Nullam commodo eget laoreet risus cursus vel placerat, in dapibus sociis gravida faucibus sodales, fringilla potenti elit semper iaculis ullamcorper. Dignissim vulputate pretium montes pellentesque mollis, consectetur adipiscing curabitur semper sem rhoncus, litora viverra curae proin.', + 'title' => 'Terms of Service', + 'slug' => 'terms-of-service', + 'content' => 'Laoreet cum hendrerit iaculis arcu phasellus congue et elementum, pharetra risus imperdiet aptent posuere rutrum parturient blandit, dapibus tellus ridiculus potenti aliquam sociis turpis. Nullam commodo eget laoreet risus cursus vel placerat, in dapibus sociis gravida faucibus sodales, fringilla potenti elit semper iaculis ullamcorper. Dignissim vulputate pretium montes pellentesque mollis, consectetur adipiscing curabitur semper sem rhoncus, litora viverra curae proin.', ], [ 'visibility' => 1, - 'title' => 'Privacy Policy', - 'slug' => 'privacy-policy', - 'content' => 'Sit orci justo augue maecenas laoreet consectetur natoque magnis in viverra sagittis, himenaeos urna facilisis mus proin primis diam accumsan tristique inceptos. Primis quisque posuere sit praesent lobortis feugiat semper convallis facilisis, vivamus gravida ligula nostra curae eu donec duis parturient senectus, arcu dolor viverra penatibus natoque cum nisi commodo. Litora sociis mauris justo nullam suspendisse mattis maecenas nascetur congue phasellus cras ultricies posuere donec, dapibus egestas diam lacus ornare montes senectus tincidunt eu taciti sed consequat.', + 'title' => 'Privacy Policy', + 'slug' => 'privacy-policy', + 'content' => 'Sit orci justo augue maecenas laoreet consectetur natoque magnis in viverra sagittis, himenaeos urna facilisis mus proin primis diam accumsan tristique inceptos. Primis quisque posuere sit praesent lobortis feugiat semper convallis facilisis, vivamus gravida ligula nostra curae eu donec duis parturient senectus, arcu dolor viverra penatibus natoque cum nisi commodo. Litora sociis mauris justo nullam suspendisse mattis maecenas nascetur congue phasellus cras ultricies posuere donec, dapibus egestas diam lacus ornare montes senectus tincidunt eu taciti sed consequat.', ], [ 'visibility' => 1, - 'title' => 'Cookie Policy', - 'slug' => 'cookie-policy', - 'content' => 'Metus penatibus ligula dolor natoque non habitasse laoreet facilisis, libero vivamus eget semper vulputate interdum integer, phasellus lorem enim blandit consectetur nullam sollicitudin. Hendrerit interdum luctus ut in molestie himenaeos eros cum laoreet parturient est, eu lectus hac et netus viverra dictumst congue elit sem senectus litora, fames scelerisque adipiscing inceptos fringilla montes sociosqu suscipit auctor potenti. Elementum lacus vulputate viverra ac morbi ligula ipsum facilisi, sit eu imperdiet lacinia congue dis vitae.', + 'title' => 'Cookie Policy', + 'slug' => 'cookie-policy', + 'content' => 'Metus penatibus ligula dolor natoque non habitasse laoreet facilisis, libero vivamus eget semper vulputate interdum integer, phasellus lorem enim blandit consectetur nullam sollicitudin. Hendrerit interdum luctus ut in molestie himenaeos eros cum laoreet parturient est, eu lectus hac et netus viverra dictumst congue elit sem senectus litora, fames scelerisque adipiscing inceptos fringilla montes sociosqu suscipit auctor potenti. Elementum lacus vulputate viverra ac morbi ligula ipsum facilisi, sit eu imperdiet lacinia congue dis vitae.', ], ], 'content' => [ 'regular' => [ [ - 'name' => 'section_features', + 'name' => 'section_features', 'value' => 1, ], [ - 'name' => 'section_feature_boxes', + 'name' => 'section_feature_boxes', 'value' => 1, ], [ - 'name' => 'section_get_started', + 'name' => 'section_get_started', 'value' => 1, ], [ - 'name' => 'header_title', + 'name' => 'header_title', 'value' => 'Simple & Powerful Personal Cloud Storage', ], [ - 'name' => 'header_description', + 'name' => 'header_description', 'value' => 'Your private cloud storage software build on Laravel & Vue.js. No limits & no monthly fees. Truly freedom.', ], [ - 'name' => 'features_title', + 'name' => 'features_title', 'value' => 'The Fastest Growing File Manager on the CodeCanyon Market', ], [ - 'name' => 'features_description', + 'name' => 'features_description', 'value' => 'Your private cloud storage software build on Laravel & Vue.js. No limits & no monthly fees. Truly freedom.', ], [ - 'name' => 'feature_title_1', + 'name' => 'feature_title_1', 'value' => 'Truly Freedom', ], [ - 'name' => 'feature_description_1', + 'name' => 'feature_description_1', 'value' => 'You have full control over VueFileManager, no third authorities will control your service or usage, only you.', ], [ - 'name' => 'feature_title_2', + 'name' => 'feature_title_2', 'value' => 'The Sky is the Limit', ], [ - 'name' => 'feature_description_2', + 'name' => 'feature_description_2', 'value' => 'VueFileManager is cloud storage software. You have to install and running application on your own server hosting.', ], [ - 'name' => 'feature_title_3', + 'name' => 'feature_title_3', 'value' => 'No Monthly Fees', ], [ - 'name' => 'feature_description_3', + 'name' => 'feature_description_3', 'value' => 'When you running VueFileManager on your own server hosting, anybody can\'t control your content or resell your user data. Your data is safe.', ], [ - 'name' => 'get_started_title', + 'name' => 'get_started_title', 'value' => 'Ready to Get Started
With Us?', ], [ - 'name' => 'get_started_description', + 'name' => 'get_started_description', 'value' => 'Your private cloud storage software build on Laravel & Vue.js. No limits & no monthly fees. Truly freedom.', ], [ - 'name' => 'footer_content', + 'name' => 'footer_content', 'value' => '© 2021 Simple & Powerful Personal Cloud Storage. Developed by Hi5Ve.Digital', ], [ - 'name' => 'allow_homepage', + 'name' => 'allow_homepage', 'value' => 1, ], [ - 'name' => 'app_color', + 'name' => 'app_color', 'value' => '#00BC7E', ], ], 'extended' => [ [ - 'name' => 'section_features', + 'name' => 'section_features', 'value' => 1, ], [ - 'name' => 'section_feature_boxes', + 'name' => 'section_feature_boxes', 'value' => 1, ], [ - 'name' => 'section_pricing_content', + 'name' => 'section_pricing_content', 'value' => 1, ], [ - 'name' => 'section_get_started', + 'name' => 'section_get_started', 'value' => 1, ], [ - 'name' => 'header_title', + 'name' => 'header_title', 'value' => 'Simple & Powerful Personal Cloud Storage', ], [ - 'name' => 'header_description', + 'name' => 'header_description', 'value' => 'Your private cloud storage software build on Laravel & Vue.js. No limits & no monthly fees. Truly freedom.', ], [ - 'name' => 'features_title', + 'name' => 'features_title', 'value' => 'The Fastest Growing File Manager on the CodeCanyon Market', ], [ - 'name' => 'features_description', + 'name' => 'features_description', 'value' => 'Your private cloud storage software build on Laravel & Vue.js. No limits & no monthly fees. Truly freedom.', ], [ - 'name' => 'feature_title_1', + 'name' => 'feature_title_1', 'value' => 'Truly Freedom', ], [ - 'name' => 'feature_description_1', + 'name' => 'feature_description_1', 'value' => 'You have full control over VueFileManager, no third authorities will control your service or usage, only you.', ], [ - 'name' => 'feature_title_2', + 'name' => 'feature_title_2', 'value' => 'The Sky is the Limit', ], [ - 'name' => 'feature_description_2', + 'name' => 'feature_description_2', 'value' => 'VueFileManager is cloud storage software. You have to install and running application on your own server hosting.', ], [ - 'name' => 'feature_title_3', + 'name' => 'feature_title_3', 'value' => 'No Monthly Fees', ], [ - 'name' => 'feature_description_3', + 'name' => 'feature_description_3', 'value' => 'When you running VueFileManager on your own server hosting, anybody can\'t control your content or resell your user data. Your data is safe.', ], [ - 'name' => 'pricing_title', + 'name' => 'pricing_title', 'value' => 'Pick the Best Plan For Your Needs', ], [ - 'name' => 'pricing_description', + 'name' => 'pricing_description', 'value' => 'Your private cloud storage software build on Laravel & Vue.js. No limits & no monthly fees. Truly freedom.', ], [ - 'name' => 'get_started_title', + 'name' => 'get_started_title', 'value' => 'Ready to Get Started
With Us?', ], [ - 'name' => 'get_started_description', + 'name' => 'get_started_description', 'value' => 'Your private cloud storage software build on Laravel & Vue.js. No limits & no monthly fees. Truly freedom.', ], [ - 'name' => 'footer_content', + 'name' => 'footer_content', 'value' => '© 2021 Simple & Powerful Personal Cloud Storage. Developed by Hi5Ve.Digital', ], [ - 'name' => 'app_color', + 'name' => 'app_color', 'value' => '#00BC7E', ], ], diff --git a/config/database.php b/config/database.php index ba5d10d3..c4491bbd 100644 --- a/config/database.php +++ b/config/database.php @@ -34,29 +34,29 @@ return [ 'connections' => [ 'sqlite' => [ - 'driver' => 'sqlite', - 'url' => env('DATABASE_URL'), - 'database' => env('DB_DATABASE', database_path('database.sqlite')), - 'prefix' => '', + 'driver' => 'sqlite', + 'url' => env('DATABASE_URL'), + 'database' => env('DB_DATABASE', database_path('database.sqlite')), + 'prefix' => '', 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), ], 'mysql' => [ - 'driver' => 'mysql', - 'url' => env('DATABASE_URL'), - 'host' => env('DB_HOST', '127.0.0.1'), - 'port' => env('DB_PORT', '3306'), - 'database' => env('DB_DATABASE', 'forge'), - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'unix_socket' => env('DB_SOCKET', ''), - 'charset' => 'utf8mb4', - 'collation' => 'utf8mb4_unicode_ci', - 'prefix' => '', + 'driver' => 'mysql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + 'prefix' => '', 'prefix_indexes' => true, - 'strict' => true, - 'engine' => null, - 'options' => extension_loaded('pdo_mysql') ? array_filter([ + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), ]) : [], 'dump' => [ @@ -67,30 +67,30 @@ return [ ], 'pgsql' => [ - 'driver' => 'pgsql', - 'url' => env('DATABASE_URL'), - 'host' => env('DB_HOST', '127.0.0.1'), - 'port' => env('DB_PORT', '5432'), - 'database' => env('DB_DATABASE', 'forge'), - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8', - 'prefix' => '', + 'driver' => 'pgsql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '5432'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', 'prefix_indexes' => true, - 'schema' => 'public', - 'sslmode' => 'prefer', + 'schema' => 'public', + 'sslmode' => 'prefer', ], 'sqlsrv' => [ - 'driver' => 'sqlsrv', - 'url' => env('DATABASE_URL'), - 'host' => env('DB_HOST', 'localhost'), - 'port' => env('DB_PORT', '1433'), - 'database' => env('DB_DATABASE', 'forge'), - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8', - 'prefix' => '', + 'driver' => 'sqlsrv', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', 'prefix_indexes' => true, ], ], @@ -124,22 +124,22 @@ return [ 'options' => [ 'cluster' => env('REDIS_CLUSTER', 'redis'), - 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), + 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), ], 'default' => [ - 'url' => env('REDIS_URL'), - 'host' => env('REDIS_HOST', '127.0.0.1'), + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), 'password' => env('REDIS_PASSWORD', null), - 'port' => env('REDIS_PORT', '6379'), + 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_DB', '0'), ], 'cache' => [ - 'url' => env('REDIS_URL'), - 'host' => env('REDIS_HOST', '127.0.0.1'), + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), 'password' => env('REDIS_PASSWORD', null), - 'port' => env('REDIS_PORT', '6379'), + 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_CACHE_DB', '1'), ], ], diff --git a/config/filesystems.php b/config/filesystems.php index ee113ce9..c1d1bf8c 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -43,60 +43,60 @@ return [ 'disks' => [ 'local' => [ 'driver' => 'local', - 'root' => storage_path('app'), + 'root' => storage_path('app'), ], 'public' => [ - 'driver' => 'local', - 'root' => storage_path('app/public'), - 'url' => env('APP_URL').'/storage', + 'driver' => 'local', + 'root' => storage_path('app/public'), + 'url' => env('APP_URL').'/storage', 'visibility' => 'public', ], 'oss' => [ - 'driver' => 's3', - 'key' => env('OSS_ACCESS_KEY_ID'), - 'secret' => env('OSS_SECRET_ACCESS_KEY'), - 'region' => env('OSS_REGION'), - 'bucket' => env('OSS_BUCKET'), + 'driver' => 's3', + 'key' => env('OSS_ACCESS_KEY_ID'), + 'secret' => env('OSS_SECRET_ACCESS_KEY'), + 'region' => env('OSS_REGION'), + 'bucket' => env('OSS_BUCKET'), 'endpoint' => env('OSS_ENDPOINT'), - 'url' => env('OSS_URL'), + 'url' => env('OSS_URL'), ], 's3' => [ - 'driver' => 's3', - 'key' => env('AWS_ACCESS_KEY_ID'), - 'secret' => env('AWS_SECRET_ACCESS_KEY'), - 'region' => env('AWS_DEFAULT_REGION'), - 'bucket' => env('AWS_BUCKET'), + 'driver' => 's3', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_BUCKET'), 'endpoint' => env('AWS_URL'), ], 'spaces' => [ - 'driver' => 's3', - 'key' => env('DO_SPACES_KEY'), - 'secret' => env('DO_SPACES_SECRET'), + 'driver' => 's3', + 'key' => env('DO_SPACES_KEY'), + 'secret' => env('DO_SPACES_SECRET'), 'endpoint' => env('DO_SPACES_ENDPOINT'), - 'region' => env('DO_SPACES_REGION'), - 'bucket' => env('DO_SPACES_BUCKET'), + 'region' => env('DO_SPACES_REGION'), + 'bucket' => env('DO_SPACES_BUCKET'), ], 'wasabi' => [ - 'driver' => 's3', - 'key' => env('WASABI_KEY'), - 'secret' => env('WASABI_SECRET'), + 'driver' => 's3', + 'key' => env('WASABI_KEY'), + 'secret' => env('WASABI_SECRET'), 'endpoint' => env('WASABI_ENDPOINT'), - 'region' => env('WASABI_REGION'), - 'bucket' => env('WASABI_BUCKET'), + 'region' => env('WASABI_REGION'), + 'bucket' => env('WASABI_BUCKET'), ], 'backblaze' => [ - 'driver' => 's3', - 'key' => env('BACKBLAZE_KEY'), - 'secret' => env('BACKBLAZE_SECRET'), + 'driver' => 's3', + 'key' => env('BACKBLAZE_KEY'), + 'secret' => env('BACKBLAZE_SECRET'), 'endpoint' => env('BACKBLAZE_ENDPOINT'), - 'region' => env('BACKBLAZE_REGION'), - 'bucket' => env('BACKBLAZE_BUCKET'), + 'region' => env('BACKBLAZE_REGION'), + 'bucket' => env('BACKBLAZE_BUCKET'), ], ], ]; diff --git a/config/fortify.php b/config/fortify.php index b208b3a8..58ab8ac4 100644 --- a/config/fortify.php +++ b/config/fortify.php @@ -102,7 +102,7 @@ return [ */ 'limiters' => [ - 'login' => 'login', + 'login' => 'login', 'two-factor' => 'two-factor', ], diff --git a/config/hashing.php b/config/hashing.php index a5ffb283..8234cb7f 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -43,8 +43,8 @@ return [ */ 'argon' => [ - 'memory' => 1024, + 'memory' => 1024, 'threads' => 2, - 'time' => 2, + 'time' => 2, ], ]; diff --git a/config/language-translations.php b/config/language-translations.php index 247fb20d..71720167 100644 --- a/config/language-translations.php +++ b/config/language-translations.php @@ -2,717 +2,717 @@ return [ 'extended' => [ - 'activation.stripe.button' => 'Set up your Stripe account', - 'activation.stripe.description' => 'To charge your users, please set up your Stripe account credentials.', - 'activation.stripe.title' => 'Your Stripe account is not set', - 'admin_menu.invoices' => 'Invoices', - 'admin_menu.plans' => 'Plans', - 'admin_page_dashboard.w_total_premium.link' => 'Show All Plans', - 'admin_page_dashboard.w_total_premium.title' => 'Total Premium Users', - 'admin_page_invoices.empty.description' => 'All customers invoices will be showed here.', - 'admin_page_invoices.empty.title' => 'You don’t have any invoices yet', - 'admin_page_invoices.table.number' => 'Invoice Number', - 'admin_page_invoices.table.payed' => 'Payed', - 'admin_page_invoices.table.plan' => 'Plan', - 'admin_page_invoices.table.total' => 'Total', - 'admin_page_invoices.table.user' => 'User', - 'admin_page_plans.create_plan_button' => 'Create Plan', - 'admin_page_plans.delete_plan_button' => 'Delete Plan', - 'admin_page_plans.disclaimer_delete_plan' => 'You can delete this plan, but, pay attention! Your plan will be deleted, but users who are subscribed with this plan, will be still charged unless they cancel subscription.', - 'admin_page_plans.disclaimer_edit_price' => 'Price change for your plan is not available due to Stripe service design. If you wish change your price plan, please, create new plan.', - 'admin_page_plans.empty.button' => 'Create New Plan', - 'admin_page_plans.empty.description' => 'For create new plan, click on button below.', - 'admin_page_plans.empty.title' => 'You don’t have any plan yet', - 'admin_page_plans.form.description' => 'Description (optional)', - 'admin_page_plans.form.description_plac' => 'Plan description', - 'admin_page_plans.form.name' => 'Name', - 'admin_page_plans.form.name_delete_plac' => 'Type plan name', - 'admin_page_plans.form.name_plac' => 'Plan name', - 'admin_page_plans.form.price' => 'Price', - 'admin_page_plans.form.price_plac' => 'Plan price', - 'admin_page_plans.form.status' => 'Status', - 'admin_page_plans.form.status_help' => 'Status of your plan availability on website.', - 'admin_page_plans.form.storage' => 'Storage Capacity in GB', - 'admin_page_plans.form.storage_helper' => "You have to type only number e.g. value '5' means, user will have 5GB of storage capacity.", - 'admin_page_plans.form.storage_plac' => 'Storage capacity', - 'admin_page_plans.form.title_delete' => 'Delete Plan', - 'admin_page_plans.form.title_details' => 'Plan Details', - 'admin_page_plans.form.title_pricing' => 'Plan Pricing', - 'admin_page_plans.subscribers.empty' => 'There is no any subscriber yet.', - 'admin_page_plans.table.name' => 'Plan Name', - 'admin_page_plans.table.price' => 'Price', - 'admin_page_plans.table.status' => 'Status', - 'admin_page_plans.table.storage_capacity' => 'Storage Capacity', - 'admin_page_plans.table.subscribers' => 'Subscribers', - 'admin_page_plans.tabs.delete' => 'Delete Plan', - 'admin_page_plans.tabs.settings' => 'Settings', - 'admin_page_plans.tabs.subscribers' => 'Subscribers', - 'admin_page_user.subscription.empty' => "User don't have any subscription yet.", - 'admin_page_user.subscription.interval_mo' => 'Monthly', - 'admin_page_user.table.plan' => 'Subscription Plan', - 'admin_page_user.tabs.invoices' => 'Invoices', - 'admin_page_user.tabs.subscription' => 'Subscription', - 'admin_settings.billings.address' => 'Billing Address', - 'admin_settings.billings.address_plac' => 'Type your billing address', - 'admin_settings.billings.city' => 'Billing City', - 'admin_settings.billings.city_plac' => 'Type your billing city', - 'admin_settings.billings.company_name' => 'Company Name', - 'admin_settings.billings.company_name_plac' => 'Type your company name', - 'admin_settings.billings.country' => 'Billing Country', - 'admin_settings.billings.country_plac' => 'Select your billing country', - 'admin_settings.billings.phone_number' => 'Billing Phone Number (optional)', - 'admin_settings.billings.phone_number_plac' => 'Type your billing phone number', - 'admin_settings.billings.postal_code' => 'Billing Postal Code', - 'admin_settings.billings.postal_code_plac' => 'Type your billing postal code', - 'admin_settings.billings.section_billing' => 'Billing Information', - 'admin_settings.billings.section_company' => 'Company Information', - 'admin_settings.billings.state' => 'Billing State', - 'admin_settings.billings.state_plac' => 'Type your billing state', - 'admin_settings.billings.vat' => 'VAT Number', - 'admin_settings.billings.vat_plac' => 'Type your VAT number', - 'admin_settings.payments.allow_payments' => 'Allow Subscription Payments', - 'admin_settings.payments.button_submit' => 'Test and Save Stripe', - 'admin_settings.payments.button_testing' => 'Testing Stripe Connection', - 'admin_settings.payments.credentials_disclaimer' => "Your Stripe credentials is not showed because these values are secret and must not be revealed by stranger. You can change your Stripe credentials in your .env file.", - 'admin_settings.payments.section_payments' => 'Stripe Payments', - 'admin_settings.payments.stripe_create_acc' => 'If you don’t have stripe account, please register here and get your Publishable Key, Secret Key and create your webhook.', - 'admin_settings.payments.stripe_create_webhook' => "You have to create webhook endpoint in your Stripe Dashboard. You can find it in Dashboard -> Developers -> Webhooks -> Add Endpoint. In Endpoint URL please copy and paste url bellow. Make sure, this url is your public domain, not localhost. In events section, please click on receive all events. That's all.", - 'admin_settings.payments.stripe_currency' => 'Stripe Currency', - 'admin_settings.payments.stripe_currency_plac' => 'Select your Stripe currency', - 'admin_settings.payments.stripe_pub_key' => 'Publishable Key', - 'admin_settings.payments.stripe_pub_key_plac' => 'Paste your publishable key', - 'admin_settings.payments.stripe_sec_key' => 'Secret Key', - 'admin_settings.payments.stripe_sec_key_plac' => 'Paste your secret key', - 'admin_settings.payments.stripe_setup' => 'Stripe Setup', - 'admin_settings.payments.stripe_webhook_key_plac' => 'Paste your stripe webhook secret', - 'admin_settings.payments.webhook_url' => 'Stripe webhook URL', - 'admin_settings.tabs.billings' => 'Billings', - 'admin_settings.tabs.payments' => 'Payments', - 'global.monthly_ac' => 'Mo.', - 'global.premium' => 'Premium', - 'global.upgrade_plan' => 'Upgrade Plan', - 'incomplete_payment.description' => 'Your latest payment is incomplete. {0}', - 'incomplete_payment.href' => 'Please confirm your payment.', - 'menu.invoices' => 'Invoices', - 'menu.payment_cards' => 'Payment Cards', - 'menu.subscription' => 'Subscription', - 'notice.stripe_activation' => 'Your Stripe account is not set. To charging your users please {0}.', - 'notice.stripe_activation_button' => 'set up your Stripe account', - 'page_pricing_tables.description' => 'Choose plan witch perfect fit your needs. All plans is billed monthly automatically via your credit card.', - 'page_pricing_tables.storage_capacity' => 'Of Storage Capacity', - 'page_pricing_tables.title' => 'Choose Your Plan', - 'page_pricing_tables.vat_excluded' => 'Price displayed excludes VAT.', - 'page_upgrade_account.change_payment.change_payment' => 'change your default payment method', + 'activation.stripe.button' => 'Set up your Stripe account', + 'activation.stripe.description' => 'To charge your users, please set up your Stripe account credentials.', + 'activation.stripe.title' => 'Your Stripe account is not set', + 'admin_menu.invoices' => 'Invoices', + 'admin_menu.plans' => 'Plans', + 'admin_page_dashboard.w_total_premium.link' => 'Show All Plans', + 'admin_page_dashboard.w_total_premium.title' => 'Total Premium Users', + 'admin_page_invoices.empty.description' => 'All customers invoices will be showed here.', + 'admin_page_invoices.empty.title' => 'You don’t have any invoices yet', + 'admin_page_invoices.table.number' => 'Invoice Number', + 'admin_page_invoices.table.payed' => 'Payed', + 'admin_page_invoices.table.plan' => 'Plan', + 'admin_page_invoices.table.total' => 'Total', + 'admin_page_invoices.table.user' => 'User', + 'admin_page_plans.create_plan_button' => 'Create Plan', + 'admin_page_plans.delete_plan_button' => 'Delete Plan', + 'admin_page_plans.disclaimer_delete_plan' => 'You can delete this plan, but, pay attention! Your plan will be deleted, but users who are subscribed with this plan, will be still charged unless they cancel subscription.', + 'admin_page_plans.disclaimer_edit_price' => 'Price change for your plan is not available due to Stripe service design. If you wish change your price plan, please, create new plan.', + 'admin_page_plans.empty.button' => 'Create New Plan', + 'admin_page_plans.empty.description' => 'For create new plan, click on button below.', + 'admin_page_plans.empty.title' => 'You don’t have any plan yet', + 'admin_page_plans.form.description' => 'Description (optional)', + 'admin_page_plans.form.description_plac' => 'Plan description', + 'admin_page_plans.form.name' => 'Name', + 'admin_page_plans.form.name_delete_plac' => 'Type plan name', + 'admin_page_plans.form.name_plac' => 'Plan name', + 'admin_page_plans.form.price' => 'Price', + 'admin_page_plans.form.price_plac' => 'Plan price', + 'admin_page_plans.form.status' => 'Status', + 'admin_page_plans.form.status_help' => 'Status of your plan availability on website.', + 'admin_page_plans.form.storage' => 'Storage Capacity in GB', + 'admin_page_plans.form.storage_helper' => "You have to type only number e.g. value '5' means, user will have 5GB of storage capacity.", + 'admin_page_plans.form.storage_plac' => 'Storage capacity', + 'admin_page_plans.form.title_delete' => 'Delete Plan', + 'admin_page_plans.form.title_details' => 'Plan Details', + 'admin_page_plans.form.title_pricing' => 'Plan Pricing', + 'admin_page_plans.subscribers.empty' => 'There is no any subscriber yet.', + 'admin_page_plans.table.name' => 'Plan Name', + 'admin_page_plans.table.price' => 'Price', + 'admin_page_plans.table.status' => 'Status', + 'admin_page_plans.table.storage_capacity' => 'Storage Capacity', + 'admin_page_plans.table.subscribers' => 'Subscribers', + 'admin_page_plans.tabs.delete' => 'Delete Plan', + 'admin_page_plans.tabs.settings' => 'Settings', + 'admin_page_plans.tabs.subscribers' => 'Subscribers', + 'admin_page_user.subscription.empty' => "User don't have any subscription yet.", + 'admin_page_user.subscription.interval_mo' => 'Monthly', + 'admin_page_user.table.plan' => 'Subscription Plan', + 'admin_page_user.tabs.invoices' => 'Invoices', + 'admin_page_user.tabs.subscription' => 'Subscription', + 'admin_settings.billings.address' => 'Billing Address', + 'admin_settings.billings.address_plac' => 'Type your billing address', + 'admin_settings.billings.city' => 'Billing City', + 'admin_settings.billings.city_plac' => 'Type your billing city', + 'admin_settings.billings.company_name' => 'Company Name', + 'admin_settings.billings.company_name_plac' => 'Type your company name', + 'admin_settings.billings.country' => 'Billing Country', + 'admin_settings.billings.country_plac' => 'Select your billing country', + 'admin_settings.billings.phone_number' => 'Billing Phone Number (optional)', + 'admin_settings.billings.phone_number_plac' => 'Type your billing phone number', + 'admin_settings.billings.postal_code' => 'Billing Postal Code', + 'admin_settings.billings.postal_code_plac' => 'Type your billing postal code', + 'admin_settings.billings.section_billing' => 'Billing Information', + 'admin_settings.billings.section_company' => 'Company Information', + 'admin_settings.billings.state' => 'Billing State', + 'admin_settings.billings.state_plac' => 'Type your billing state', + 'admin_settings.billings.vat' => 'VAT Number', + 'admin_settings.billings.vat_plac' => 'Type your VAT number', + 'admin_settings.payments.allow_payments' => 'Allow Subscription Payments', + 'admin_settings.payments.button_submit' => 'Test and Save Stripe', + 'admin_settings.payments.button_testing' => 'Testing Stripe Connection', + 'admin_settings.payments.credentials_disclaimer' => "Your Stripe credentials is not showed because these values are secret and must not be revealed by stranger. You can change your Stripe credentials in your .env file.", + 'admin_settings.payments.section_payments' => 'Stripe Payments', + 'admin_settings.payments.stripe_create_acc' => 'If you don’t have stripe account, please register here and get your Publishable Key, Secret Key and create your webhook.', + 'admin_settings.payments.stripe_create_webhook' => "You have to create webhook endpoint in your Stripe Dashboard. You can find it in Dashboard -> Developers -> Webhooks -> Add Endpoint. In Endpoint URL please copy and paste url bellow. Make sure, this url is your public domain, not localhost. In events section, please click on receive all events. That's all.", + 'admin_settings.payments.stripe_currency' => 'Stripe Currency', + 'admin_settings.payments.stripe_currency_plac' => 'Select your Stripe currency', + 'admin_settings.payments.stripe_pub_key' => 'Publishable Key', + 'admin_settings.payments.stripe_pub_key_plac' => 'Paste your publishable key', + 'admin_settings.payments.stripe_sec_key' => 'Secret Key', + 'admin_settings.payments.stripe_sec_key_plac' => 'Paste your secret key', + 'admin_settings.payments.stripe_setup' => 'Stripe Setup', + 'admin_settings.payments.stripe_webhook_key_plac' => 'Paste your stripe webhook secret', + 'admin_settings.payments.webhook_url' => 'Stripe webhook URL', + 'admin_settings.tabs.billings' => 'Billings', + 'admin_settings.tabs.payments' => 'Payments', + 'global.monthly_ac' => 'Mo.', + 'global.premium' => 'Premium', + 'global.upgrade_plan' => 'Upgrade Plan', + 'incomplete_payment.description' => 'Your latest payment is incomplete. {0}', + 'incomplete_payment.href' => 'Please confirm your payment.', + 'menu.invoices' => 'Invoices', + 'menu.payment_cards' => 'Payment Cards', + 'menu.subscription' => 'Subscription', + 'notice.stripe_activation' => 'Your Stripe account is not set. To charging your users please {0}.', + 'notice.stripe_activation_button' => 'set up your Stripe account', + 'page_pricing_tables.description' => 'Choose plan witch perfect fit your needs. All plans is billed monthly automatically via your credit card.', + 'page_pricing_tables.storage_capacity' => 'Of Storage Capacity', + 'page_pricing_tables.title' => 'Choose Your Plan', + 'page_pricing_tables.vat_excluded' => 'Price displayed excludes VAT.', + 'page_upgrade_account.change_payment.change_payment' => 'change your default payment method', 'page_upgrade_account.change_payment.pay_by_new_card' => 'pay by new credit card', - 'page_upgrade_account.change_payment.you_can' => 'Also you can', - 'page_upgrade_account.desription' => 'To finish your order, please fill your payment method and set billing informations', - 'page_upgrade_account.errors.pay_by_another_card' => 'Please pay by another payment card', - 'page_upgrade_account.section_billing' => 'Billing Information', - 'page_upgrade_account.section_card' => 'Payment Card', - 'page_upgrade_account.section_summary' => 'Order Summary', - 'page_upgrade_account.summary.period' => 'Billed monthly', - 'page_upgrade_account.summary.submit_button' => 'Pay with credit card', - 'page_upgrade_account.summary.submit_disclaimer' => 'By submit form, you agree to save the payment method and billing information in your {app} account.', - 'page_upgrade_account.summary.total_with_vat' => 'Total with VAT', - 'page_upgrade_account.summary.vat' => 'VAT', - 'page_upgrade_account.title' => 'Choose Payment Method', - 'popup_delete_card.message' => 'This event is irreversible and your payment card will be delete forever', - 'popup_delete_card.title' => 'Are you sure?', - 'popup_deleted_plan.message' => 'Your plan was successfully deleted.', - 'popup_deleted_plan.title' => 'Plan was deleted', - 'popup_set_card.message' => 'Your card will be set as default and will be always charged for the next billings.', - 'popup_set_card.title' => 'Set as default card?', - 'popup_subscription_cancel.button' => "I'm done", - 'popup_subscription_cancel.message' => "You'll continue to have access to the features you've paid for until the end of your billing cycle.", - 'popup_subscription_cancel.title' => 'Subscription Was Canceled', - 'popup_subscription_resumed.button' => "That's awesome!", - 'popup_subscription_resumed.message' => 'Your subscription was re-activated, and they will be billed on the original billing cycle.', - 'popup_subscription_resumed.title' => 'Subscription Was Resumed', - 'routes_title.billings' => 'Billings', - 'routes_title.invoices' => 'Invoices', - 'routes_title.payment_methods' => 'Payment Methods', - 'routes_title.payments' => 'Payments', - 'routes_title.plan' => 'Plan', - 'routes_title.plan_create' => 'Create Plan', - 'routes_title.plan_delete' => 'Plan Delete', - 'routes_title.plan_settings' => 'Plan Settings', - 'routes_title.pricing_plans' => 'Pricing Plans', - 'routes_title.subscribers' => 'Subscribers', - 'routes_title.subscription' => 'Subscription', - 'routes_title.upgrade_billing' => 'Billing', - 'routes_title.upgrade_plan' => 'Upgrade Plan', - 'rows.card.expiration' => 'Expiration Date', - 'rows.card.number' => 'Card Number', - 'rows.card.status' => 'Status', - 'rows.invoice.number' => 'Invoice Number', - 'rows.invoice.payed' => 'Payed', - 'rows.invoice.plan' => 'Plan', - 'rows.invoice.total' => 'Total', - 'toaster.account_upgraded' => 'Your account was successfully upgraded.', - 'toaster.card_deleted' => 'Your card was successfully deleted.', - 'toaster.card_new_add' => 'Your card was successfully added', - 'toaster.card_set' => 'Your card was successfully set as default.', - 'toaster.plan_created' => 'Your plan was successfully created!', - 'toaster.stripe_set' => 'Your Stripe account was successfully set!', - 'user_invoices.empty' => "You don't have any invoices yet.", - 'user_invoices.title' => 'Invoices', - 'user_payments.add_card' => 'Add Payment Card', - 'user_payments.card_field_title' => 'Credit Card', - 'user_payments.delete_card' => 'Delete card', - 'user_payments.empty' => "You don't have any payment cards yet.", - 'user_payments.field_loading' => 'Loading card field...', - 'user_payments.set_as_default' => 'Set as default card', - 'user_payments.store_card' => 'Store Payment Card', - 'user_payments.title' => 'Payment Methods', - 'user_subscription.title' => 'Subscription', - 'user_subscription.billed' => 'Billed', - 'user_subscription.cancel_plan' => 'Cancel Plan', - 'user_subscription.canceled_at' => 'Canceled At', - 'user_subscription.created_at' => 'Created At', - 'user_subscription.empty' => "You don't have any subscription yet.", - 'user_subscription.ends_at' => 'Ends At', - 'user_subscription.plan' => 'Plan', - 'user_subscription.renews_at' => 'Renews At', - 'user_subscription.resume_plan' => 'Resume Plan', - 'user_subscription.status' => 'Status', - 'print_button' => 'Print Document', - 'vat' => 'VAT', - 'vat_included' => 'incl.', - 'subtotal' => 'Subtotal', - 'tax_exempted' => 'Tax is exempted', - 'tax_be_paid_reverse' => 'Tax to be paid on reverse charge basis', - 'invoice_title' => 'Invoice', - 'date' => 'Date', - 'product' => 'Product', - 'subscription' => 'Subscription', - 'invoice_number' => 'Invoice Number', - 'seller' => 'Seller', - 'client' => 'Client', - 'seller_vat' => 'VAT number', - 'seller_name' => 'Name', - 'seller_phone' => 'Phone', - 'name' => 'Name', - 'phone' => 'Phone', - 'address' => 'Address', - 'city' => 'City', - 'state' => 'State', - 'postal_code' => 'Postal code', - 'country' => 'Country', - 'col_description' => 'Description', - 'col_date' => 'Date', - 'col_amount' => 'Amount', - 'total' => 'Total', + 'page_upgrade_account.change_payment.you_can' => 'Also you can', + 'page_upgrade_account.desription' => 'To finish your order, please fill your payment method and set billing informations', + 'page_upgrade_account.errors.pay_by_another_card' => 'Please pay by another payment card', + 'page_upgrade_account.section_billing' => 'Billing Information', + 'page_upgrade_account.section_card' => 'Payment Card', + 'page_upgrade_account.section_summary' => 'Order Summary', + 'page_upgrade_account.summary.period' => 'Billed monthly', + 'page_upgrade_account.summary.submit_button' => 'Pay with credit card', + 'page_upgrade_account.summary.submit_disclaimer' => 'By submit form, you agree to save the payment method and billing information in your {app} account.', + 'page_upgrade_account.summary.total_with_vat' => 'Total with VAT', + 'page_upgrade_account.summary.vat' => 'VAT', + 'page_upgrade_account.title' => 'Choose Payment Method', + 'popup_delete_card.message' => 'This event is irreversible and your payment card will be delete forever', + 'popup_delete_card.title' => 'Are you sure?', + 'popup_deleted_plan.message' => 'Your plan was successfully deleted.', + 'popup_deleted_plan.title' => 'Plan was deleted', + 'popup_set_card.message' => 'Your card will be set as default and will be always charged for the next billings.', + 'popup_set_card.title' => 'Set as default card?', + 'popup_subscription_cancel.button' => "I'm done", + 'popup_subscription_cancel.message' => "You'll continue to have access to the features you've paid for until the end of your billing cycle.", + 'popup_subscription_cancel.title' => 'Subscription Was Canceled', + 'popup_subscription_resumed.button' => "That's awesome!", + 'popup_subscription_resumed.message' => 'Your subscription was re-activated, and they will be billed on the original billing cycle.', + 'popup_subscription_resumed.title' => 'Subscription Was Resumed', + 'routes_title.billings' => 'Billings', + 'routes_title.invoices' => 'Invoices', + 'routes_title.payment_methods' => 'Payment Methods', + 'routes_title.payments' => 'Payments', + 'routes_title.plan' => 'Plan', + 'routes_title.plan_create' => 'Create Plan', + 'routes_title.plan_delete' => 'Plan Delete', + 'routes_title.plan_settings' => 'Plan Settings', + 'routes_title.pricing_plans' => 'Pricing Plans', + 'routes_title.subscribers' => 'Subscribers', + 'routes_title.subscription' => 'Subscription', + 'routes_title.upgrade_billing' => 'Billing', + 'routes_title.upgrade_plan' => 'Upgrade Plan', + 'rows.card.expiration' => 'Expiration Date', + 'rows.card.number' => 'Card Number', + 'rows.card.status' => 'Status', + 'rows.invoice.number' => 'Invoice Number', + 'rows.invoice.payed' => 'Payed', + 'rows.invoice.plan' => 'Plan', + 'rows.invoice.total' => 'Total', + 'toaster.account_upgraded' => 'Your account was successfully upgraded.', + 'toaster.card_deleted' => 'Your card was successfully deleted.', + 'toaster.card_new_add' => 'Your card was successfully added', + 'toaster.card_set' => 'Your card was successfully set as default.', + 'toaster.plan_created' => 'Your plan was successfully created!', + 'toaster.stripe_set' => 'Your Stripe account was successfully set!', + 'user_invoices.empty' => "You don't have any invoices yet.", + 'user_invoices.title' => 'Invoices', + 'user_payments.add_card' => 'Add Payment Card', + 'user_payments.card_field_title' => 'Credit Card', + 'user_payments.delete_card' => 'Delete card', + 'user_payments.empty' => "You don't have any payment cards yet.", + 'user_payments.field_loading' => 'Loading card field...', + 'user_payments.set_as_default' => 'Set as default card', + 'user_payments.store_card' => 'Store Payment Card', + 'user_payments.title' => 'Payment Methods', + 'user_subscription.title' => 'Subscription', + 'user_subscription.billed' => 'Billed', + 'user_subscription.cancel_plan' => 'Cancel Plan', + 'user_subscription.canceled_at' => 'Canceled At', + 'user_subscription.created_at' => 'Created At', + 'user_subscription.empty' => "You don't have any subscription yet.", + 'user_subscription.ends_at' => 'Ends At', + 'user_subscription.plan' => 'Plan', + 'user_subscription.renews_at' => 'Renews At', + 'user_subscription.resume_plan' => 'Resume Plan', + 'user_subscription.status' => 'Status', + 'print_button' => 'Print Document', + 'vat' => 'VAT', + 'vat_included' => 'incl.', + 'subtotal' => 'Subtotal', + 'tax_exempted' => 'Tax is exempted', + 'tax_be_paid_reverse' => 'Tax to be paid on reverse charge basis', + 'invoice_title' => 'Invoice', + 'date' => 'Date', + 'product' => 'Product', + 'subscription' => 'Subscription', + 'invoice_number' => 'Invoice Number', + 'seller' => 'Seller', + 'client' => 'Client', + 'seller_vat' => 'VAT number', + 'seller_name' => 'Name', + 'seller_phone' => 'Phone', + 'name' => 'Name', + 'phone' => 'Phone', + 'address' => 'Address', + 'city' => 'City', + 'state' => 'State', + 'postal_code' => 'Postal code', + 'country' => 'Country', + 'col_description' => 'Description', + 'col_date' => 'Date', + 'col_amount' => 'Amount', + 'total' => 'Total', ], 'regular' => [ - 'actions.close' => 'Close', - 'actions.create_folder' => 'Create folder', - 'actions.delete' => 'Delete item', - 'actions.download' => 'Download item', - 'actions.info_panel' => 'Info panel', - 'actions.move' => 'Move item', - 'actions.preview' => 'Change preview', - 'actions.print' => 'Print item', - 'actions.share' => 'Share item', - 'actions.sorting_view' => 'Sorting and View', - 'actions.upload' => 'Upload file', - 'admin_menu.dashboard' => 'Dashboard', - 'admin_menu.pages' => 'Pages', - 'admin_menu.settings' => 'Settings', - 'admin_menu.users' => 'Users', - 'admin_menu.languages' => 'Languages', - 'admin_page_dashboard.backer_button' => 'Help Us Improve', - 'admin_page_dashboard.license' => 'License', - 'admin_page_dashboard.version' => 'Version', - 'admin_page_dashboard.w_latest_users.title' => 'Latest Registrations', - 'admin_page_dashboard.w_total_space.link' => 'Show All Users', - 'admin_page_dashboard.w_total_space.title' => 'Total Space Used', - 'admin_page_dashboard.w_total_users.link' => 'Show All Users', - 'admin_page_dashboard.w_total_users.title' => 'Total Users', - 'admin_page_user.change_capacity' => 'Change Capacity', - 'admin_page_user.create_user.avatar' => 'Avatar', - 'admin_page_user.create_user.group_details' => 'Account Details', - 'admin_page_user.create_user.group_settings' => 'Account Settings', - 'admin_page_user.create_user.label_conf_pass' => 'Confirm password', - 'admin_page_user.create_user.label_email' => 'Type E-mail', - 'admin_page_user.create_user.label_name' => 'Type full name', - 'admin_page_user.create_user.submit' => 'Create User', - 'admin_page_user.delete_user' => 'Delete User', - 'admin_page_user.invoices.empty' => "User don't have any invoices yet.", - 'admin_page_user.label_change_capacity' => 'Type storage capacity in GB', - 'admin_page_user.label_delete_user' => 'Type with Case Sensitive user name ‘{user}‘', - 'admin_page_user.label_person_info' => 'Personal Information', - 'admin_page_user.placeholder_delete_user' => 'Type here', - 'admin_page_user.save_role' => 'Save Role', - 'admin_page_user.select_role' => 'Select user role', - 'admin_page_user.send_password_link' => 'Send Password Reset Link', - 'admin_page_user.table.action' => 'Action', - 'admin_page_user.table.created_at' => 'Registered', - 'admin_page_user.table.name' => 'User', - 'admin_page_user.table.role' => 'Role', - 'admin_page_user.table.storage_capacity' => 'Storage Capacity', - 'admin_page_user.table.storage_used' => 'Storage Used', - 'admin_page_user.tabs.delete' => 'Delete User', - 'admin_page_user.tabs.detail' => 'Detail', - 'admin_page_user.tabs.password' => 'Password', - 'admin_page_user.tabs.storage' => 'Storage Usage', - 'admin_pages.form.content' => 'Content', - 'admin_pages.form.content_plac' => 'Type your content here...', - 'admin_pages.form.slug' => 'Slug', - 'admin_pages.form.title' => 'Title', - 'admin_pages.form.title_plac' => 'Title name', - 'admin_pages.form.visibility' => 'Visibility', - 'admin_pages.form.visibility_help' => 'Status of your page visibility on website.', - 'admin_pages.table.page' => 'Page', - 'admin_pages.table.slug' => 'Slug', - 'admin_pages.table.status' => 'Status', - 'admin_settings.appearance.description' => 'App Description', - 'admin_settings.appearance.description_plac' => 'Type your app description', - 'admin_settings.appearance.favicon' => 'App Favicon (optional)', - 'admin_settings.appearance.logo' => 'App Logo (optional)', - 'admin_settings.appearance.logo_horizontal' => 'App Logo Horizontal (optional)', - 'admin_settings.appearance.section_appearance' => 'Appearance', - 'admin_settings.appearance.section_general' => 'General Settings', - 'admin_settings.appearance.title' => 'App Title', - 'admin_settings.appearance.title_plac' => 'Type your app title', - 'admin_settings.email.driver' => 'Mail Driver', - 'admin_settings.email.driver_plac' => 'Type your mail driver', - 'admin_settings.email.email_disclaimer' => "This form is not fully pre-filled for security reasons. Your email settings is available in your .env file. For apply new Email settings, please confirm your options by button at the end of formular.", - 'admin_settings.email.encryption' => 'Mail Encryption', - 'admin_settings.email.encryption_plac' => 'Select your mail encryption', - 'admin_settings.email.host' => 'Mail Host', - 'admin_settings.email.host_plac' => 'Type your mail host', - 'admin_settings.email.password' => 'Mail Password', - 'admin_settings.email.password_plac' => 'Type your mail password', - 'admin_settings.email.port' => 'Mail Port', - 'admin_settings.email.port_plac' => 'Type your mail port', - 'admin_settings.email.save_button' => 'Save Email Settings', - 'admin_settings.email.section_email' => 'Email Setup', - 'admin_settings.email.username' => 'Mail Username', - 'admin_settings.email.username_plac' => 'Type your mail username', - 'admin_settings.others.allow_registration' => 'Allow User Registration', - 'admin_settings.others.allow_registration_help' => 'You can disable public registration for new users. You will still able to
create new users in administration panel.', - 'admin_settings.others.allow_user_verification' => 'Allow User Email Verification', + 'actions.close' => 'Close', + 'actions.create_folder' => 'Create folder', + 'actions.delete' => 'Delete item', + 'actions.download' => 'Download item', + 'actions.info_panel' => 'Info panel', + 'actions.move' => 'Move item', + 'actions.preview' => 'Change preview', + 'actions.print' => 'Print item', + 'actions.share' => 'Share item', + 'actions.sorting_view' => 'Sorting and View', + 'actions.upload' => 'Upload file', + 'admin_menu.dashboard' => 'Dashboard', + 'admin_menu.pages' => 'Pages', + 'admin_menu.settings' => 'Settings', + 'admin_menu.users' => 'Users', + 'admin_menu.languages' => 'Languages', + 'admin_page_dashboard.backer_button' => 'Help Us Improve', + 'admin_page_dashboard.license' => 'License', + 'admin_page_dashboard.version' => 'Version', + 'admin_page_dashboard.w_latest_users.title' => 'Latest Registrations', + 'admin_page_dashboard.w_total_space.link' => 'Show All Users', + 'admin_page_dashboard.w_total_space.title' => 'Total Space Used', + 'admin_page_dashboard.w_total_users.link' => 'Show All Users', + 'admin_page_dashboard.w_total_users.title' => 'Total Users', + 'admin_page_user.change_capacity' => 'Change Capacity', + 'admin_page_user.create_user.avatar' => 'Avatar', + 'admin_page_user.create_user.group_details' => 'Account Details', + 'admin_page_user.create_user.group_settings' => 'Account Settings', + 'admin_page_user.create_user.label_conf_pass' => 'Confirm password', + 'admin_page_user.create_user.label_email' => 'Type E-mail', + 'admin_page_user.create_user.label_name' => 'Type full name', + 'admin_page_user.create_user.submit' => 'Create User', + 'admin_page_user.delete_user' => 'Delete User', + 'admin_page_user.invoices.empty' => "User don't have any invoices yet.", + 'admin_page_user.label_change_capacity' => 'Type storage capacity in GB', + 'admin_page_user.label_delete_user' => 'Type with Case Sensitive user name ‘{user}‘', + 'admin_page_user.label_person_info' => 'Personal Information', + 'admin_page_user.placeholder_delete_user' => 'Type here', + 'admin_page_user.save_role' => 'Save Role', + 'admin_page_user.select_role' => 'Select user role', + 'admin_page_user.send_password_link' => 'Send Password Reset Link', + 'admin_page_user.table.action' => 'Action', + 'admin_page_user.table.created_at' => 'Registered', + 'admin_page_user.table.name' => 'User', + 'admin_page_user.table.role' => 'Role', + 'admin_page_user.table.storage_capacity' => 'Storage Capacity', + 'admin_page_user.table.storage_used' => 'Storage Used', + 'admin_page_user.tabs.delete' => 'Delete User', + 'admin_page_user.tabs.detail' => 'Detail', + 'admin_page_user.tabs.password' => 'Password', + 'admin_page_user.tabs.storage' => 'Storage Usage', + 'admin_pages.form.content' => 'Content', + 'admin_pages.form.content_plac' => 'Type your content here...', + 'admin_pages.form.slug' => 'Slug', + 'admin_pages.form.title' => 'Title', + 'admin_pages.form.title_plac' => 'Title name', + 'admin_pages.form.visibility' => 'Visibility', + 'admin_pages.form.visibility_help' => 'Status of your page visibility on website.', + 'admin_pages.table.page' => 'Page', + 'admin_pages.table.slug' => 'Slug', + 'admin_pages.table.status' => 'Status', + 'admin_settings.appearance.description' => 'App Description', + 'admin_settings.appearance.description_plac' => 'Type your app description', + 'admin_settings.appearance.favicon' => 'App Favicon (optional)', + 'admin_settings.appearance.logo' => 'App Logo (optional)', + 'admin_settings.appearance.logo_horizontal' => 'App Logo Horizontal (optional)', + 'admin_settings.appearance.section_appearance' => 'Appearance', + 'admin_settings.appearance.section_general' => 'General Settings', + 'admin_settings.appearance.title' => 'App Title', + 'admin_settings.appearance.title_plac' => 'Type your app title', + 'admin_settings.email.driver' => 'Mail Driver', + 'admin_settings.email.driver_plac' => 'Type your mail driver', + 'admin_settings.email.email_disclaimer' => "This form is not fully pre-filled for security reasons. Your email settings is available in your .env file. For apply new Email settings, please confirm your options by button at the end of formular.", + 'admin_settings.email.encryption' => 'Mail Encryption', + 'admin_settings.email.encryption_plac' => 'Select your mail encryption', + 'admin_settings.email.host' => 'Mail Host', + 'admin_settings.email.host_plac' => 'Type your mail host', + 'admin_settings.email.password' => 'Mail Password', + 'admin_settings.email.password_plac' => 'Type your mail password', + 'admin_settings.email.port' => 'Mail Port', + 'admin_settings.email.port_plac' => 'Type your mail port', + 'admin_settings.email.save_button' => 'Save Email Settings', + 'admin_settings.email.section_email' => 'Email Setup', + 'admin_settings.email.username' => 'Mail Username', + 'admin_settings.email.username_plac' => 'Type your mail username', + 'admin_settings.others.allow_registration' => 'Allow User Registration', + 'admin_settings.others.allow_registration_help' => 'You can disable public registration for new users. You will still able to
create new users in administration panel.', + 'admin_settings.others.allow_user_verification' => 'Allow User Email Verification', 'admin_settings.others.allow_user_verification_help' => 'Turn on, if you want to allow user email verification.', - 'admin_settings.others.cache_clear' => 'Clear Cache', - 'admin_settings.others.cache_disclaimer' => 'Did you change anything in your .env file or change your Stripe credentials? Then clear your cache.', - 'admin_settings.others.contact_email' => 'Contact Email', - 'admin_settings.others.contact_email_plac' => 'Type your contact email', - 'admin_settings.others.default_storage' => 'Default Storage Space for User Accounts', - 'admin_settings.others.default_storage_plac' => 'Set default storage space in GB', - 'admin_settings.others.google_analytics' => 'Google Analytics Code (optional)', - 'admin_settings.others.google_analytics_plac' => 'Paste your Google Analytics Code', - 'admin_settings.others.mimetypes_blacklist' => 'Mimetypes Blacklist', - 'admin_settings.others.mimetypes_blacklist_help' => "If you want to prevent upload some type of files, just add them to blacklist like this: x-php,mp3,jpeg
Use a comma between each mimetype. Don't use a dot before mimetypes.", - 'admin_settings.others.mimetypes_blacklist_plac' => 'Add mimetypes to Blacklist', - 'admin_settings.others.section_cache' => 'Application Cache', - 'admin_settings.others.section_others' => 'Others Settings', - 'admin_settings.others.section_user' => 'Users and Storage', - 'admin_settings.others.storage_limit' => 'Storage Limitation', - 'admin_settings.others.storage_limit_help' => "If this value is off, all users will have infinity storage capacity and you won't be
able to charge your users for storage plan.", - 'admin_settings.others.upload_limit' => 'Upload Limit', - 'admin_settings.others.upload_limit_help' => 'If you want to set max file size limit on single upload, add size of your limit in MB. E.g. 100 means 100 MB and 2 000 means 2 000 MB limit.', - 'admin_settings.others.upload_limit_plac' => 'Type your upload limit in MB', - 'admin_settings.tabs.appearance' => 'Appearance', - 'admin_settings.tabs.email' => 'Email', - 'admin_settings.tabs.others' => 'Application', - 'alerts.error_confirm' => 'That’s horrible!', - 'alerts.leave_to_sign_in' => 'Do you really want to leave?', - 'alerts.success_confirm' => 'Awesome!', - 'context_menu.add_folder' => 'Add Folder', - 'context_menu.add_to_favourites' => 'Add to Favourites', - 'context_menu.create_folder' => 'Create Folder', - 'context_menu.delete' => 'Delete', - 'context_menu.detail' => 'Detail', - 'context_menu.download' => 'Download', - 'context_menu.copy' => 'Copy', - 'context_menu.empty_trash' => 'Empty Trash', - 'context_menu.log_out' => 'Log Out', - 'context_menu.move' => 'Move', - 'context_menu.no_options' => 'No Options Available', - 'context_menu.profile_settings' => 'Profile Settings', - 'context_menu.remove_from_favourites' => 'Remove Favourite', - 'context_menu.rename' => 'Rename', - 'context_menu.restore' => 'Restore', - 'context_menu.select' => 'Select', - 'context_menu.share' => 'Share', - 'context_menu.share_cancel' => 'Cancel Sharing', - 'context_menu.share_edit' => 'Edit Sharing', - 'context_menu.upload' => 'Upload', - 'context_menu.zip_folder' => 'Zip and Download', - 'cookie_disclaimer.button' => 'cookies policy', - 'cookie_disclaimer.description' => 'By browsing this website you are agreeing to our {0}.', - 'datatable.paginate_info' => 'Showing 1 - {visible} from {total} records', - 'empty_page.call_to_action' => 'Upload Files', - 'empty_page.description' => 'Upload some files here easily via upload button.', - 'empty_page.title' => 'Upload Your First File', - 'errors.capacity_digit' => 'The storage capacity must be lower than 10 digit number.', - 'file_detail.author' => 'Author', - 'file_detail.author_participant' => 'Public Participant', - 'file_detail.created_at' => 'Created at', - 'file_detail.items' => 'Items', - 'file_detail.selected_multiple' => 'Selected Multiple Items', - 'file_detail.shared' => 'Shared', - 'file_detail.size' => 'Size', - 'file_detail.where' => 'Where', - 'file_detail_meta.aperature' => 'F Number', - 'file_detail_meta.aperture_value' => 'Aperture Value', - 'file_detail_meta.author' => 'Author', - 'file_detail_meta.camera_lens' => 'Camera Lens', - 'file_detail_meta.color_space' => 'Color Space', - 'file_detail_meta.dimension' => 'Dimensions', - 'file_detail_meta.exposure' => 'Exposure Time', - 'file_detail_meta.focal' => 'Focal Length', - 'file_detail_meta.iso' => 'ISO', - 'file_detail_meta.latitude' => 'Latitude', - 'file_detail_meta.longitude' => 'Longitude', - 'file_detail_meta.make' => 'Camera', - 'file_detail_meta.meta_data' => 'Metadata', - 'file_detail_meta.model' => 'Model', - 'file_detail_meta.resolution' => 'Resolution', - 'file_detail_meta.time_data' => 'Content Created', - 'folder.empty' => 'Empty', - 'folder.item_counts' => '{count} Item | {count} Items', - 'global.active' => 'Active', - 'global.admin' => 'Admin', - 'global.cancel' => 'Cancel', - 'global.canceled' => 'Canceled', - 'global.confirm_action' => "Yes, I'm sure", - 'global.default' => 'Default', - 'global.free' => 'Free', - 'global.get_it' => 'Get It', - 'global.incomplete' => 'Incomplete', - 'global.or' => 'or', - 'global.total' => 'Total', - 'input_image.supported' => 'Supported formats are .png, .jpg, .jpeg.', - 'input_image.title' => 'Upload Image', - 'inputs.placeholder_search_files' => 'Search files or folders...', - 'item_thumbnail.deleted_at' => 'Deleted {time}', - 'item_thumbnail.original_location' => 'Original Location', - 'locations.home' => 'Files', - 'locations.logout' => 'Log Out', - 'locations.profile' => 'Profile', - 'locations.settings' => 'Settings', - 'locations.shared' => 'Shared', - 'locations.trash' => 'Trash', - 'menu.admin' => 'Administration', - 'menu.files' => 'Files', - 'menu.latest' => 'Recent Uploads', - 'menu.logout' => 'Log Out', - 'menu.password' => 'Account Security', - 'menu.profile' => 'Profile Settings', - 'menu.settings' => 'Settings', - 'menu.shared' => 'Shared Files', - 'menu.storage' => 'Storage', - 'menu.trash' => 'Trash', - 'messages.nothing_from_participants' => "You don't have any uploads from other users.", - 'messages.nothing_to_preview' => 'There is nothing to preview.', - 'messages.nothing_was_found' => 'Nothing was found.', - 'mobile_selecting.deselect_all' => 'Deselect All', - 'mobile_selecting.done' => 'Done', - 'mobile_selecting.select_all' => 'Select All', - 'page_contact_us.description' => 'Do you have any questions? Get in touch with us.', - 'page_contact_us.error_message' => 'Something went wrong, please try it again.', - 'page_contact_us.form.email' => 'Email', - 'page_contact_us.form.email_plac' => 'Type your email', - 'page_contact_us.form.message' => 'Message', - 'page_contact_us.form.message_plac' => 'Type your message here...', - 'page_contact_us.form.submit_button' => 'Send Message', - 'page_contact_us.success_message' => 'Your message was send successfully.', - 'page_contact_us.title' => 'Contact Us', - 'page_create_password.button_update' => 'Update Password', - 'page_create_password.label_confirm_pass' => 'Confirm password', - 'page_create_password.label_email' => 'Email', - 'page_create_password.label_new_pass' => 'New password', - 'page_create_password.subtitle' => 'Create your new password here', - 'page_create_password.title' => 'Only One Step to Log In', - 'page_forgotten_password.button_get_link' => 'Get Link', - 'page_forgotten_password.pass_reseted_signin' => 'Sign In', - 'page_forgotten_password.pass_reseted_subtitle' => 'Your password was reset successfully.', - 'page_forgotten_password.pass_reseted_title' => 'Awesome!', - 'page_forgotten_password.pass_sennded_subtitle' => 'We have e-mailed your password reset link!', - 'page_forgotten_password.pass_sennded_title' => 'Thank you!', - 'page_forgotten_password.password_remember_button' => 'Log In.', - 'page_forgotten_password.password_remember_text' => 'Remember your password?', - 'page_forgotten_password.subtitle' => 'Get reset link with your email', - 'page_forgotten_password.title' => 'Forgotten Password?', - 'page_index.get_started_button' => 'Sign Up Now', - 'page_index.menu.contact_us' => 'Contact Us', - 'page_index.menu.log_in' => 'Log In', - 'page_index.menu.pricing' => 'Pricing', - 'page_index.menu.sign_in' => 'Sign Up', - 'page_index.sign_feature_1' => 'No credit card required', - 'page_index.sign_feature_2' => '{defaultSpace} Free storage space', - 'page_index.sign_up_button' => 'Sign Up Now', - 'page_login.button_next' => 'Next Step', - 'page_login.placeholder_email' => 'Type your E-mail', - 'page_login.registration_button' => 'Register account.', - 'page_login.registration_text' => 'Don’t have an account?', - 'page_login.subtitle' => 'Please type your email to log in', - 'page_login.title' => 'Welcome Back!', - 'page_registration.agreement' => "By clicking on 'Create Account' button I agree to the {0} and {1}.", - 'page_registration.button_create_account' => 'Create Account', - 'page_registration.have_an_account' => 'Do you have an account?', - 'page_registration.label_confirm_pass' => 'Confirm password', - 'page_registration.label_email' => 'Email', - 'page_registration.label_name' => 'Full Name', - 'page_registration.label_pass' => 'Create password', - 'page_registration.placeholder_confirm_pass' => 'Confirm your new password', - 'page_registration.placeholder_email' => 'Type your E-mail', - 'page_registration.placeholder_name' => 'Type your full name', - 'page_registration.placeholder_pass' => 'New password', - 'page_registration.subtitle' => 'Please fill registration to create account', - 'page_registration.title' => 'Create New Account', - 'page_shared.download_file' => 'Download File', - 'page_shared.placeholder_pass' => 'Type password', - 'page_shared.submit' => 'Submit', - 'page_shared.subtitle' => 'Please type the password to get shared content', - 'page_shared.title' => 'Your Share Link is Protected', - 'page_shared_404.subtitle' => 'The content you are finding was probably deleted.', - 'page_shared_404.title' => 'Not Found :(', - 'page_sign_in.button_log_in' => 'Log In', - 'page_sign_in.password_reset_button' => 'Reset Password.', - 'page_sign_in.password_reset_text' => 'Forgotten your password?', - 'page_sign_in.placeholder_password' => 'Type your password', - 'page_sign_in.subtitle' => 'Confirm you by your password', - 'page_sign_in.title' => 'Are You {name}?', - 'page_sign_in_2fa_title' => 'Welcome {name}', - 'page_sign_in_2fa_subtitle' => 'Confirm you by 2FA code from your Authenticator app', - 'page_sign_in.placeholder_2fa' => 'Type your 2FA code...', - 'page_sign_in.2fa_recovery_text' => "Can't get your 2FA code?", - 'page_sign_in.2fa_recovery_button' => 'Use recovery code.', - 'page_sign_in.2fa_recovery_subtitle' => 'Use your recovery code', - 'page_sign_in.placeholder_2fa_recovery' => "Type your recovery code", - 'page_not_verified.subtitle' => 'Your account is not verified. Before login, verify your account please.', - 'page_not_verified.resend_text' => 'Do you want resend verification email?', - 'page_not_verified.resend_button' => 'Resend verification email.', - 'page_email_successfully_verified.title' => 'Your account was successfully verified!', - 'page_email_successfully_verified.subtitle' => 'Now you can log in.', - 'page_email_successfully_send.title' => 'Verification email was successfully send!', - 'page_email_successfully_send.subtitle' => 'Check your email address where the email was send.', - 'popup_create_folder.folder_default_name' => 'New Folder', - 'popup_create_folder.label' => 'Type Name', - 'popup_create_folder.placeholder' => 'Type your name', - 'popup_create_folder.title' => 'Create Folder', - 'popup_deleted_user.message' => 'Your user was deleted with all user data content.', - 'popup_deleted_user.title' => 'User was deleted', - 'popup_deleted_user_aborted.message' => "You can't delete this account while user have active subscription.", - 'popup_deleted_user_aborted.title' => "User wasn't deleted", - 'popup_error.message' => "Something went wrong and we can't continue. Please contact us.", - 'popup_error.title' => 'Whooops, something went wrong!', - 'popup_exceed_limit.message' => 'Please contact your administrator to change your limit.', - 'popup_exceed_limit.title' => 'Whooops, you exceed storage limit :(', - 'popup_mimetypes_blacklist.message' => 'File of this type ({mimetype}) is not allowed to upload.', - 'popup_mimetypes_blacklist.title' => 'You are trying to upload unsupported file type', - 'popup_move_item.cancel' => 'Cancel', - 'popup_move_item.submit' => 'Move Item', - 'popup_move_item.title' => 'Move Item', - 'popup_pass_changed.message' => 'So now, you have awesome new password.', - 'popup_pass_changed.title' => 'Your password was changed!', - 'popup_paylod_error.message' => "Sorry, your file is too large and can't be uploaded", - 'popup_paylod_error.title' => 'File is too large', - 'popup_rename.select_emoji_label' => 'Pick Your Emoji Icon', - 'popup_rename.color_pick_label' => 'Pick Your Color', - 'popup_rename.emoji_list_not_found' => 'Not Found', - 'popup_rename.label' => 'Edit Name', - 'popup_rename.placeholder' => 'Type your title', - 'popup_rename.search_emoji_input_placeholder' => 'Search your emoji...', - 'popup_rename.set_emoji_input_placeholder' => 'Emojis List...', - 'popup_rename.tab_color_title' => 'Folder Color', - 'popup_rename.tab_emoji_title' => 'Emoji as an Icon', - 'popup_rename.title' => 'Rename Your {item}', - 'popup_share_create.title' => 'Share Your {item}', - 'popup_share_edit.change_pass' => 'Change Password', - 'popup_share_edit.confirm' => 'Confirm', - 'popup_share_edit.go_back' => 'Go Back', - 'popup_share_edit.save' => 'Save Changes', - 'popup_share_edit.send_to_recipients' => 'Send to Recipients', - 'popup_share_edit.stop' => 'Cancel Sharing', - 'popup_share_edit.title' => 'Update sharing options', - 'popup_signup_error.message' => 'Please check your database connection if everything works correctly.', - 'popup_signup_error.title' => 'Server Error', - 'popup_upload_limit.message' => 'Size of your uploaded file exceed the upload limit ({uploadLimit}).', - 'popup_upload_limit.title' => 'You exceed upload limit on single file', - 'popup_zipping.message' => 'Please wait until your files start downloading.', - 'popup_zipping.title' => 'Zipping Your Files...', - 'preview_sorting.grid_view' => 'Grid View', - 'preview_sorting.list_view' => 'List View', - 'preview_sorting.preview_sorting_button' => 'View', - 'preview_sorting.sort_alphabet' => 'Sort By Aplhabet', - 'preview_sorting.sort_date' => 'Sort By Date', - 'profile.change_pass' => 'Change Password', - 'profile.profile_info' => 'Profile Information', - 'profile.store_pass' => 'Store New Password', - 'pronouns.of' => 'of', - 'roles.admin' => 'Admin', - 'roles.user' => 'User', - 'routes.create_new_password' => 'create-new-password', - 'routes_title.appearance' => 'Appearance', - 'routes_title.dashboard' => 'Dashboard', - 'routes_title.email' => 'Email', - 'routes_title.languages' => 'Languages', - 'routes_title.others' => 'Others', - 'routes_title.page_edit' => 'Edit Page', - 'routes_title.pages' => 'Pages', - 'routes_title.profile' => 'My Profile', - 'routes_title.settings' => 'Settings', - 'routes_title.settings_password' => 'Change Password', - 'routes_title.settings_storage' => 'Storage', - 'routes_title.user_create' => 'Create User', - 'routes_title.users_delete' => 'Delete User', - 'routes_title.users_detail' => 'Detail', - 'routes_title.users_list' => 'User Management', - 'routes_title.users_password' => 'Password', - 'routes_title.users_storage_usage' => 'Storage Usage', - 'routes_title.users_user' => 'User', - 'shared.can_download' => 'Can download file', - 'shared.editor' => 'Can edit and upload files', - 'shared.empty_shared' => "You haven't shared anything yet.", - 'shared.visitor' => 'Can only view and download', - 'shared_form.button_close_options' => 'Close Options', - 'shared_form.button_done' => 'Awesome, I’m done!', - 'shared_form.button_folder_icon_open' => 'Customize Folder Icon', - 'shared_form.button_generate' => 'Generate Link', - 'shared_form.button_more_options' => 'Set Expiration', - 'shared_form.email_placeholder' => 'Type your emails', - 'shared_form.email_successfully_send_message' => "Your item was successfully send to recipients emails.", - 'shared_form.expiration_day' => '{value}d.', - 'shared_form.expiration_hour' => '{value}h.', - 'shared_form.label_expiration' => 'Link Expiration', - 'shared_form.label_password_protection' => 'Password Protected', - 'shared_form.label_permission' => 'Permission', - 'shared_form.label_send_to_recipients' => 'Send to Recipients', - 'shared_form.label_share_vie_email' => 'Get your link', - 'shared_form.label_shared_url' => 'Share url', - 'shared_form.placeholder_permission' => 'Select your permission', - 'shared_form.recipients_label' => 'Recipients', - 'shared_form.share_by_email' => 'Share by Email', - 'shared_form.share_by_link' => 'Share by Link', - 'sidebar.sharing' => 'Sharing', - 'sidebar.favourites' => 'Favourites', - 'sidebar.favourites_empty' => 'Drag here your favourite folder.', - 'sidebar.folders_empty' => 'Create some new folder.', - 'sidebar.home' => 'Files', - 'sidebar.latest' => 'Recent Uploads', - 'sidebar.locations_title' => 'Base', - 'sidebar.my_shared' => 'My Shared Items', - 'sidebar.navigator_title' => 'Navigator', - 'sidebar.participant_uploads' => 'Participant Uploads', - 'sidebar.tools_title' => 'Tools', - 'storage.audios' => 'Audios', - 'storage.documents' => 'Documents', - 'storage.images' => 'Images', - 'storage.others' => 'Others', - 'storage.sec_capacity' => 'Your disk Usage', - 'storage.sec_details' => 'Capacity Usage Details', - 'storage.total_capacity' => 'Your storage capacity is {capacity}', - 'storage.total_used' => 'Total used {used}', - 'storage.videos' => 'Videos', - 'toaster.changed_capacity' => "You successfully changed user's storage size!", - 'toaster.changed_user' => "You successfully changed user's role!", - 'toaster.created_user' => 'User was created successfully!', - 'toaster.email_set' => 'Your email settings was updated successfully', - 'toaster.sended_password' => 'You successfully send user email for reset password!', - 'types.file' => 'File', - 'types.folder' => 'Folder', - 'upgrade_banner.button' => 'Upgrade', - 'upgrade_banner.description' => 'You nearly reach your storage capacity.', - 'upgrade_banner.title' => 'You reach your storage capacity. Please upgrade.', - 'uploading.cancel' => 'Cancel Uploading', - 'uploading.processing_file' => 'Processing File...', - 'uploading.progress' => 'Uploading File {progress}% - {current}/{total}', - 'uploading.progress_single_upload' => 'Uploading File {progress}%', - 'user_add_card.default_description' => 'Your card will be charged for billing plans as first.', - 'user_add_card.default_title' => 'Set as Default Payment Method', - 'user_box_delete.description' => 'You can delete your user, but, pay attention! This event is irreversible and all user data include user files will be deleted.', - 'user_box_delete.title' => 'Delete User', - 'user_box_password.description' => 'You can send password reset email via button bellow. User will be redirected to page where he can update password for his account.', - 'user_box_password.title' => 'Change User Password', - 'user_box_role.description' => 'You can change role for current user. Admin role can edit or create new users, change storage capacity and any other application settings.', - 'user_box_role.title' => 'Change User Role', - 'user_box_storage.description' => "Change user storage capacity by input bellow. You have to type only number e.g. value '5' means, user will have 5GB of storage capacity.", - 'user_box_storage.title' => 'Change User Storage Capacity', - 'user_password.title' => 'Change Your Password', - 'user_settings.address' => 'Address', - 'user_settings.address_plac' => 'Type your billing address', - 'user_settings.city' => 'City', - 'user_settings.city_plac' => 'Type your billing city', - 'user_settings.country' => 'Country', - 'user_settings.country_plac' => 'Select your billing country', - 'user_settings.name' => 'Name', - 'user_settings.name_plac' => 'Type your billing name', - 'user_settings.phone_number' => 'Phone Number', - 'user_settings.phone_number_plac' => 'Type your billing phone number', - 'user_settings.postal_code' => 'Postal Code', - 'user_settings.postal_code_plac' => 'Type your billing postal code', - 'user_settings.state' => 'State', - 'user_settings.state_plac' => 'Type your billing state', - 'user_settings.timezone' => 'Timezone', - 'user_settings.timezone_plac' => 'Select your timezone', - 'user_settings.title_account' => 'Account Information', - 'user_settings.title_billing' => 'Billing Information', - 'validation_errors.incorrect_2fa_code' => 'Sorry, you passed incorrect or expired code', - 'validation_errors.incorrect_2fa_recovery_code' => 'Sorry, you passed incorrect recovery code', - 'validation_errors.incorrect_password' => 'Sorry, you passed incorrect password :(', - 'validation_errors.wrong_image' => 'You may have uploaded the wrong file, try again!', - 'app_description' => 'Your self-hosted storage cloud software powered by Laravel and Vue', - 'user_not_fount' => 'We can\'t find a user with that e-mail address.', - 'incorrect_password' => 'Sorry, your password is incorrect.', - 'time' => '%d. %B. %Y at %H:%M', - 'home' => 'Home', - 'shared_link_email_subject' => '🙋 :user share some files with you. Look at it!', - 'shared_link_email_greeting' => 'Hello!', - 'shared_link_email_user' => ':user (:email) send you a link to shared files.', - 'shared_link_email_link' => 'Open your files', - 'shared_link_email_salutation' => 'Regards, :app_name', - 'reset_password_greeting' => 'Hello!', - 'reset_password_subject' => 'Reset password for your account on ', - 'reset_password_line_1' => 'You are receiving this email because we received a password reset request for your account.', - 'reset_password_line_2' => 'If you did not request a password reset, no further action is required.', - 'reset_password_action' => 'Reset Password', - 'salutation' => 'Regards', - 'user_sending' => ':name is sending you this file', - 'protected_file' => 'This link is protected by password', - 'routes_title.language' => 'Languages', - 'languages' => 'Languages', - 'add_language' => 'Add Language', - 'create_language' => 'Create Language', - 'edit_translations' => 'Edit Translations', - 'language_name' => 'Language Name', - 'set_as_default_language' => 'Set as Default Language', - 'language_settings' => 'Language Settings', - 'search_translations' => 'Search Language Translations...', - 'select_locale' => 'Select Locale', - 'locale_name' => 'Language Name', - 'select_language_locale' => 'Select Language Locale', - 'type_language_name' => 'Type Language Name', - 'go_to_files' => 'Go to Files', - 'color_theme' => 'Color Theme', - 'color_theme_description' => 'Your color change will be visible after app refresh.', - 'og_image' => 'OG Image', - 'og_image_description' => 'Image that appear when someone shares the content to Facebook or any other social medium. Preferred size is 1200x627', - 'app_touch_icon' => 'App Touch Icon', - 'app_touch_icon_description' => 'If user store bookmark on his phone screen, this icon appear in app thumbnail. Preferred size is 156x156', - 'select_search_placeholder' => 'Search in list...', - '2fa.settings.title' => 'Two Factor Authentication', - '2fa.i_have_2fa_app' => 'I have already 2FA app', - 'popup_2fa.title' => 'Confirm Your Password', - 'popup_2fa.input_label' => 'Password', - 'popup_2fa.placeholder' => 'Type your password', - 'popup_2fa.help' => 'Scan the image above with the two-factor authentication app on your phone.', - 'popup_2fa.confirm_button' => 'Confirm', - 'popup_2fa.disappear_qr' => 'Really disappear this QR code?', - 'popup_2fa.toaster_enabled' => 'Your 2FA was enabled successfully!', - 'popup_2fa.toaster_disabled' => 'Your 2FA was disabled!', - 'popup_2fa.switch_title' => 'Enable / Disable Two Factor Authentication', - 'popup_2fa.switch_info' => 'Here you can improve your account security by turn on 2fa verification.', - 'popup_2fa.codes_title' => 'Show Recovery Codes', - 'popup_2fa.codes_info' => 'Recovery codes can be used to access your account in the event you lose access to your device and cannot receive two-factor authentication codes.', - 'popup_2fa.codes_button' => 'Show Codes', - 'popup_2fa.popup_codes_title' => 'Your Security Codes', - 'popup_2fa.popup_codes_disclaimer' => 'Put these in a safe spot. If you lose your device and don’t have the recovery codes you will lose access to your account.', - 'context_menu.codes_regenerate' => 'Regenerate Codes', - 'popup_2fa.toaster_codes_copied' => 'Your codes was copied!', - 'popup_2fa.toaster_codes_regenerated' => 'Your codes was regenerated!', - 'go_home' => 'Go to the homepage', + 'admin_settings.others.cache_clear' => 'Clear Cache', + 'admin_settings.others.cache_disclaimer' => 'Did you change anything in your .env file or change your Stripe credentials? Then clear your cache.', + 'admin_settings.others.contact_email' => 'Contact Email', + 'admin_settings.others.contact_email_plac' => 'Type your contact email', + 'admin_settings.others.default_storage' => 'Default Storage Space for User Accounts', + 'admin_settings.others.default_storage_plac' => 'Set default storage space in GB', + 'admin_settings.others.google_analytics' => 'Google Analytics Code (optional)', + 'admin_settings.others.google_analytics_plac' => 'Paste your Google Analytics Code', + 'admin_settings.others.mimetypes_blacklist' => 'Mimetypes Blacklist', + 'admin_settings.others.mimetypes_blacklist_help' => "If you want to prevent upload some type of files, just add them to blacklist like this: x-php,mp3,jpeg
Use a comma between each mimetype. Don't use a dot before mimetypes.", + 'admin_settings.others.mimetypes_blacklist_plac' => 'Add mimetypes to Blacklist', + 'admin_settings.others.section_cache' => 'Application Cache', + 'admin_settings.others.section_others' => 'Others Settings', + 'admin_settings.others.section_user' => 'Users and Storage', + 'admin_settings.others.storage_limit' => 'Storage Limitation', + 'admin_settings.others.storage_limit_help' => "If this value is off, all users will have infinity storage capacity and you won't be
able to charge your users for storage plan.", + 'admin_settings.others.upload_limit' => 'Upload Limit', + 'admin_settings.others.upload_limit_help' => 'If you want to set max file size limit on single upload, add size of your limit in MB. E.g. 100 means 100 MB and 2 000 means 2 000 MB limit.', + 'admin_settings.others.upload_limit_plac' => 'Type your upload limit in MB', + 'admin_settings.tabs.appearance' => 'Appearance', + 'admin_settings.tabs.email' => 'Email', + 'admin_settings.tabs.others' => 'Application', + 'alerts.error_confirm' => 'That’s horrible!', + 'alerts.leave_to_sign_in' => 'Do you really want to leave?', + 'alerts.success_confirm' => 'Awesome!', + 'context_menu.add_folder' => 'Add Folder', + 'context_menu.add_to_favourites' => 'Add to Favourites', + 'context_menu.create_folder' => 'Create Folder', + 'context_menu.delete' => 'Delete', + 'context_menu.detail' => 'Detail', + 'context_menu.download' => 'Download', + 'context_menu.copy' => 'Copy', + 'context_menu.empty_trash' => 'Empty Trash', + 'context_menu.log_out' => 'Log Out', + 'context_menu.move' => 'Move', + 'context_menu.no_options' => 'No Options Available', + 'context_menu.profile_settings' => 'Profile Settings', + 'context_menu.remove_from_favourites' => 'Remove Favourite', + 'context_menu.rename' => 'Rename', + 'context_menu.restore' => 'Restore', + 'context_menu.select' => 'Select', + 'context_menu.share' => 'Share', + 'context_menu.share_cancel' => 'Cancel Sharing', + 'context_menu.share_edit' => 'Edit Sharing', + 'context_menu.upload' => 'Upload', + 'context_menu.zip_folder' => 'Zip and Download', + 'cookie_disclaimer.button' => 'cookies policy', + 'cookie_disclaimer.description' => 'By browsing this website you are agreeing to our {0}.', + 'datatable.paginate_info' => 'Showing 1 - {visible} from {total} records', + 'empty_page.call_to_action' => 'Upload Files', + 'empty_page.description' => 'Upload some files here easily via upload button.', + 'empty_page.title' => 'Upload Your First File', + 'errors.capacity_digit' => 'The storage capacity must be lower than 10 digit number.', + 'file_detail.author' => 'Author', + 'file_detail.author_participant' => 'Public Participant', + 'file_detail.created_at' => 'Created at', + 'file_detail.items' => 'Items', + 'file_detail.selected_multiple' => 'Selected Multiple Items', + 'file_detail.shared' => 'Shared', + 'file_detail.size' => 'Size', + 'file_detail.where' => 'Where', + 'file_detail_meta.aperature' => 'F Number', + 'file_detail_meta.aperture_value' => 'Aperture Value', + 'file_detail_meta.author' => 'Author', + 'file_detail_meta.camera_lens' => 'Camera Lens', + 'file_detail_meta.color_space' => 'Color Space', + 'file_detail_meta.dimension' => 'Dimensions', + 'file_detail_meta.exposure' => 'Exposure Time', + 'file_detail_meta.focal' => 'Focal Length', + 'file_detail_meta.iso' => 'ISO', + 'file_detail_meta.latitude' => 'Latitude', + 'file_detail_meta.longitude' => 'Longitude', + 'file_detail_meta.make' => 'Camera', + 'file_detail_meta.meta_data' => 'Metadata', + 'file_detail_meta.model' => 'Model', + 'file_detail_meta.resolution' => 'Resolution', + 'file_detail_meta.time_data' => 'Content Created', + 'folder.empty' => 'Empty', + 'folder.item_counts' => '{count} Item | {count} Items', + 'global.active' => 'Active', + 'global.admin' => 'Admin', + 'global.cancel' => 'Cancel', + 'global.canceled' => 'Canceled', + 'global.confirm_action' => "Yes, I'm sure", + 'global.default' => 'Default', + 'global.free' => 'Free', + 'global.get_it' => 'Get It', + 'global.incomplete' => 'Incomplete', + 'global.or' => 'or', + 'global.total' => 'Total', + 'input_image.supported' => 'Supported formats are .png, .jpg, .jpeg.', + 'input_image.title' => 'Upload Image', + 'inputs.placeholder_search_files' => 'Search files or folders...', + 'item_thumbnail.deleted_at' => 'Deleted {time}', + 'item_thumbnail.original_location' => 'Original Location', + 'locations.home' => 'Files', + 'locations.logout' => 'Log Out', + 'locations.profile' => 'Profile', + 'locations.settings' => 'Settings', + 'locations.shared' => 'Shared', + 'locations.trash' => 'Trash', + 'menu.admin' => 'Administration', + 'menu.files' => 'Files', + 'menu.latest' => 'Recent Uploads', + 'menu.logout' => 'Log Out', + 'menu.password' => 'Account Security', + 'menu.profile' => 'Profile Settings', + 'menu.settings' => 'Settings', + 'menu.shared' => 'Shared Files', + 'menu.storage' => 'Storage', + 'menu.trash' => 'Trash', + 'messages.nothing_from_participants' => "You don't have any uploads from other users.", + 'messages.nothing_to_preview' => 'There is nothing to preview.', + 'messages.nothing_was_found' => 'Nothing was found.', + 'mobile_selecting.deselect_all' => 'Deselect All', + 'mobile_selecting.done' => 'Done', + 'mobile_selecting.select_all' => 'Select All', + 'page_contact_us.description' => 'Do you have any questions? Get in touch with us.', + 'page_contact_us.error_message' => 'Something went wrong, please try it again.', + 'page_contact_us.form.email' => 'Email', + 'page_contact_us.form.email_plac' => 'Type your email', + 'page_contact_us.form.message' => 'Message', + 'page_contact_us.form.message_plac' => 'Type your message here...', + 'page_contact_us.form.submit_button' => 'Send Message', + 'page_contact_us.success_message' => 'Your message was send successfully.', + 'page_contact_us.title' => 'Contact Us', + 'page_create_password.button_update' => 'Update Password', + 'page_create_password.label_confirm_pass' => 'Confirm password', + 'page_create_password.label_email' => 'Email', + 'page_create_password.label_new_pass' => 'New password', + 'page_create_password.subtitle' => 'Create your new password here', + 'page_create_password.title' => 'Only One Step to Log In', + 'page_forgotten_password.button_get_link' => 'Get Link', + 'page_forgotten_password.pass_reseted_signin' => 'Sign In', + 'page_forgotten_password.pass_reseted_subtitle' => 'Your password was reset successfully.', + 'page_forgotten_password.pass_reseted_title' => 'Awesome!', + 'page_forgotten_password.pass_sennded_subtitle' => 'We have e-mailed your password reset link!', + 'page_forgotten_password.pass_sennded_title' => 'Thank you!', + 'page_forgotten_password.password_remember_button' => 'Log In.', + 'page_forgotten_password.password_remember_text' => 'Remember your password?', + 'page_forgotten_password.subtitle' => 'Get reset link with your email', + 'page_forgotten_password.title' => 'Forgotten Password?', + 'page_index.get_started_button' => 'Sign Up Now', + 'page_index.menu.contact_us' => 'Contact Us', + 'page_index.menu.log_in' => 'Log In', + 'page_index.menu.pricing' => 'Pricing', + 'page_index.menu.sign_in' => 'Sign Up', + 'page_index.sign_feature_1' => 'No credit card required', + 'page_index.sign_feature_2' => '{defaultSpace} Free storage space', + 'page_index.sign_up_button' => 'Sign Up Now', + 'page_login.button_next' => 'Next Step', + 'page_login.placeholder_email' => 'Type your E-mail', + 'page_login.registration_button' => 'Register account.', + 'page_login.registration_text' => 'Don’t have an account?', + 'page_login.subtitle' => 'Please type your email to log in', + 'page_login.title' => 'Welcome Back!', + 'page_registration.agreement' => "By clicking on 'Create Account' button I agree to the {0} and {1}.", + 'page_registration.button_create_account' => 'Create Account', + 'page_registration.have_an_account' => 'Do you have an account?', + 'page_registration.label_confirm_pass' => 'Confirm password', + 'page_registration.label_email' => 'Email', + 'page_registration.label_name' => 'Full Name', + 'page_registration.label_pass' => 'Create password', + 'page_registration.placeholder_confirm_pass' => 'Confirm your new password', + 'page_registration.placeholder_email' => 'Type your E-mail', + 'page_registration.placeholder_name' => 'Type your full name', + 'page_registration.placeholder_pass' => 'New password', + 'page_registration.subtitle' => 'Please fill registration to create account', + 'page_registration.title' => 'Create New Account', + 'page_shared.download_file' => 'Download File', + 'page_shared.placeholder_pass' => 'Type password', + 'page_shared.submit' => 'Submit', + 'page_shared.subtitle' => 'Please type the password to get shared content', + 'page_shared.title' => 'Your Share Link is Protected', + 'page_shared_404.subtitle' => 'The content you are finding was probably deleted.', + 'page_shared_404.title' => 'Not Found :(', + 'page_sign_in.button_log_in' => 'Log In', + 'page_sign_in.password_reset_button' => 'Reset Password.', + 'page_sign_in.password_reset_text' => 'Forgotten your password?', + 'page_sign_in.placeholder_password' => 'Type your password', + 'page_sign_in.subtitle' => 'Confirm you by your password', + 'page_sign_in.title' => 'Are You {name}?', + 'page_sign_in_2fa_title' => 'Welcome {name}', + 'page_sign_in_2fa_subtitle' => 'Confirm you by 2FA code from your Authenticator app', + 'page_sign_in.placeholder_2fa' => 'Type your 2FA code...', + 'page_sign_in.2fa_recovery_text' => "Can't get your 2FA code?", + 'page_sign_in.2fa_recovery_button' => 'Use recovery code.', + 'page_sign_in.2fa_recovery_subtitle' => 'Use your recovery code', + 'page_sign_in.placeholder_2fa_recovery' => 'Type your recovery code', + 'page_not_verified.subtitle' => 'Your account is not verified. Before login, verify your account please.', + 'page_not_verified.resend_text' => 'Do you want resend verification email?', + 'page_not_verified.resend_button' => 'Resend verification email.', + 'page_email_successfully_verified.title' => 'Your account was successfully verified!', + 'page_email_successfully_verified.subtitle' => 'Now you can log in.', + 'page_email_successfully_send.title' => 'Verification email was successfully send!', + 'page_email_successfully_send.subtitle' => 'Check your email address where the email was send.', + 'popup_create_folder.folder_default_name' => 'New Folder', + 'popup_create_folder.label' => 'Type Name', + 'popup_create_folder.placeholder' => 'Type your name', + 'popup_create_folder.title' => 'Create Folder', + 'popup_deleted_user.message' => 'Your user was deleted with all user data content.', + 'popup_deleted_user.title' => 'User was deleted', + 'popup_deleted_user_aborted.message' => "You can't delete this account while user have active subscription.", + 'popup_deleted_user_aborted.title' => "User wasn't deleted", + 'popup_error.message' => "Something went wrong and we can't continue. Please contact us.", + 'popup_error.title' => 'Whooops, something went wrong!', + 'popup_exceed_limit.message' => 'Please contact your administrator to change your limit.', + 'popup_exceed_limit.title' => 'Whooops, you exceed storage limit :(', + 'popup_mimetypes_blacklist.message' => 'File of this type ({mimetype}) is not allowed to upload.', + 'popup_mimetypes_blacklist.title' => 'You are trying to upload unsupported file type', + 'popup_move_item.cancel' => 'Cancel', + 'popup_move_item.submit' => 'Move Item', + 'popup_move_item.title' => 'Move Item', + 'popup_pass_changed.message' => 'So now, you have awesome new password.', + 'popup_pass_changed.title' => 'Your password was changed!', + 'popup_paylod_error.message' => "Sorry, your file is too large and can't be uploaded", + 'popup_paylod_error.title' => 'File is too large', + 'popup_rename.select_emoji_label' => 'Pick Your Emoji Icon', + 'popup_rename.color_pick_label' => 'Pick Your Color', + 'popup_rename.emoji_list_not_found' => 'Not Found', + 'popup_rename.label' => 'Edit Name', + 'popup_rename.placeholder' => 'Type your title', + 'popup_rename.search_emoji_input_placeholder' => 'Search your emoji...', + 'popup_rename.set_emoji_input_placeholder' => 'Emojis List...', + 'popup_rename.tab_color_title' => 'Folder Color', + 'popup_rename.tab_emoji_title' => 'Emoji as an Icon', + 'popup_rename.title' => 'Rename Your {item}', + 'popup_share_create.title' => 'Share Your {item}', + 'popup_share_edit.change_pass' => 'Change Password', + 'popup_share_edit.confirm' => 'Confirm', + 'popup_share_edit.go_back' => 'Go Back', + 'popup_share_edit.save' => 'Save Changes', + 'popup_share_edit.send_to_recipients' => 'Send to Recipients', + 'popup_share_edit.stop' => 'Cancel Sharing', + 'popup_share_edit.title' => 'Update sharing options', + 'popup_signup_error.message' => 'Please check your database connection if everything works correctly.', + 'popup_signup_error.title' => 'Server Error', + 'popup_upload_limit.message' => 'Size of your uploaded file exceed the upload limit ({uploadLimit}).', + 'popup_upload_limit.title' => 'You exceed upload limit on single file', + 'popup_zipping.message' => 'Please wait until your files start downloading.', + 'popup_zipping.title' => 'Zipping Your Files...', + 'preview_sorting.grid_view' => 'Grid View', + 'preview_sorting.list_view' => 'List View', + 'preview_sorting.preview_sorting_button' => 'View', + 'preview_sorting.sort_alphabet' => 'Sort By Aplhabet', + 'preview_sorting.sort_date' => 'Sort By Date', + 'profile.change_pass' => 'Change Password', + 'profile.profile_info' => 'Profile Information', + 'profile.store_pass' => 'Store New Password', + 'pronouns.of' => 'of', + 'roles.admin' => 'Admin', + 'roles.user' => 'User', + 'routes.create_new_password' => 'create-new-password', + 'routes_title.appearance' => 'Appearance', + 'routes_title.dashboard' => 'Dashboard', + 'routes_title.email' => 'Email', + 'routes_title.languages' => 'Languages', + 'routes_title.others' => 'Others', + 'routes_title.page_edit' => 'Edit Page', + 'routes_title.pages' => 'Pages', + 'routes_title.profile' => 'My Profile', + 'routes_title.settings' => 'Settings', + 'routes_title.settings_password' => 'Change Password', + 'routes_title.settings_storage' => 'Storage', + 'routes_title.user_create' => 'Create User', + 'routes_title.users_delete' => 'Delete User', + 'routes_title.users_detail' => 'Detail', + 'routes_title.users_list' => 'User Management', + 'routes_title.users_password' => 'Password', + 'routes_title.users_storage_usage' => 'Storage Usage', + 'routes_title.users_user' => 'User', + 'shared.can_download' => 'Can download file', + 'shared.editor' => 'Can edit and upload files', + 'shared.empty_shared' => "You haven't shared anything yet.", + 'shared.visitor' => 'Can only view and download', + 'shared_form.button_close_options' => 'Close Options', + 'shared_form.button_done' => 'Awesome, I’m done!', + 'shared_form.button_folder_icon_open' => 'Customize Folder Icon', + 'shared_form.button_generate' => 'Generate Link', + 'shared_form.button_more_options' => 'Set Expiration', + 'shared_form.email_placeholder' => 'Type your emails', + 'shared_form.email_successfully_send_message' => "Your item was successfully send to recipients emails.", + 'shared_form.expiration_day' => '{value}d.', + 'shared_form.expiration_hour' => '{value}h.', + 'shared_form.label_expiration' => 'Link Expiration', + 'shared_form.label_password_protection' => 'Password Protected', + 'shared_form.label_permission' => 'Permission', + 'shared_form.label_send_to_recipients' => 'Send to Recipients', + 'shared_form.label_share_vie_email' => 'Get your link', + 'shared_form.label_shared_url' => 'Share url', + 'shared_form.placeholder_permission' => 'Select your permission', + 'shared_form.recipients_label' => 'Recipients', + 'shared_form.share_by_email' => 'Share by Email', + 'shared_form.share_by_link' => 'Share by Link', + 'sidebar.sharing' => 'Sharing', + 'sidebar.favourites' => 'Favourites', + 'sidebar.favourites_empty' => 'Drag here your favourite folder.', + 'sidebar.folders_empty' => 'Create some new folder.', + 'sidebar.home' => 'Files', + 'sidebar.latest' => 'Recent Uploads', + 'sidebar.locations_title' => 'Base', + 'sidebar.my_shared' => 'My Shared Items', + 'sidebar.navigator_title' => 'Navigator', + 'sidebar.participant_uploads' => 'Participant Uploads', + 'sidebar.tools_title' => 'Tools', + 'storage.audios' => 'Audios', + 'storage.documents' => 'Documents', + 'storage.images' => 'Images', + 'storage.others' => 'Others', + 'storage.sec_capacity' => 'Your disk Usage', + 'storage.sec_details' => 'Capacity Usage Details', + 'storage.total_capacity' => 'Your storage capacity is {capacity}', + 'storage.total_used' => 'Total used {used}', + 'storage.videos' => 'Videos', + 'toaster.changed_capacity' => "You successfully changed user's storage size!", + 'toaster.changed_user' => "You successfully changed user's role!", + 'toaster.created_user' => 'User was created successfully!', + 'toaster.email_set' => 'Your email settings was updated successfully', + 'toaster.sended_password' => 'You successfully send user email for reset password!', + 'types.file' => 'File', + 'types.folder' => 'Folder', + 'upgrade_banner.button' => 'Upgrade', + 'upgrade_banner.description' => 'You nearly reach your storage capacity.', + 'upgrade_banner.title' => 'You reach your storage capacity. Please upgrade.', + 'uploading.cancel' => 'Cancel Uploading', + 'uploading.processing_file' => 'Processing File...', + 'uploading.progress' => 'Uploading File {progress}% - {current}/{total}', + 'uploading.progress_single_upload' => 'Uploading File {progress}%', + 'user_add_card.default_description' => 'Your card will be charged for billing plans as first.', + 'user_add_card.default_title' => 'Set as Default Payment Method', + 'user_box_delete.description' => 'You can delete your user, but, pay attention! This event is irreversible and all user data include user files will be deleted.', + 'user_box_delete.title' => 'Delete User', + 'user_box_password.description' => 'You can send password reset email via button bellow. User will be redirected to page where he can update password for his account.', + 'user_box_password.title' => 'Change User Password', + 'user_box_role.description' => 'You can change role for current user. Admin role can edit or create new users, change storage capacity and any other application settings.', + 'user_box_role.title' => 'Change User Role', + 'user_box_storage.description' => "Change user storage capacity by input bellow. You have to type only number e.g. value '5' means, user will have 5GB of storage capacity.", + 'user_box_storage.title' => 'Change User Storage Capacity', + 'user_password.title' => 'Change Your Password', + 'user_settings.address' => 'Address', + 'user_settings.address_plac' => 'Type your billing address', + 'user_settings.city' => 'City', + 'user_settings.city_plac' => 'Type your billing city', + 'user_settings.country' => 'Country', + 'user_settings.country_plac' => 'Select your billing country', + 'user_settings.name' => 'Name', + 'user_settings.name_plac' => 'Type your billing name', + 'user_settings.phone_number' => 'Phone Number', + 'user_settings.phone_number_plac' => 'Type your billing phone number', + 'user_settings.postal_code' => 'Postal Code', + 'user_settings.postal_code_plac' => 'Type your billing postal code', + 'user_settings.state' => 'State', + 'user_settings.state_plac' => 'Type your billing state', + 'user_settings.timezone' => 'Timezone', + 'user_settings.timezone_plac' => 'Select your timezone', + 'user_settings.title_account' => 'Account Information', + 'user_settings.title_billing' => 'Billing Information', + 'validation_errors.incorrect_2fa_code' => 'Sorry, you passed incorrect or expired code', + 'validation_errors.incorrect_2fa_recovery_code' => 'Sorry, you passed incorrect recovery code', + 'validation_errors.incorrect_password' => 'Sorry, you passed incorrect password :(', + 'validation_errors.wrong_image' => 'You may have uploaded the wrong file, try again!', + 'app_description' => 'Your self-hosted storage cloud software powered by Laravel and Vue', + 'user_not_fount' => 'We can\'t find a user with that e-mail address.', + 'incorrect_password' => 'Sorry, your password is incorrect.', + 'time' => '%d. %B. %Y at %H:%M', + 'home' => 'Home', + 'shared_link_email_subject' => '🙋 :user share some files with you. Look at it!', + 'shared_link_email_greeting' => 'Hello!', + 'shared_link_email_user' => ':user (:email) send you a link to shared files.', + 'shared_link_email_link' => 'Open your files', + 'shared_link_email_salutation' => 'Regards, :app_name', + 'reset_password_greeting' => 'Hello!', + 'reset_password_subject' => 'Reset password for your account on ', + 'reset_password_line_1' => 'You are receiving this email because we received a password reset request for your account.', + 'reset_password_line_2' => 'If you did not request a password reset, no further action is required.', + 'reset_password_action' => 'Reset Password', + 'salutation' => 'Regards', + 'user_sending' => ':name is sending you this file', + 'protected_file' => 'This link is protected by password', + 'routes_title.language' => 'Languages', + 'languages' => 'Languages', + 'add_language' => 'Add Language', + 'create_language' => 'Create Language', + 'edit_translations' => 'Edit Translations', + 'language_name' => 'Language Name', + 'set_as_default_language' => 'Set as Default Language', + 'language_settings' => 'Language Settings', + 'search_translations' => 'Search Language Translations...', + 'select_locale' => 'Select Locale', + 'locale_name' => 'Language Name', + 'select_language_locale' => 'Select Language Locale', + 'type_language_name' => 'Type Language Name', + 'go_to_files' => 'Go to Files', + 'color_theme' => 'Color Theme', + 'color_theme_description' => 'Your color change will be visible after app refresh.', + 'og_image' => 'OG Image', + 'og_image_description' => 'Image that appear when someone shares the content to Facebook or any other social medium. Preferred size is 1200x627', + 'app_touch_icon' => 'App Touch Icon', + 'app_touch_icon_description' => 'If user store bookmark on his phone screen, this icon appear in app thumbnail. Preferred size is 156x156', + 'select_search_placeholder' => 'Search in list...', + '2fa.settings.title' => 'Two Factor Authentication', + '2fa.i_have_2fa_app' => 'I have already 2FA app', + 'popup_2fa.title' => 'Confirm Your Password', + 'popup_2fa.input_label' => 'Password', + 'popup_2fa.placeholder' => 'Type your password', + 'popup_2fa.help' => 'Scan the image above with the two-factor authentication app on your phone.', + 'popup_2fa.confirm_button' => 'Confirm', + 'popup_2fa.disappear_qr' => 'Really disappear this QR code?', + 'popup_2fa.toaster_enabled' => 'Your 2FA was enabled successfully!', + 'popup_2fa.toaster_disabled' => 'Your 2FA was disabled!', + 'popup_2fa.switch_title' => 'Enable / Disable Two Factor Authentication', + 'popup_2fa.switch_info' => 'Here you can improve your account security by turn on 2fa verification.', + 'popup_2fa.codes_title' => 'Show Recovery Codes', + 'popup_2fa.codes_info' => 'Recovery codes can be used to access your account in the event you lose access to your device and cannot receive two-factor authentication codes.', + 'popup_2fa.codes_button' => 'Show Codes', + 'popup_2fa.popup_codes_title' => 'Your Security Codes', + 'popup_2fa.popup_codes_disclaimer' => 'Put these in a safe spot. If you lose your device and don’t have the recovery codes you will lose access to your account.', + 'context_menu.codes_regenerate' => 'Regenerate Codes', + 'popup_2fa.toaster_codes_copied' => 'Your codes was copied!', + 'popup_2fa.toaster_codes_regenerated' => 'Your codes was regenerated!', + 'go_home' => 'Go to the homepage', ], ]; diff --git a/config/laravel-query-monitor.php b/config/laravel-query-monitor.php index d3597eb7..7815a86f 100644 --- a/config/laravel-query-monitor.php +++ b/config/laravel-query-monitor.php @@ -2,6 +2,6 @@ return [ 'enable' => env('LARAVEL_QUERY_MONITOR', true), - 'host' => env('LARAVEL_QUERY_MONITOR_HOST', '0.0.0.0'), - 'port' => env('LARAVEL_QUERY_MONITOR_PORT', 8081), + 'host' => env('LARAVEL_QUERY_MONITOR_HOST', '0.0.0.0'), + 'port' => env('LARAVEL_QUERY_MONITOR_PORT', 8081), ]; diff --git a/config/logging.php b/config/logging.php index 177895fb..f1e5f5e7 100644 --- a/config/logging.php +++ b/config/logging.php @@ -35,36 +35,36 @@ return [ 'channels' => [ 'stack' => [ - 'driver' => 'stack', - 'channels' => ['single'], + 'driver' => 'stack', + 'channels' => ['single'], 'ignore_exceptions' => false, ], 'single' => [ 'driver' => 'single', - 'path' => storage_path('logs/laravel.log'), - 'level' => 'debug', + 'path' => storage_path('logs/laravel.log'), + 'level' => 'debug', ], 'daily' => [ 'driver' => 'daily', - 'path' => storage_path('logs/laravel.log'), - 'level' => 'debug', - 'days' => 14, + 'path' => storage_path('logs/laravel.log'), + 'level' => 'debug', + 'days' => 14, ], 'slack' => [ - 'driver' => 'slack', - 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), 'username' => 'Laravel Log', - 'emoji' => ':boom:', - 'level' => 'critical', + 'emoji' => ':boom:', + 'level' => 'critical', ], 'papertrail' => [ - 'driver' => 'monolog', - 'level' => 'debug', - 'handler' => SyslogUdpHandler::class, + 'driver' => 'monolog', + 'level' => 'debug', + 'handler' => SyslogUdpHandler::class, 'handler_with' => [ 'host' => env('PAPERTRAIL_URL'), 'port' => env('PAPERTRAIL_PORT'), @@ -72,26 +72,26 @@ return [ ], 'stderr' => [ - 'driver' => 'monolog', - 'handler' => StreamHandler::class, + 'driver' => 'monolog', + 'handler' => StreamHandler::class, 'formatter' => env('LOG_STDERR_FORMATTER'), - 'with' => [ + 'with' => [ 'stream' => 'php://stderr', ], ], 'syslog' => [ 'driver' => 'syslog', - 'level' => 'debug', + 'level' => 'debug', ], 'errorlog' => [ 'driver' => 'errorlog', - 'level' => 'debug', + 'level' => 'debug', ], 'null' => [ - 'driver' => 'monolog', + 'driver' => 'monolog', 'handler' => NullHandler::class, ], diff --git a/config/mail.php b/config/mail.php index 3b35951a..aa1bf19a 100644 --- a/config/mail.php +++ b/config/mail.php @@ -56,7 +56,7 @@ return [ 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), - 'name' => env('MAIL_FROM_NAME', 'Example'), + 'name' => env('MAIL_FROM_NAME', 'Example'), ], /* diff --git a/config/queue.php b/config/queue.php index 9ace2b27..a36e3c58 100644 --- a/config/queue.php +++ b/config/queue.php @@ -33,35 +33,35 @@ return [ ], 'database' => [ - 'driver' => 'database', - 'table' => 'jobs', - 'queue' => 'default', + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', 'retry_after' => 90, ], 'beanstalkd' => [ - 'driver' => 'beanstalkd', - 'host' => 'localhost', - 'queue' => 'default', + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', 'retry_after' => 90, - 'block_for' => 0, + 'block_for' => 0, ], 'sqs' => [ 'driver' => 'sqs', - 'key' => env('AWS_ACCESS_KEY_ID'), + 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), - 'queue' => env('SQS_QUEUE', 'your-queue-name'), + 'queue' => env('SQS_QUEUE', 'your-queue-name'), 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), ], 'redis' => [ - 'driver' => 'redis', - 'connection' => 'default', - 'queue' => env('REDIS_QUEUE', 'default'), + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), 'retry_after' => 90, - 'block_for' => null, + 'block_for' => null, ], ], @@ -77,8 +77,8 @@ return [ */ 'failed' => [ - 'driver' => env('QUEUE_FAILED_DRIVER', 'database'), + 'driver' => env('QUEUE_FAILED_DRIVER', 'database'), 'database' => env('DB_CONNECTION', 'mysql'), - 'table' => 'failed_jobs', + 'table' => 'failed_jobs', ], ]; diff --git a/config/scout.php b/config/scout.php index 7e5ee38d..b9f4c66c 100644 --- a/config/scout.php +++ b/config/scout.php @@ -54,7 +54,7 @@ return [ */ 'chunk' => [ - 'searchable' => 500, + 'searchable' => 500, 'unsearchable' => 500, ], @@ -83,19 +83,19 @@ return [ */ 'algolia' => [ - 'id' => env('ALGOLIA_APP_ID', ''), + 'id' => env('ALGOLIA_APP_ID', ''), 'secret' => env('ALGOLIA_SECRET', ''), ], 'tntsearch' => [ - 'storage' => storage_path(), //place where the index files will be stored + 'storage' => storage_path(), //place where the index files will be stored 'fuzziness' => env('TNTSEARCH_FUZZINESS', true), - 'fuzzy' => [ - 'prefix_length' => 2, + 'fuzzy' => [ + 'prefix_length' => 2, 'max_expansions' => 500, - 'distance' => 3, + 'distance' => 3, ], - 'asYouType' => true, + 'asYouType' => true, 'searchBoolean' => env('TNTSEARCH_BOOLEAN', true), ], ]; diff --git a/config/services.php b/config/services.php index bdda935e..120d6d5c 100644 --- a/config/services.php +++ b/config/services.php @@ -14,8 +14,8 @@ return [ */ 'mailgun' => [ - 'domain' => env('MAILGUN_DOMAIN'), - 'secret' => env('MAILGUN_SECRET'), + 'domain' => env('MAILGUN_DOMAIN'), + 'secret' => env('MAILGUN_SECRET'), 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), ], @@ -24,13 +24,13 @@ return [ ], 'ses' => [ - 'key' => env('AWS_ACCESS_KEY_ID'), + 'key' => env('AWS_ACCESS_KEY_ID'), 'secret' => env('AWS_SECRET_ACCESS_KEY'), 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), ], 'passport' => [ - 'client_id' => env('PASSPORT_CLIENT_ID'), + 'client_id' => env('PASSPORT_CLIENT_ID'), 'client_secret' => env('PASSPORT_CLIENT_SECRET'), ], ];