Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Back-end_Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Agendador
Back-end_Server
Commits
f90975d5
Commit
f90975d5
authored
Aug 01, 2018
by
Matheus Horstmann
🐴
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request
!76
parents
714521ee
eb419e93
Pipeline
#16956
passed with stages
in 1 minute and 15 seconds
Changes
212
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
212 changed files
with
3180 additions
and
0 deletions
+3180
-0
app/channels/application_cable/channel.rb
app/channels/application_cable/channel.rb
+15
-0
app/channels/application_cable/connection.rb
app/channels/application_cable/connection.rb
+15
-0
app/controllers/api/v1/accounts/passwords_controller.rb
app/controllers/api/v1/accounts/passwords_controller.rb
+15
-0
app/controllers/api/v1/accounts/registrations_controller.rb
app/controllers/api/v1/accounts/registrations_controller.rb
+15
-0
app/controllers/api/v1/accounts/sessions_controller.rb
app/controllers/api/v1/accounts/sessions_controller.rb
+15
-0
app/controllers/api/v1/accounts_controller.rb
app/controllers/api/v1/accounts_controller.rb
+15
-0
app/controllers/api/v1/cep_controller.rb
app/controllers/api/v1/cep_controller.rb
+15
-0
app/controllers/api/v1/citizen_uploads_controller.rb
app/controllers/api/v1/citizen_uploads_controller.rb
+15
-0
app/controllers/api/v1/citizens_controller.rb
app/controllers/api/v1/citizens_controller.rb
+15
-0
app/controllers/api/v1/city_halls_controller.rb
app/controllers/api/v1/city_halls_controller.rb
+15
-0
app/controllers/api/v1/dependants_controller.rb
app/controllers/api/v1/dependants_controller.rb
+15
-0
app/controllers/api/v1/forms_controller.rb
app/controllers/api/v1/forms_controller.rb
+15
-0
app/controllers/api/v1/notifications_controller.rb
app/controllers/api/v1/notifications_controller.rb
+15
-0
app/controllers/api/v1/occupations_controller.rb
app/controllers/api/v1/occupations_controller.rb
+15
-0
app/controllers/api/v1/professionals_controller.rb
app/controllers/api/v1/professionals_controller.rb
+15
-0
app/controllers/api/v1/resource_bookings_controller.rb
app/controllers/api/v1/resource_bookings_controller.rb
+15
-0
app/controllers/api/v1/resource_shifts_controller.rb
app/controllers/api/v1/resource_shifts_controller.rb
+15
-0
app/controllers/api/v1/resource_types_controller.rb
app/controllers/api/v1/resource_types_controller.rb
+15
-0
app/controllers/api/v1/resources_controller.rb
app/controllers/api/v1/resources_controller.rb
+15
-0
app/controllers/api/v1/schedules_controller.rb
app/controllers/api/v1/schedules_controller.rb
+15
-0
app/controllers/api/v1/sectors_controller.rb
app/controllers/api/v1/sectors_controller.rb
+15
-0
app/controllers/api/v1/service_places_controller.rb
app/controllers/api/v1/service_places_controller.rb
+15
-0
app/controllers/api/v1/service_types_controller.rb
app/controllers/api/v1/service_types_controller.rb
+15
-0
app/controllers/api/v1/shifts_controller.rb
app/controllers/api/v1/shifts_controller.rb
+15
-0
app/controllers/api/v1/solicitations_controller.rb
app/controllers/api/v1/solicitations_controller.rb
+15
-0
app/controllers/application_controller.rb
app/controllers/application_controller.rb
+15
-0
app/controllers/concerns/authenticable.rb
app/controllers/concerns/authenticable.rb
+15
-0
app/controllers/concerns/has_policies.rb
app/controllers/concerns/has_policies.rb
+15
-0
app/jobs/application_job.rb
app/jobs/application_job.rb
+15
-0
app/mailers/application_mailer.rb
app/mailers/application_mailer.rb
+15
-0
app/models/account.rb
app/models/account.rb
+15
-0
app/models/address.rb
app/models/address.rb
+15
-0
app/models/application_record.rb
app/models/application_record.rb
+15
-0
app/models/block.rb
app/models/block.rb
+15
-0
app/models/citizen.rb
app/models/citizen.rb
+15
-0
app/models/citizen_upload.rb
app/models/citizen_upload.rb
+15
-0
app/models/city.rb
app/models/city.rb
+15
-0
app/models/city_hall.rb
app/models/city_hall.rb
+15
-0
app/models/concerns/searchable.rb
app/models/concerns/searchable.rb
+15
-0
app/models/dependant.rb
app/models/dependant.rb
+15
-0
app/models/notification.rb
app/models/notification.rb
+15
-0
app/models/occupation.rb
app/models/occupation.rb
+15
-0
app/models/professional.rb
app/models/professional.rb
+15
-0
app/models/professionals_service_place.rb
app/models/professionals_service_place.rb
+15
-0
app/models/resource.rb
app/models/resource.rb
+15
-0
app/models/resource_booking.rb
app/models/resource_booking.rb
+15
-0
app/models/resource_shift.rb
app/models/resource_shift.rb
+15
-0
app/models/resource_type.rb
app/models/resource_type.rb
+15
-0
app/models/schedule.rb
app/models/schedule.rb
+15
-0
app/models/sector.rb
app/models/sector.rb
+15
-0
app/models/service_place.rb
app/models/service_place.rb
+15
-0
app/models/service_type.rb
app/models/service_type.rb
+15
-0
app/models/service_types_service_place.rb
app/models/service_types_service_place.rb
+15
-0
app/models/shift.rb
app/models/shift.rb
+15
-0
app/models/situation.rb
app/models/situation.rb
+15
-0
app/models/solicitation.rb
app/models/solicitation.rb
+15
-0
app/models/state.rb
app/models/state.rb
+15
-0
app/policies/application_policy.rb
app/policies/application_policy.rb
+15
-0
app/policies/citizen_policy.rb
app/policies/citizen_policy.rb
+15
-0
app/policies/citizen_upload_policy.rb
app/policies/citizen_upload_policy.rb
+15
-0
app/policies/city_hall_policy.rb
app/policies/city_hall_policy.rb
+15
-0
app/policies/dependant_policy.rb
app/policies/dependant_policy.rb
+15
-0
app/policies/notification_policy.rb
app/policies/notification_policy.rb
+15
-0
app/policies/occupation_policy.rb
app/policies/occupation_policy.rb
+15
-0
app/policies/professional_policy.rb
app/policies/professional_policy.rb
+15
-0
app/policies/professionals_service_place_policy.rb
app/policies/professionals_service_place_policy.rb
+15
-0
app/policies/resource_booking_policy.rb
app/policies/resource_booking_policy.rb
+15
-0
app/policies/resource_policy.rb
app/policies/resource_policy.rb
+15
-0
app/policies/resource_shift_policy.rb
app/policies/resource_shift_policy.rb
+15
-0
app/policies/resource_type_policy.rb
app/policies/resource_type_policy.rb
+15
-0
app/policies/schedule_policy.rb
app/policies/schedule_policy.rb
+15
-0
app/policies/sector_policy.rb
app/policies/sector_policy.rb
+15
-0
app/policies/service_place_policy.rb
app/policies/service_place_policy.rb
+15
-0
app/policies/service_type_policy.rb
app/policies/service_type_policy.rb
+15
-0
app/policies/shift_policy.rb
app/policies/shift_policy.rb
+15
-0
app/policies/solicitation_policy.rb
app/policies/solicitation_policy.rb
+15
-0
app/serializers/account_serializer.rb
app/serializers/account_serializer.rb
+15
-0
app/serializers/citizen_serializer.rb
app/serializers/citizen_serializer.rb
+15
-0
app/serializers/citizen_upload_serializer.rb
app/serializers/citizen_upload_serializer.rb
+15
-0
app/serializers/city_hall_serializer.rb
app/serializers/city_hall_serializer.rb
+15
-0
app/serializers/dependant_serializer.rb
app/serializers/dependant_serializer.rb
+15
-0
app/serializers/occupation_serializer.rb
app/serializers/occupation_serializer.rb
+15
-0
app/serializers/professional_serializer.rb
app/serializers/professional_serializer.rb
+15
-0
app/serializers/schedule_serializer.rb
app/serializers/schedule_serializer.rb
+15
-0
app/serializers/sector_serializer.rb
app/serializers/sector_serializer.rb
+15
-0
app/serializers/service_place_serializer.rb
app/serializers/service_place_serializer.rb
+15
-0
app/serializers/service_type_serializer.rb
app/serializers/service_type_serializer.rb
+15
-0
app/serializers/shift_serializer.rb
app/serializers/shift_serializer.rb
+15
-0
app/serializers/solicitation_serializer.rb
app/serializers/solicitation_serializer.rb
+15
-0
app/validators/cep_validator.rb
app/validators/cep_validator.rb
+15
-0
app/validators/cpf_validator.rb
app/validators/cpf_validator.rb
+15
-0
app/validators/email_validator.rb
app/validators/email_validator.rb
+15
-0
app/workers/citizen_upload_worker.rb
app/workers/citizen_upload_worker.rb
+15
-0
config/application.rb
config/application.rb
+15
-0
config/boot.rb
config/boot.rb
+15
-0
config/environment.rb
config/environment.rb
+15
-0
config/environments/development.rb
config/environments/development.rb
+15
-0
config/environments/production.rb
config/environments/production.rb
+15
-0
config/environments/test.rb
config/environments/test.rb
+15
-0
config/initializers/application_controller_renderer.rb
config/initializers/application_controller_renderer.rb
+15
-0
config/initializers/backtrace_silencers.rb
config/initializers/backtrace_silencers.rb
+15
-0
config/initializers/cors.rb
config/initializers/cors.rb
+15
-0
config/initializers/devise.rb
config/initializers/devise.rb
+15
-0
config/initializers/devise_token_auth.rb
config/initializers/devise_token_auth.rb
+15
-0
config/initializers/filter_parameter_logging.rb
config/initializers/filter_parameter_logging.rb
+15
-0
config/initializers/inflections.rb
config/initializers/inflections.rb
+15
-0
config/initializers/mime_types.rb
config/initializers/mime_types.rb
+15
-0
config/initializers/new_framework_defaults.rb
config/initializers/new_framework_defaults.rb
+15
-0
config/initializers/rack_attack.rb
config/initializers/rack_attack.rb
+15
-0
config/initializers/sidekiq.rb
config/initializers/sidekiq.rb
+15
-0
config/initializers/wrap_parameters.rb
config/initializers/wrap_parameters.rb
+15
-0
config/puma.rb
config/puma.rb
+15
-0
config/routes.rb
config/routes.rb
+15
-0
config/spring.rb
config/spring.rb
+15
-0
db/migrate/20160803133334_devise_token_auth_create_accounts.rb
...grate/20160803133334_devise_token_auth_create_accounts.rb
+15
-0
db/migrate/20160803144033_create_citizens.rb
db/migrate/20160803144033_create_citizens.rb
+15
-0
db/migrate/20160809125232_add_account_to_citizens.rb
db/migrate/20160809125232_add_account_to_citizens.rb
+15
-0
db/migrate/20160812124055_create_professionals.rb
db/migrate/20160812124055_create_professionals.rb
+15
-0
db/migrate/20160818123919_add_active_to_citizens.rb
db/migrate/20160818123919_add_active_to_citizens.rb
+15
-0
db/migrate/20160822124631_create_service_places.rb
db/migrate/20160822124631_create_service_places.rb
+15
-0
db/migrate/20160822134410_create_join_table_professionals_service_places.rb
...2134410_create_join_table_professionals_service_places.rb
+15
-0
db/migrate/20160822135108_create_join_table_accounts_service_places.rb
...160822135108_create_join_table_accounts_service_places.rb
+15
-0
db/migrate/20160823123303_create_city_halls.rb
db/migrate/20160823123303_create_city_halls.rb
+15
-0
db/migrate/20160825133141_create_cities.rb
db/migrate/20160825133141_create_cities.rb
+15
-0
db/migrate/20160825140024_remove_city_id_from_city_hall.rb
db/migrate/20160825140024_remove_city_id_from_city_hall.rb
+15
-0
db/migrate/20160825140218_add_city_ref_to_city_hall.rb
db/migrate/20160825140218_add_city_ref_to_city_hall.rb
+15
-0
db/migrate/20160826130950_create_states.rb
db/migrate/20160826130950_create_states.rb
+15
-0
db/migrate/20160826131632_add_state_ref_to_city.rb
db/migrate/20160826131632_add_state_ref_to_city.rb
+15
-0
db/migrate/20160901141211_add_city_hall_to_service_places.rb
db/migrate/20160901141211_add_city_hall_to_service_places.rb
+15
-0
db/migrate/20160902124307_create_dependants.rb
db/migrate/20160902124307_create_dependants.rb
+15
-0
db/migrate/20160905143742_create_occupations.rb
db/migrate/20160905143742_create_occupations.rb
+15
-0
db/migrate/20160906123049_add_occupation_ref_to_professionals.rb
...ate/20160906123049_add_occupation_ref_to_professionals.rb
+15
-0
db/migrate/20160906132441_create_blocks.rb
db/migrate/20160906132441_create_blocks.rb
+15
-0
db/migrate/20160912141209_create_sectors.rb
db/migrate/20160912141209_create_sectors.rb
+15
-0
db/migrate/20160912142006_add_sector_to_blocks.rb
db/migrate/20160912142006_add_sector_to_blocks.rb
+15
-0
db/migrate/20160920125121_create_service_types.rb
db/migrate/20160920125121_create_service_types.rb
+15
-0
db/migrate/20160926131226_create_join_table_service_types_service_places.rb
...6131226_create_join_table_service_types_service_places.rb
+15
-0
db/migrate/20160926141040_create_shifts.rb
db/migrate/20160926141040_create_shifts.rb
+15
-0
db/migrate/20160927132109_create_situations.rb
db/migrate/20160927132109_create_situations.rb
+15
-0
db/migrate/20160927133229_create_schedules.rb
db/migrate/20160927133229_create_schedules.rb
+15
-0
db/migrate/20160928124646_create_solicitations.rb
db/migrate/20160928124646_create_solicitations.rb
+15
-0
db/migrate/20161005141323_add_city_to_citizens.rb
db/migrate/20161005141323_add_city_to_citizens.rb
+15
-0
db/migrate/20161007130605_add_responsible_to_citizens.rb
db/migrate/20161007130605_add_responsible_to_citizens.rb
+15
-0
db/migrate/20161208132527_create_addresses.rb
db/migrate/20161208132527_create_addresses.rb
+15
-0
db/migrate/20161208133948_add_details_to_addresses.rb
db/migrate/20161208133948_add_details_to_addresses.rb
+15
-0
db/migrate/20170322134221_add_attachment_avatar_to_citizens.rb
...grate/20170322134221_add_attachment_avatar_to_citizens.rb
+15
-0
db/migrate/20170731125057_add_city_ref_to_service_places.rb
db/migrate/20170731125057_add_city_ref_to_service_places.rb
+15
-0
db/migrate/20170816124750_add_id_to_professionals_service_place.rb
...e/20170816124750_add_id_to_professionals_service_place.rb
+15
-0
db/migrate/20171108094538_create_notifications.rb
db/migrate/20171108094538_create_notifications.rb
+15
-0
db/migrate/20171109131440_create_resources.rb
db/migrate/20171109131440_create_resources.rb
+15
-0
db/migrate/20171109132016_create_resource_types.rb
db/migrate/20171109132016_create_resource_types.rb
+15
-0
db/migrate/20171109133501_create_resource_shifts.rb
db/migrate/20171109133501_create_resource_shifts.rb
+15
-0
db/migrate/20171109134344_create_resource_bookings.rb
db/migrate/20171109134344_create_resource_bookings.rb
+15
-0
db/migrate/20180410123959_create_citizen_uploads.rb
db/migrate/20180410123959_create_citizen_uploads.rb
+15
-0
db/migrate/20180412131725_add_columns_to_citizen_upload.rb
db/migrate/20180412131725_add_columns_to_citizen_upload.rb
+15
-0
db/migrate/20180413130918_add_attachment_log_to_citizen_uploads.rb
...e/20180413130918_add_attachment_log_to_citizen_uploads.rb
+15
-0
db/migrate/20180511112959_add_attachment_avatar_to_city_halls.rb
...ate/20180511112959_add_attachment_avatar_to_city_halls.rb
+15
-0
db/seeds.rb
db/seeds.rb
+15
-0
lib/cep_finder.rb
lib/cep_finder.rb
+15
-0
lib/image_parser.rb
lib/image_parser.rb
+15
-0
test/controllers/accounts/registrations_controller_test.rb
test/controllers/accounts/registrations_controller_test.rb
+15
-0
test/controllers/accounts/sessions_controller_test.rb
test/controllers/accounts/sessions_controller_test.rb
+15
-0
test/controllers/api/v1/notifications_controller_test.rb
test/controllers/api/v1/notifications_controller_test.rb
+15
-0
test/controllers/api/v1/resource_bookings_controller_test.rb
test/controllers/api/v1/resource_bookings_controller_test.rb
+15
-0
test/controllers/api/v1/resource_shifts_controller_test.rb
test/controllers/api/v1/resource_shifts_controller_test.rb
+15
-0
test/controllers/api/v1/resource_types_controller_test.rb
test/controllers/api/v1/resource_types_controller_test.rb
+15
-0
test/controllers/api/v1/resources_controller_test.rb
test/controllers/api/v1/resources_controller_test.rb
+15
-0
test/controllers/cep_controller_test.rb
test/controllers/cep_controller_test.rb
+15
-0
test/controllers/citizens_controller_test.rb
test/controllers/citizens_controller_test.rb
+15
-0
test/controllers/city_halls_controller_test.rb
test/controllers/city_halls_controller_test.rb
+15
-0
test/controllers/dependants_controller_test.rb
test/controllers/dependants_controller_test.rb
+15
-0
test/controllers/occupations_controller_test.rb
test/controllers/occupations_controller_test.rb
+15
-0
test/controllers/professionals_controller_test.rb
test/controllers/professionals_controller_test.rb
+15
-0
test/controllers/schedules_controller_test.rb
test/controllers/schedules_controller_test.rb
+15
-0
test/controllers/sectors_controller_test.rb
test/controllers/sectors_controller_test.rb
+15
-0
test/controllers/service_places_controller_test.rb
test/controllers/service_places_controller_test.rb
+15
-0
test/controllers/service_types_controller_test.rb
test/controllers/service_types_controller_test.rb
+15
-0
test/controllers/shifts_controller_test.rb
test/controllers/shifts_controller_test.rb
+15
-0
test/controllers/solicitations_controller_test.rb
test/controllers/solicitations_controller_test.rb
+15
-0
test/models/address_test.rb
test/models/address_test.rb
+15
-0
test/models/citizen_test.rb
test/models/citizen_test.rb
+15
-0
test/models/citizen_upload_test.rb
test/models/citizen_upload_test.rb
+15
-0
test/models/city_hall_test.rb
test/models/city_hall_test.rb
+15
-0
test/models/city_test.rb
test/models/city_test.rb
+15
-0
test/models/dependant_test.rb
test/models/dependant_test.rb
+15
-0
test/models/notification_test.rb
test/models/notification_test.rb
+15
-0
test/models/occupation_test.rb
test/models/occupation_test.rb
+15
-0
test/models/professional_test.rb
test/models/professional_test.rb
+15
-0
test/models/resource_booking_test.rb
test/models/resource_booking_test.rb
+15
-0
test/models/resource_shift_test.rb
test/models/resource_shift_test.rb
+15
-0
test/models/resource_test.rb
test/models/resource_test.rb
+15
-0
test/models/resource_type_test.rb
test/models/resource_type_test.rb
+15
-0
test/models/schedule_test.rb
test/models/schedule_test.rb
+15
-0
test/models/sector_test.rb
test/models/sector_test.rb
+15
-0
test/models/service_place_test.rb
test/models/service_place_test.rb
+15
-0
test/models/service_type_test.rb
test/models/service_type_test.rb
+15
-0
test/models/shift_test.rb
test/models/shift_test.rb
+15
-0
test/models/solicitation_test.rb
test/models/solicitation_test.rb
+15
-0
test/models/state_test.rb
test/models/state_test.rb
+15
-0
test/policies/citizen_policy_test.rb
test/policies/citizen_policy_test.rb
+15
-0
test/policies/city_hall_policy_test.rb
test/policies/city_hall_policy_test.rb
+15
-0
test/policies/dependant_policy_test.rb
test/policies/dependant_policy_test.rb
+15
-0
test/policies/occupation_policy_test.rb
test/policies/occupation_policy_test.rb
+15
-0
test/policies/professional_policy_test.rb
test/policies/professional_policy_test.rb
+15
-0
test/policies/schedule_policy_test.rb
test/policies/schedule_policy_test.rb
+15
-0
test/policies/sector_policy_test.rb
test/policies/sector_policy_test.rb
+15
-0
test/policies/service_place_policy_test.rb
test/policies/service_place_policy_test.rb
+15
-0
test/policies/service_type_policy_test.rb
test/policies/service_type_policy_test.rb
+15
-0
test/policies/shift_policy_test.rb
test/policies/shift_policy_test.rb
+15
-0
test/policies/solicitation_policy_test.rb
test/policies/solicitation_policy_test.rb
+15
-0
test/test_helper.rb
test/test_helper.rb
+15
-0
test/workers/citizen_upload_worker_test.rb
test/workers/citizen_upload_worker_test.rb
+15
-0
No files found.
app/channels/application_cable/channel.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
ApplicationCable
class
Channel
<
ActionCable
::
Channel
::
Base
end
...
...
app/channels/application_cable/connection.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
ApplicationCable
class
Connection
<
ActionCable
::
Connection
::
Base
end
...
...
app/controllers/api/v1/accounts/passwords_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
Accounts::PasswordsController
<
DeviseTokenAuth
::
PasswordsController
...
...
app/controllers/api/v1/accounts/registrations_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
Accounts::RegistrationsController
<
DeviseTokenAuth
::
RegistrationsController
require
"
#{
Rails
.
root
}
/lib/image_parser.rb"
...
...
app/controllers/api/v1/accounts/sessions_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
Accounts::SessionsController
<
DeviseTokenAuth
::
SessionsController
...
...
app/controllers/api/v1/accounts_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
AccountsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/cep_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
CepController
<
ApplicationController
...
...
app/controllers/api/v1/citizen_uploads_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
CitizenUploadsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/citizens_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
CitizensController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/city_halls_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
CityHallsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/dependants_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
DependantsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/forms_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
FormsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/notifications_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
NotificationsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/occupations_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
OccupationsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/professionals_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
ProfessionalsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/resource_bookings_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
ResourceBookingsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/resource_shifts_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
ResourceShiftsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/resource_types_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
ResourceTypesController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/resources_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
ResourcesController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/schedules_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
SchedulesController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/sectors_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
SectorsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/service_places_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
ServicePlacesController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/service_types_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
ServiceTypesController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/shifts_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
ShiftsController
<
ApplicationController
include
Authenticable
...
...
app/controllers/api/v1/solicitations_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Api::V1
class
SolicitationsController
<
ApplicationController
...
...
app/controllers/application_controller.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
class
ApplicationController
<
ActionController
::
API
include
DeviseTokenAuth
::
Concerns
::
SetUserByToken
include
ActionController
::
Serialization
...
...
app/controllers/concerns/authenticable.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
Authenticable
extend
ActiveSupport
::
Concern
...
...
app/controllers/concerns/has_policies.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Agendador is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Agendador. If not, see <https://www.gnu.org/licenses/>.
module
HasPolicies
extend
ActiveSupport
::
Concern
...
...
app/jobs/application_job.rb
View file @
f90975d5
# This file is part of Agendador.
#
# Agendador is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#