mirror of https://github.com/docusealco/docuseal
				
				
				
			
						commit
						8ef574347e
					
				| @ -0,0 +1,58 @@ | ||||
| --- | ||||
| :position: before | ||||
| :position_in_additional_file_patterns: before | ||||
| :position_in_class: before | ||||
| :position_in_factory: before | ||||
| :position_in_fixture: before | ||||
| :position_in_routes: before | ||||
| :position_in_serializer: before | ||||
| :position_in_test: before | ||||
| :classified_sort: true | ||||
| :exclude_controllers: true | ||||
| :exclude_factories: true | ||||
| :exclude_fixtures: false | ||||
| :exclude_helpers: true | ||||
| :exclude_scaffolds: true | ||||
| :exclude_serializers: false | ||||
| :exclude_sti_subclasses: false | ||||
| :exclude_tests: false | ||||
| :force: false | ||||
| :format_markdown: false | ||||
| :format_rdoc: false | ||||
| :format_yard: false | ||||
| :frozen: false | ||||
| :ignore_model_sub_dir: false | ||||
| :ignore_unknown_models: false | ||||
| :include_version: false | ||||
| :show_check_constraints: false | ||||
| :show_complete_foreign_keys: false | ||||
| :show_foreign_keys: true | ||||
| :show_indexes: true | ||||
| :simple_indexes: false | ||||
| :sort: false | ||||
| :timestamp: false | ||||
| :trace: false | ||||
| :with_comment: true | ||||
| :with_column_comments: true | ||||
| :with_table_comments: true | ||||
| :active_admin: false | ||||
| :command: | ||||
| :debug: false | ||||
| :hide_default_column_types: '' | ||||
| :hide_limit_column_types: '' | ||||
| :ignore_columns: | ||||
| :ignore_routes: | ||||
| :models: true | ||||
| :routes: false | ||||
| :skip_on_db_migrate: false | ||||
| :target_action: :do_annotations | ||||
| :wrapper: | ||||
| :wrapper_close: | ||||
| :wrapper_open: | ||||
| :classes_default_to_s: [] | ||||
| :additional_file_patterns: [] | ||||
| :model_dir: | ||||
| - app/models | ||||
| :require: [] | ||||
| :root_dir: | ||||
| - '' | ||||
| @ -0,0 +1,8 @@ | ||||
| { | ||||
|   "ignored_warnings": [ | ||||
|     { | ||||
|       "fingerprint": "25f4ce5fee1e1180fa1919dc4ee78db3ab3457a956e4679503aa745771a43836", | ||||
|       "note": "Permitted parameters are necessary for creating submitters via API" | ||||
|     } | ||||
|   ] | ||||
| } | ||||
| @ -0,0 +1,37 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class CreateConsole1984Tables < ActiveRecord::Migration[7.0] | ||||
|   def change | ||||
|     create_table :console1984_sessions do |t| | ||||
|       t.text :reason | ||||
|       t.references :user, null: false, index: false | ||||
|       t.timestamps | ||||
| 
 | ||||
|       t.index :created_at | ||||
|       t.index %i[user_id created_at] | ||||
|     end | ||||
| 
 | ||||
|     create_table :console1984_users do |t| | ||||
|       t.string :username, null: false | ||||
|       t.timestamps | ||||
| 
 | ||||
|       t.index [:username] | ||||
|     end | ||||
| 
 | ||||
|     create_table :console1984_commands do |t| | ||||
|       t.text :statements | ||||
|       t.references :sensitive_access | ||||
|       t.references :session, null: false, index: false | ||||
|       t.timestamps | ||||
| 
 | ||||
|       t.index %i[session_id created_at sensitive_access_id], name: 'on_session_and_sensitive_chronologically' | ||||
|     end | ||||
| 
 | ||||
|     create_table :console1984_sensitive_accesses do |t| | ||||
|       t.text :justification | ||||
|       t.references :session, null: false | ||||
| 
 | ||||
|       t.timestamps | ||||
|     end | ||||
|   end | ||||
| end | ||||
| @ -0,0 +1,10 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # This rake task was added by annotate_rb gem. | ||||
| 
 | ||||
| # Can set `ANNOTATERB_SKIP_ON_DB_TASKS` to be anything to skip this | ||||
| if Rails.env.development? && ENV['ANNOTATERB_SKIP_ON_DB_TASKS'].nil? | ||||
|   require 'annotate_rb' | ||||
| 
 | ||||
|   AnnotateRb::Core.load_rake_tasks | ||||
| end | ||||
| @ -1,57 +0,0 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| if Rails.env.development? | ||||
|   require 'annotate' | ||||
| 
 | ||||
|   task set_annotation_options: :environment do | ||||
|     Annotate.set_defaults( | ||||
|       'active_admin' => 'false', | ||||
|       'additional_file_patterns' => [], | ||||
|       'routes' => 'false', | ||||
|       'models' => 'true', | ||||
|       'position_in_routes' => 'before', | ||||
|       'position_in_class' => 'before', | ||||
|       'position_in_test' => 'before', | ||||
|       'position_in_fixture' => 'before', | ||||
|       'position_in_factory' => 'before', | ||||
|       'position_in_serializer' => 'before', | ||||
|       'show_foreign_keys' => 'true', | ||||
|       'show_complete_foreign_keys' => 'false', | ||||
|       'show_indexes' => 'true', | ||||
|       'simple_indexes' => 'false', | ||||
|       'model_dir' => 'app/models', | ||||
|       'root_dir' => '', | ||||
|       'include_version' => 'false', | ||||
|       'require' => '', | ||||
|       'exclude_tests' => 'true', | ||||
|       'exclude_fixtures' => 'true', | ||||
|       'exclude_factories' => 'true', | ||||
|       'exclude_serializers' => 'false', | ||||
|       'exclude_scaffolds' => 'true', | ||||
|       'exclude_controllers' => 'true', | ||||
|       'exclude_helpers' => 'true', | ||||
|       'exclude_sti_subclasses' => 'false', | ||||
|       'ignore_model_sub_dir' => 'false', | ||||
|       'ignore_columns' => nil, | ||||
|       'ignore_routes' => nil, | ||||
|       'ignore_unknown_models' => 'false', | ||||
|       'hide_limit_column_types' => 'integer,bigint,boolean', | ||||
|       'hide_default_column_types' => 'json,jsonb,hstore', | ||||
|       'skip_on_db_migrate' => 'false', | ||||
|       'format_bare' => 'true', | ||||
|       'format_rdoc' => 'false', | ||||
|       'format_yard' => 'false', | ||||
|       'format_markdown' => 'false', | ||||
|       'sort' => 'false', | ||||
|       'force' => 'false', | ||||
|       'frozen' => 'false', | ||||
|       'classified_sort' => 'true', | ||||
|       'trace' => 'false', | ||||
|       'wrapper_open' => nil, | ||||
|       'wrapper_close' => nil, | ||||
|       'with_comment' => 'true' | ||||
|     ) | ||||
|   end | ||||
| 
 | ||||
|   Annotate.load_tasks | ||||
| end | ||||
					Loading…
					
					
				
		Reference in new issue