├── .diesel_version ├── services ├── common-api │ ├── log │ │ └── .keep │ ├── tmp │ │ └── .keep │ ├── vendor │ │ ├── .keep │ │ └── gems │ │ │ └── common_models │ │ │ ├── .rspec │ │ │ ├── lib │ │ │ └── common_models │ │ │ │ └── version.rb │ │ │ ├── .travis.yml │ │ │ ├── Rakefile │ │ │ ├── spec │ │ │ └── common_models_spec.rb │ │ │ └── bin │ │ │ └── setup │ ├── .ruby-version │ ├── lib │ │ └── tasks │ │ │ └── .keep │ ├── app │ │ ├── models │ │ │ └── concerns │ │ │ │ └── .keep │ │ ├── controllers │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ └── application_controller.rb │ │ ├── jobs │ │ │ └── application_job.rb │ │ └── channels │ │ │ └── application_cable │ │ │ ├── channel.rb │ │ │ └── connection.rb │ ├── .rspec │ ├── .tool-versions │ ├── config │ │ ├── routes │ │ │ └── api_v1.rb │ │ ├── spring.rb │ │ └── environment.rb │ ├── public │ │ └── robots.txt │ ├── bin │ │ └── bundle │ ├── .circleci │ │ └── setup-heroku.sh │ └── config.ru ├── catarse │ ├── lib │ │ └── tasks │ │ │ └── .gitkeep │ ├── public │ │ ├── favicon.ico │ │ ├── i64PM_BoYTk8BeFsz89efg--.html │ │ ├── user.png │ │ └── fonts │ │ │ ├── ProximaNova-Bold.woff │ │ │ ├── ProximaNova-Bold.woff2 │ │ │ ├── ProximaNova-Light.woff │ │ │ ├── ProximaNova-Light.woff2 │ │ │ ├── ProximaNova-Regular.woff │ │ │ ├── ProximaNova-Regular.woff2 │ │ │ ├── ProximaNova-Semibold.woff │ │ │ └── ProximaNova-Semibold.woff2 │ ├── .python-version │ ├── .ruby-gemset │ ├── .ruby-version │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ ├── .gitkeep │ │ │ │ ├── logo.png │ │ │ │ ├── user.png │ │ │ │ ├── aon-badge.png │ │ │ │ ├── delete_16.png │ │ │ │ ├── dropdown.png │ │ │ │ ├── favicon.ico │ │ │ │ ├── gravatar.png │ │ │ │ ├── hero-2015.png │ │ │ │ ├── hero-home.jpg │ │ │ │ ├── hero-jobs.jpg │ │ │ │ ├── icon-blog.png │ │ │ │ ├── icon-jobs.png │ │ │ │ ├── icon-lab.png │ │ │ │ ├── loading.gif │ │ │ │ ├── logo-flex.png │ │ │ │ ├── logo_pix.png │ │ │ │ ├── news-img.jpg │ │ │ │ ├── pencil_16.png │ │ │ │ ├── tick_16.png │ │ │ │ ├── tick_32.png │ │ │ │ ├── flex-badge.png │ │ │ │ ├── hero-assets.jpg │ │ │ │ ├── hero-guide.jpg │ │ │ │ ├── hero-hello.jpg │ │ │ │ ├── icon-assets.png │ │ │ │ ├── icon-fincol.png │ │ │ │ ├── icon-finish.png │ │ │ │ ├── icon-guides.png │ │ │ │ ├── icon-start.png │ │ │ │ ├── list_cards.jpg │ │ │ │ ├── logo-footer.png │ │ │ │ ├── logo-white.png │ │ │ │ ├── logo-yellow.png │ │ │ │ ├── selo-verde.png │ │ │ │ ├── start-apoio.gif │ │ │ │ ├── start-more.jpg │ │ │ │ ├── bg-hello-user.jpg │ │ │ │ ├── bg-hero-flex.png │ │ │ │ ├── bg-hero-start.jpg │ │ │ │ ├── bg-hero-start.png │ │ │ │ ├── bg-quemsomos.jpg │ │ │ │ ├── catarse │ │ │ │ │ ├── bg_s3.png │ │ │ │ │ ├── gift.png │ │ │ │ │ ├── logo.png │ │ │ │ │ ├── cc_icon.png │ │ │ │ │ ├── flagCity.png │ │ │ │ │ ├── flagName.png │ │ │ │ │ ├── icon-fb.png │ │ │ │ │ ├── icon-tw.png │ │ │ │ │ ├── icon_faq.png │ │ │ │ │ ├── icon_new.png │ │ │ │ │ ├── icon_tag.png │ │ │ │ │ ├── icon_url.png │ │ │ │ │ ├── logo-fb.jpg │ │ │ │ │ ├── tick_16.png │ │ │ │ │ ├── boleto_icon.png │ │ │ │ │ ├── box_alert.png │ │ │ │ │ ├── button_send.png │ │ │ │ │ ├── delete_16.png │ │ │ │ │ ├── flagCityMg.png │ │ │ │ │ ├── flagCityPoa.png │ │ │ │ │ ├── flagCityRJ.png │ │ │ │ │ ├── flagNameMg.png │ │ │ │ │ ├── flagNamePoa.png │ │ │ │ │ ├── flagNameRJ.png │ │ │ │ │ ├── flagNameSP.png │ │ │ │ │ ├── gift-reward.png │ │ │ │ │ ├── icon_bold.png │ │ │ │ │ ├── icon_calc.png │ │ │ │ │ ├── icon_gift.png │ │ │ │ │ ├── icon_heart.png │ │ │ │ │ ├── icon_italic.png │ │ │ │ │ ├── icon_link.png │ │ │ │ │ ├── icon_liwork.png │ │ │ │ │ ├── icon_logo.png │ │ │ │ │ ├── icon_media.png │ │ │ │ │ ├── icon_social.png │ │ │ │ │ ├── icon_time.png │ │ │ │ │ ├── icon_video.png │ │ │ │ │ ├── icon_vimeo.png │ │ │ │ │ ├── label_green.png │ │ │ │ │ ├── moip-choice.png │ │ │ │ │ ├── pencil_16.png │ │ │ │ │ ├── reward_box.png │ │ │ │ │ ├── box_download.png │ │ │ │ │ ├── bullet-green.png │ │ │ │ │ ├── faq_icon18x18.png │ │ │ │ │ ├── icon_creative.png │ │ │ │ │ ├── icon_credits.png │ │ │ │ │ ├── icon_donation.png │ │ │ │ │ ├── icon_licosts.png │ │ │ │ │ ├── icon_limagic.png │ │ │ │ │ ├── icon_limoney.png │ │ │ │ │ ├── icon_linktext.png │ │ │ │ │ ├── icon_rewards.png │ │ │ │ │ ├── label_orange.png │ │ │ │ │ ├── min_star12x11.png │ │ │ │ │ ├── payment_cards.jpg │ │ │ │ │ ├── paypal-choice.png │ │ │ │ │ ├── project_about.png │ │ │ │ │ ├── social_icons.png │ │ │ │ │ ├── back_statistics.gif │ │ │ │ │ ├── blog_icon17x14.png │ │ │ │ │ ├── bot_guidelines.gif │ │ │ │ │ ├── bot_profileUser.png │ │ │ │ │ ├── button_explore.png │ │ │ │ │ ├── confirmed_icon.png │ │ │ │ │ ├── contribute_icons.png │ │ │ │ │ ├── contributed_icon.png │ │ │ │ │ ├── embed_icon19x9.png │ │ │ │ │ ├── goal_icon36x17.png │ │ │ │ │ ├── heart_icon17x14.png │ │ │ │ │ ├── icon_backerstep1.png │ │ │ │ │ ├── icon_backerstep2.png │ │ │ │ │ ├── icon_backerstep3.png │ │ │ │ │ ├── icon_backerstep4.png │ │ │ │ │ ├── icon_backerstep5.png │ │ │ │ │ ├── icon_backproject.png │ │ │ │ │ ├── icon_colective.png │ │ │ │ │ ├── icon_datestart.png │ │ │ │ │ ├── icon_guidebacker.png │ │ │ │ │ ├── icon_nonprofit.png │ │ │ │ │ ├── label_green_list.png │ │ │ │ │ ├── link_icon14x14.png │ │ │ │ │ ├── payment_account.jpg │ │ │ │ │ ├── payment_boleto.jpg │ │ │ │ │ ├── social_big_icons.png │ │ │ │ │ ├── time_icon19x30.png │ │ │ │ │ ├── category_icon14x14.png │ │ │ │ │ ├── comments_icon28x18.png │ │ │ │ │ ├── contribution_city.png │ │ │ │ │ ├── contribution_info.gif │ │ │ │ │ ├── contribution_info.png │ │ │ │ │ ├── explore_icon23x15.png │ │ │ │ │ ├── facebook_icon13x26.png │ │ │ │ │ ├── icon_creditsmoney.png │ │ │ │ │ ├── icon_submitbacker.png │ │ │ │ │ ├── label_orange_list.png │ │ │ │ │ ├── profile_icon19x14.png │ │ │ │ │ ├── schedule_icon19x22.png │ │ │ │ │ ├── twitter_black_icon.png │ │ │ │ │ ├── twitter_icon28x24.png │ │ │ │ │ ├── facebook_black_icon.png │ │ │ │ │ ├── glyphicons-halflings.png │ │ │ │ │ ├── icon_backersucessfull.png │ │ │ │ │ ├── icon_guidelinesstart.png │ │ │ │ │ ├── icon_projectnotfunded.png │ │ │ │ │ ├── icon_projectsuccess.png │ │ │ │ │ ├── icon_refreshproject.png │ │ │ │ │ ├── newsletter_icon18x15.png │ │ │ │ │ ├── submit_back_icon25x22.png │ │ │ │ │ ├── icon_liwork~imageoptim.png │ │ │ │ │ ├── reward_count_icon18x17.png │ │ │ │ │ ├── glyphicons-halflings-white.png │ │ │ │ │ ├── submit_project_icon25x13.png │ │ │ │ │ ├── institutional_video_icon16x16.png │ │ │ │ │ └── sidebar_contributions_icon26x19.png │ │ │ │ ├── checkmark_2x.png │ │ │ │ ├── facebook_share.png │ │ │ │ ├── geek-news-img.jpg │ │ │ │ ├── hero-explore.jpg │ │ │ │ ├── hero-new-home.jpg │ │ │ │ ├── icon-campanha.png │ │ │ │ ├── icon-hello-1.png │ │ │ │ ├── icon-hello-2.png │ │ │ │ ├── icon-hello-3.png │ │ │ │ ├── icon-hello-4.png │ │ │ │ ├── icon-hello-5.png │ │ │ │ ├── icon-launching.png │ │ │ │ ├── icon-success.png │ │ │ │ ├── icon-tudonada.png │ │ │ │ ├── info-dashboard.png │ │ │ │ ├── lampada-white.png │ │ │ │ ├── logo-flex-fb.jpg │ │ │ │ ├── marcio-avatar.jpg │ │ │ │ ├── project_about.png │ │ │ │ ├── start-blog-ui.gif │ │ │ │ ├── start-publicar.gif │ │ │ │ ├── start-repasse.gif │ │ │ │ ├── successful.en.png │ │ │ │ ├── successful.es.png │ │ │ │ ├── successful.pt.png │ │ │ │ ├── thumb-project.png │ │ │ │ ├── twitter_share.png │ │ │ │ ├── -oldlogo-footer.png │ │ │ │ ├── auth │ │ │ │ │ ├── facebook_64.png │ │ │ │ │ └── twitter_64.png │ │ │ │ ├── bg-catarse-zelo.jpg │ │ │ │ ├── bg-hello-catarse.jpg │ │ │ │ ├── bg-hello-idea_1.jpg │ │ │ │ ├── bg-hello-people.jpg │ │ │ │ ├── channels │ │ │ │ │ ├── banner.png │ │ │ │ │ ├── capa_asas.jpg │ │ │ │ │ ├── successful.png │ │ │ │ │ ├── banner_tile.jpg │ │ │ │ │ ├── header_system.png │ │ │ │ │ └── logo_asas_notificacao.png │ │ │ │ ├── humberto-avatar.JPG │ │ │ │ ├── icon-transfer-ok.png │ │ │ │ ├── icon_alertheader.png │ │ │ │ ├── play-hero-green.png │ │ │ │ ├── start-painel-ui.gif │ │ │ │ ├── carrosel-apoios-bg.jpg │ │ │ │ ├── catarse_bootstrap │ │ │ │ │ ├── x.png │ │ │ │ │ ├── loader.gif │ │ │ │ │ ├── lupa.png │ │ │ │ │ ├── user.jpg │ │ │ │ │ ├── 2nd_slip.png │ │ │ │ │ ├── logo_big.png │ │ │ │ │ ├── tag-icon.png │ │ │ │ │ ├── badge-aon-h.png │ │ │ │ │ ├── badge-aon.png │ │ │ │ │ ├── badge-flex.png │ │ │ │ │ ├── badge-sub-h.png │ │ │ │ │ ├── botao_envie.png │ │ │ │ │ ├── git-footer.png │ │ │ │ │ ├── gmail-icon.png │ │ │ │ │ ├── google-icon.png │ │ │ │ │ ├── icon-lock.png │ │ │ │ │ ├── icon-menu.png │ │ │ │ │ ├── icon-play.png │ │ │ │ │ ├── launch-icon.png │ │ │ │ │ ├── logo_small.png │ │ │ │ │ ├── lupa_grey.png │ │ │ │ │ ├── twitter-256.png │ │ │ │ │ ├── badge-flex-h.png │ │ │ │ │ ├── banner-3years.png │ │ │ │ │ ├── catarse-logo.png │ │ │ │ │ ├── display_slip.png │ │ │ │ │ ├── facebook-xxl.png │ │ │ │ │ ├── feedback-key.png │ │ │ │ │ ├── feedback-open.png │ │ │ │ │ ├── icon-catarse.jpg │ │ │ │ │ ├── logo_big_old.png │ │ │ │ │ ├── payment_cards.jpg │ │ │ │ │ ├── banner-content.png │ │ │ │ │ ├── banner_explore.jpg │ │ │ │ │ ├── btn-querodecidir.png │ │ │ │ │ ├── catarse-assets.png │ │ │ │ │ ├── download_report.png │ │ │ │ │ ├── feedback-close.png │ │ │ │ │ ├── icon-newsletter.png │ │ │ │ │ ├── icons │ │ │ │ │ │ ├── icon-close.png │ │ │ │ │ │ ├── category-icon.png │ │ │ │ │ │ └── feedback-box-icon.png │ │ │ │ │ ├── payment_boleto.png │ │ │ │ │ ├── pending_payment.png │ │ │ │ │ ├── request_refund.png │ │ │ │ │ ├── badge-aon-h-margin.png │ │ │ │ │ ├── badge-sub-h-margin.png │ │ │ │ │ ├── btn-answer-survey.png │ │ │ │ │ ├── btn-definir-prazo.png │ │ │ │ │ ├── delivery_confirmed.gif │ │ │ │ │ ├── logo_icon_catarse.png │ │ │ │ │ ├── start │ │ │ │ │ │ ├── tudo-ou-nada.png │ │ │ │ │ │ └── trabalhe-muito.png │ │ │ │ │ ├── badge-flex-h-margin.png │ │ │ │ │ ├── botao_bemvindo_EN_big.png │ │ │ │ │ ├── botao_bemvindo_PT_big.png │ │ │ │ │ └── payment_cards_pagarme.png │ │ │ │ ├── como-funciona-base.png │ │ │ │ ├── comofunciona-setas.png │ │ │ │ ├── fotinhos_apoiadores.png │ │ │ │ ├── icon-guides-blue-sm.png │ │ │ │ ├── info-dashboard-an.png │ │ │ │ ├── info-dashboard-off.png │ │ │ │ ├── info-dashboard-on.png │ │ │ │ ├── logo-catarse-press.png │ │ │ │ ├── not_successful.en.png │ │ │ │ ├── not_successful.es.png │ │ │ │ ├── not_successful.pt.png │ │ │ │ ├── pix_second_button.png │ │ │ │ ├── rewards_left_border.png │ │ │ │ ├── start │ │ │ │ │ ├── thumb-larissa.png │ │ │ │ │ ├── thumb-marcela.jpg │ │ │ │ │ ├── thumb-natalia.png │ │ │ │ │ ├── thumb-tiago.jpg │ │ │ │ │ └── thumb-apanhador.jpg │ │ │ │ ├── browser_logos │ │ │ │ │ ├── chrome.png │ │ │ │ │ └── firefox.png │ │ │ │ ├── checkmark-partial_2x.png │ │ │ │ ├── icon-transfer-pending.png │ │ │ │ ├── project_menu_selected.png │ │ │ │ ├── rewards_right_border.png │ │ │ │ ├── start-atendimento-ui.gif │ │ │ │ ├── facebook-pixel-logotyp.png │ │ │ │ ├── waiting_confirmation.en.png │ │ │ │ ├── waiting_confirmation.es.png │ │ │ │ ├── waiting_confirmation.pt.png │ │ │ │ ├── catarsesolidariablueheart.png │ │ │ │ ├── logo-catarse-back-carrosel.png │ │ │ │ ├── assets-catarse │ │ │ │ │ ├── asset-selo-1.jpg │ │ │ │ │ ├── asset-selo-2.jpg │ │ │ │ │ ├── asset-selo-3.jpg │ │ │ │ │ ├── asset-logo-vertical-1.jpg │ │ │ │ │ ├── asset-logo-vertical-2.jpg │ │ │ │ │ ├── asset-logo-vertical-3.jpg │ │ │ │ │ ├── asset-logo-vertical-4.jpg │ │ │ │ │ ├── asset-logo-horizontal-1.jpg │ │ │ │ │ ├── asset-logo-horizontal-2.jpg │ │ │ │ │ ├── asset-logo-horizontal-3.jpg │ │ │ │ │ └── asset-logo-horizontal-4.jpg │ │ │ │ ├── jquery-ui │ │ │ │ │ ├── ui-icons_4eb305_256x240.png │ │ │ │ │ ├── ui-icons_72b42d_256x240.png │ │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ │ ├── ui-icons_ffffff_256x240.png │ │ │ │ │ └── ui-bg_glass_55_fbf5d0_1x400.png │ │ │ │ ├── login_with_facebook_button310x60.png │ │ │ │ └── login_with_facebook_button356x60.png │ │ │ ├── javascripts │ │ │ │ ├── .gitkeep │ │ │ │ └── api │ │ │ │ │ ├── catarse.js.erb │ │ │ │ │ └── application.js.erb │ │ │ └── stylesheets │ │ │ │ ├── .gitkeep │ │ │ │ └── redactor.css │ │ ├── controllers │ │ │ └── concerns │ │ │ │ └── .gitkeep │ │ ├── views │ │ │ └── catarse_bootstrap │ │ │ │ ├── layouts │ │ │ │ ├── mailer.text.slim │ │ │ │ └── _facebook_share.html.slim │ │ │ │ ├── user_notifier │ │ │ │ └── mailer │ │ │ │ │ ├── admin_chargeback_subject.text.slim │ │ │ │ │ ├── new_user_registration_subject.text.slim │ │ │ │ │ ├── redbooth_task_subject.text.slim │ │ │ │ │ ├── contribution_donated_subject.text.slim │ │ │ │ │ ├── project_report_subject.text.slim │ │ │ │ │ ├── user_deactivate_subject.text.slim │ │ │ │ │ ├── invalid_payment_subject.text.slim │ │ │ │ │ ├── balance_transferred_subject.text.slim │ │ │ │ │ ├── in_analysis_project_subject.text.slim │ │ │ │ │ ├── over_refund_limit_subject.text.slim │ │ │ │ │ ├── payment_card_pending_review_subject.text.slim │ │ │ │ │ ├── project_approved_subject.text.slim │ │ │ │ │ ├── project_canceled_subject.text.slim │ │ │ │ │ ├── requested_refund_for_credits_subject.text.slim │ │ │ │ │ ├── balance_transfer_request_subject.text.slim │ │ │ │ │ ├── direct_refund_worker_error_subject.text.slim │ │ │ │ │ ├── new_friends_contributions_subject.text.slim │ │ │ │ │ ├── rewards_manager_subject.text.slim │ │ │ │ │ ├── direct_message_subject.text.slim │ │ │ │ │ ├── late_delivery_subject.text.slim │ │ │ │ │ ├── new_draft_project_subject.text.slim │ │ │ │ │ ├── project_invite_subject.text.slim │ │ │ │ │ ├── new_terms_2016_subject.text.slim │ │ │ │ │ ├── project_in_waiting_funds_subject.text.slim │ │ │ │ │ ├── refund_moip_subject.text.slim │ │ │ │ │ ├── refund_paypal_subject.text.slim │ │ │ │ │ ├── segmented_hq_subject.text.slim │ │ │ │ │ ├── brute_force_2022_subject.text.slim │ │ │ │ │ ├── chargeback_reverse_subject.text.slim │ │ │ │ │ ├── refund_completed_pix_subject.text.slim │ │ │ │ │ ├── refund_completed_slip_subject.text.slim │ │ │ │ │ ├── terms_update_subject.text.slim │ │ │ │ │ ├── delivery_confirmed_subject.text.slim │ │ │ │ │ ├── missing_contribution_address_subject.text.slim │ │ │ │ │ ├── project_unsuccessful_subject.text.slim │ │ │ │ │ ├── reminder_subject.text.slim │ │ │ │ │ ├── special_donation_subject.text.slim │ │ │ │ │ ├── contribution_project_unsuccessful_pix_no_account_subject.text.slim │ │ │ │ │ ├── contribution_project_unsuccessful_slip_no_account_subject.text.slim │ │ │ │ │ ├── expiring_rewards_subject.text.slim │ │ │ │ │ ├── invalid_finish_subject.text.slim │ │ │ │ │ ├── invalid_refund_subject.text.slim │ │ │ │ │ ├── new_user_settings_subject.text.slim │ │ │ │ │ ├── pending_payment_subject.text.slim │ │ │ │ │ ├── project_owner_contribution_confirmed_subject.text.slim │ │ │ │ │ ├── project_received_subject.text.slim │ │ │ │ │ ├── temp_new_followers_subject.text.slim │ │ │ │ │ ├── categorized_projects_of_the_week_subject.text.slim │ │ │ │ │ ├── confirm_delivery_subject.text.slim │ │ │ │ │ ├── project_report_exports_subject.text.slim │ │ │ │ │ ├── video_200k_subject.text.slim │ │ │ │ │ ├── caixola_subject.text.slim │ │ │ │ │ ├── confirm_contribution_subject.text.slim │ │ │ │ │ ├── delivery_error_subject.text.slim │ │ │ │ │ ├── project_visible_subject.text.slim │ │ │ │ │ ├── refunded_and_canceled_subject.text.slim │ │ │ │ │ ├── contribution_canceled_pix_subject.text.slim │ │ │ │ │ ├── contribution_canceled_slip_subject.text.slim │ │ │ │ │ ├── contribution_canceled_subject.text.slim │ │ │ │ │ ├── posts_subject.text.slim │ │ │ │ │ ├── video_200k_project_owner_subject.text.slim │ │ │ │ │ ├── contribution_project_successful_subject.text.slim │ │ │ │ │ ├── project_contribution_confirmed_after_finished_subject.text.slim │ │ │ │ │ ├── project_success_subject.text.slim │ │ │ │ │ ├── balance_transfer_error_subject.text.slim │ │ │ │ │ ├── contributions_project_unsuccessful_pix_subject.text.slim │ │ │ │ │ ├── delivery_approaching_subject.text.slim │ │ │ │ │ ├── project_owner_chargeback_subject.text.slim │ │ │ │ │ ├── answer_survey_subject.text.slim │ │ │ │ │ ├── contributions_project_unsuccessful_slip_subject.text.slim │ │ │ │ │ ├── project_coming_soon_published_subject.text.slim │ │ │ │ │ ├── project_contribution_refunded_after_successful_pledged_subject.text.slim │ │ │ │ │ └── subscription_report_subject.text.slim │ │ │ │ └── projects │ │ │ │ └── _dashboard_home.html.slim │ │ ├── models │ │ │ ├── shared.rb │ │ │ ├── users.rb │ │ │ ├── rdevent.rb │ │ │ ├── home_banner.rb │ │ │ ├── sendgrid_event.rb │ │ │ ├── login_activity.rb │ │ │ ├── user_credit.rb │ │ │ ├── banned_ip.rb │ │ │ ├── gateway_payment.rb │ │ │ ├── project_financial.rb │ │ │ ├── contribution_report.rb │ │ │ ├── application_record.rb │ │ │ ├── project_metric_storage.rb │ │ │ ├── project_score_storage.rb │ │ │ ├── reward_metric_storage.rb │ │ │ ├── payment_log.rb │ │ │ ├── post_reward.rb │ │ │ ├── gateway_balance_operation.rb │ │ │ ├── donation.rb │ │ │ ├── project_budget.rb │ │ │ ├── project_error.rb │ │ │ ├── project_total.rb │ │ │ ├── user_admin_role.rb │ │ │ └── city.rb │ │ ├── javascript │ │ │ └── channels │ │ │ │ └── consumer.js │ │ ├── policies │ │ │ ├── subscription_project_policy.rb │ │ │ ├── credit_card_policy.rb │ │ │ └── home_banner_policy.rb │ │ ├── channels │ │ │ └── application_cable │ │ │ │ ├── channel.rb │ │ │ │ └── connection.rb │ │ └── mailers │ │ │ └── application_mailer.rb │ ├── vendor │ │ ├── assets │ │ │ └── .gitkeep │ │ └── plugins │ │ │ └── .gitkeep │ ├── .browserslistrc │ ├── .rspec │ ├── engines │ │ ├── catarse_scripts │ │ │ ├── spec │ │ │ │ ├── dummy │ │ │ │ │ ├── tmp │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ ├── pids │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── storage │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ └── development_secret.txt │ │ │ │ │ ├── lib │ │ │ │ │ │ └── assets │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── storage │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── public │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ ├── apple-touch-icon.png │ │ │ │ │ │ └── apple-touch-icon-precomposed.png │ │ │ │ │ ├── app │ │ │ │ │ │ ├── assets │ │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ │ └── config │ │ │ │ │ │ │ │ └── manifest.js │ │ │ │ │ │ ├── models │ │ │ │ │ │ │ ├── concerns │ │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ │ ├── user.rb │ │ │ │ │ │ │ └── application_record.rb │ │ │ │ │ │ ├── controllers │ │ │ │ │ │ │ ├── concerns │ │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ │ └── application_controller.rb │ │ │ │ │ │ ├── views │ │ │ │ │ │ │ └── layouts │ │ │ │ │ │ │ │ └── mailer.text.erb │ │ │ │ │ │ └── helpers │ │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── bin │ │ │ │ │ │ └── rake │ │ │ │ │ └── config │ │ │ │ │ │ └── routes.rb │ │ │ │ ├── support │ │ │ │ │ ├── byebug.rb │ │ │ │ │ ├── pagy.rb │ │ │ │ │ ├── slim.rb │ │ │ │ │ ├── ransack.rb │ │ │ │ │ ├── sentry_ruby.rb │ │ │ │ │ ├── sidekiq_status.rb │ │ │ │ │ ├── application_job.rb │ │ │ │ │ ├── rails_controlling_testing.rb │ │ │ │ │ └── time_helpers.rb │ │ │ │ └── factories │ │ │ │ │ └── users_factory.rb │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── catarse_scripts │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── catarse_scripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ └── config │ │ │ │ │ │ └── catarse_scripts_manifest.js │ │ │ │ ├── views │ │ │ │ │ └── catarse_scripts │ │ │ │ │ │ └── scripts │ │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ │ └── new.html.slim │ │ │ │ └── jobs │ │ │ │ │ └── catarse_scripts │ │ │ │ │ └── application_job.rb │ │ │ ├── .rspec │ │ │ ├── .gitignore │ │ │ ├── lib │ │ │ │ └── catarse_scripts │ │ │ │ │ └── version.rb │ │ │ └── Rakefile │ │ └── catarse_pagarme │ │ │ ├── .ruby-version │ │ │ ├── spec │ │ │ └── dummy │ │ │ │ ├── app │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ ├── concerns │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── bank.rb │ │ │ │ │ ├── category.rb │ │ │ │ │ ├── country.rb │ │ │ │ │ ├── reward.rb │ │ │ │ │ ├── credit_card.rb │ │ │ │ │ ├── user_total.rb │ │ │ │ │ └── payment_notification.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── assets │ │ │ │ │ └── images │ │ │ │ │ │ └── .keep │ │ │ │ ├── controllers │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ │ ├── public │ │ │ │ └── favicon.ico │ │ │ │ ├── bin │ │ │ │ └── rake │ │ │ │ ├── config │ │ │ │ └── routes.rb │ │ │ │ └── spec │ │ │ │ └── support │ │ │ │ └── testimg.png │ │ │ ├── .ruby-gemset │ │ │ ├── app │ │ │ └── assets │ │ │ │ ├── images │ │ │ │ └── catarse_pagarme │ │ │ │ │ └── .keep │ │ │ │ └── javascripts │ │ │ │ └── catarse_pagarme.js │ │ │ ├── Gemfile │ │ │ └── lib │ │ │ └── catarse_pagarme │ │ │ └── version.rb │ ├── .tool-versions │ ├── catarse.js │ │ ├── legacy │ │ │ ├── src │ │ │ │ ├── root │ │ │ │ │ ├── projects-subscription-edit.js │ │ │ │ │ ├── projects │ │ │ │ │ │ └── publish-by-steps │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── users │ │ │ │ │ │ └── edit │ │ │ │ │ │ └── #balance │ │ │ │ │ │ └── controllers │ │ │ │ │ │ └── use-cases │ │ │ │ │ │ └── entities │ │ │ │ │ │ ├── user-id.ts │ │ │ │ │ │ └── bank.d.ts │ │ │ │ ├── c.js │ │ │ │ ├── shared │ │ │ │ │ └── services │ │ │ │ │ │ ├── errors-mapping │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── infra │ │ │ │ │ │ └── entities │ │ │ │ │ │ ├── headers.ts │ │ │ │ │ │ ├── body.ts │ │ │ │ │ │ └── index.ts │ │ │ │ ├── styles │ │ │ │ │ └── GlobalStyles.scss │ │ │ │ └── entities │ │ │ │ │ ├── rails-errors.d.ts │ │ │ │ │ ├── goal-details.d.ts │ │ │ │ │ ├── project-integration.d.ts │ │ │ │ │ ├── time-description.d.ts │ │ │ │ │ ├── state.d.ts │ │ │ │ │ └── shipping-fee.d.ts │ │ │ └── spec │ │ │ │ └── lib │ │ │ │ ├── jasmine-species │ │ │ │ └── version.json │ │ │ │ └── configs │ │ │ │ └── apis-address.ts │ │ ├── .jshintignore │ │ ├── .travis.yml │ │ ├── .codeclimate.yml │ │ ├── .flowconfig │ │ └── .editorconfig │ ├── .buildpacks │ ├── config │ │ ├── initializers │ │ │ ├── pagy.rb │ │ │ ├── high_voltage.rb │ │ │ ├── statesman.rb │ │ │ └── omniauth_controller_methods.rb │ │ ├── sidekiq.yml │ │ ├── webpack │ │ │ ├── environment.js │ │ │ ├── test.js │ │ │ ├── development.js │ │ │ └── production.js │ │ ├── locales │ │ │ ├── catarse_bootstrap │ │ │ │ └── views │ │ │ │ │ └── pages │ │ │ │ │ ├── assets.en.yml │ │ │ │ │ ├── guides.en.yml │ │ │ │ │ ├── assets.fr.yml │ │ │ │ │ ├── assets.pt.yml │ │ │ │ │ ├── guides.pt.yml │ │ │ │ │ ├── jobs.fr.yml │ │ │ │ │ └── guide.fr.yml │ │ │ ├── will_paginate.en.yml │ │ │ ├── will_paginate.pt.yml │ │ │ └── will_paginate.fr.yml │ │ └── spring.rb │ ├── spec │ │ ├── support │ │ │ ├── pundit.rb │ │ │ ├── sidekiq.rb │ │ │ ├── webmock.rb │ │ │ ├── factory_bot.rb │ │ │ └── devise.rb │ │ ├── fixtures │ │ │ └── files │ │ │ │ ├── image.png │ │ │ │ └── testimg.png │ │ ├── factories │ │ │ ├── countries_factories.rb │ │ │ ├── categories_factories.rb │ │ │ ├── banks_factories.rb │ │ │ ├── cities_factories.rb │ │ │ ├── donations_factories.rb │ │ │ ├── blacklist_documents_factories.rb │ │ │ └── project_cancelations_factories.rb │ │ └── models │ │ │ └── user_total_spec.rb │ ├── bin │ │ └── rake │ ├── run_specs │ └── db │ │ └── migrate │ │ ├── 20131010194521_drop_reward_ranges.rb │ │ ├── 20140711220046_drop_notifications.rb │ │ ├── 20150122153621_add_about_to_users.rb │ │ ├── 20170928213212_add_title_to_goals.rb │ │ ├── 20131010194345_drop_channels_trustees.rb │ │ ├── 20170419133911_add_title_to_rewards.rb │ │ ├── 20130410190247_add_image_to_channels.rb │ │ ├── 20130419184530_add_state_to_backers.rb │ │ ├── 20150127034613_add_cover_into_users.rb │ │ ├── 20160525192114_gtm_to_project.rb │ │ ├── 20130104005632_add_moip_login_to_users.rb │ │ ├── 20130212145115_rename_name_to_name_pt.rb │ │ ├── 20141215153054_add_budget_to_projects.rb │ │ ├── 20150127023738_add_about_html_to_user.rb │ │ ├── 20150811194423_add_payment_key_index.rb │ │ ├── 20150824141759_add_city_to_projects.rb │ │ ├── 20160916185933_add_banned_at_to_user.rb │ │ ├── 20130410191240_add_website_to_channels.rb │ │ ├── 20131010194500_drop_projects_curated_pages.rb │ │ ├── 20140729163857_add_ga_code_into_channels.rb │ │ ├── 20140902233410_add_country_id_to_users.rb │ │ ├── 20170131110544_add_public_name_into_users.rb │ │ ├── 20170714193111_add_address_id_to_users.rb │ │ ├── 20170811193453_survey_constraint.rb │ │ ├── 20130211174609_add_name_en_to_categories.rb │ │ ├── 20130926185207_add_video_url_to_channels.rb │ │ ├── 20131010193936_add_channel_id_to_user.rb │ │ ├── 20131020215932_add_terms_url_to_channels.rb │ │ └── 20131112113608_add_referal_link_on_backers.rb ├── common │ ├── .gitignore │ ├── src │ │ ├── chapter_1.md │ │ ├── intro.md │ │ ├── dev_ops.md │ │ ├── http_payments.md │ │ ├── http_platforms.md │ │ ├── http_projects.md │ │ ├── http_platforms_rpc_login.md │ │ ├── http_platforms_rpc_sign_up.md │ │ ├── http_platforms_api_keys.md │ │ ├── http_projects_rpc_reward.md │ │ ├── http_projects_subscribers.md │ │ ├── http_route_v1_users_login.md │ │ ├── dev_ops_catarse_integration.md │ │ ├── http_platforms_rpc_create_platform.md │ │ ├── http_platforms_rpc_generate_api_key.md │ │ ├── http_route_v1_project_managment_stats_goals_main.md │ │ ├── http_route_v1_project_managment_stats_posts_main.md │ │ ├── http_route_v1_project_managment_stats_stats_main.md │ │ ├── http_route_v1_project_managment_stats_rewards_main.md │ │ ├── http_route_v1_session_api_keys_main.md │ │ ├── http_payments_rpc_cancel_subscription.md │ │ ├── http_route_v1_project_managment_stats_projects_main.md │ │ ├── http_rpc_create_scoped_user_session.md │ │ ├── http_route_v1_project_managment_stats_main.md │ │ ├── get_http_routes_v1_projects_PROJECT_ID_posts.md │ │ └── http_payments_subscription_status_transitions.md │ ├── book.toml │ └── PULL_REQUEST_TEMPLATE.md ├── payment-service-api │ ├── .redist │ ├── .node-version │ ├── .gitignore │ ├── .buildpacks │ ├── Procfile │ ├── .circleci │ │ └── setup-heroku.sh │ └── bin │ │ └── start-payment-stream ├── service-core-db │ ├── specs │ │ └── logs │ │ │ └── .gitkeep │ ├── .diesel_version │ ├── scripts │ │ ├── generate_migration.sh │ │ └── run_migrations.sh │ ├── migrations │ │ ├── 2017-11-15-134306_missing_grants │ │ │ └── down.sql │ │ ├── 2018-07-20-181301_remove_platform_id │ │ │ └── down.sql │ │ ├── 2018-08-02-131331_add_payment_type │ │ │ └── down.sql │ │ ├── 2018-08-13-180019_drop_reward_platform │ │ │ └── down.sql │ │ ├── 2018-08-30-202133_drop_user_id_from_posts │ │ │ ├── down.sql │ │ │ └── up.sql │ │ ├── 2017-11-15-170302_missing_grants_for_subscriptions │ │ │ ├── down.sql │ │ │ └── up.sql │ │ ├── 2018-05-28-194446_add_welcome_message_notification │ │ │ └── down.sql │ │ ├── 2018-11-16-134832_add_category_followers_table │ │ │ └── down.sql │ │ ├── 2018-06-05-130001_user_details_on_community_api │ │ │ └── down.sql │ │ ├── 2018-06-07-115918_permissions_fix_to_user_details │ │ │ └── down.sql │ │ ├── 2018-03-20-061405_adjust_grants_when_upgrading_a_canceled_subscription │ │ │ └── down.sql │ │ ├── 2018-07-12-170442_add_project_posts_table │ │ │ └── down.sql │ │ ├── 2018-08-02-163031_create_user_api_keys │ │ │ └── down.sql │ │ ├── 2018-08-22-174022_create_goals_list │ │ │ └── down.sql │ │ ├── 2017-12-04-153842_fix_subscribers_persmissions │ │ │ ├── up.sql │ │ │ └── down.sql │ │ ├── 2018-01-25-142852_add_credit_cards_to_api │ │ │ └── down.sql │ │ ├── 2018-09-03-133720_create_posts_endpoint │ │ │ └── down.sql │ │ ├── 2018-01-22-125700_add_subscription_versions │ │ │ └── down.sql │ │ ├── 2018-07-26-160149_create_direct_messages │ │ │ └── down.sql │ │ ├── 2018-08-02-154631_create_temp_login_api_keys │ │ │ └── down.sql │ │ ├── 2018-08-08-131620_add_project_transitions │ │ │ └── down.sql │ │ ├── 2018-10-22-140657_add_contributions_view │ │ │ └── down.sql │ │ ├── 2017-12-01-115147_create_subscribers_endpoint │ │ │ └── down.sql │ │ ├── 2018-07-03-050015_add_saved_credit_cards_endpoint │ │ │ └── down.sql │ │ ├── 2018-07-13-163614_create_information_service_schema │ │ │ └── down.sql │ │ ├── 2017-11-17-185613_add_payment_info_endpoint │ │ │ └── down.sql │ │ ├── 2018-01-23-152450_add_create_credit_card_func │ │ │ └── down.sql │ │ ├── 2018-04-02-232800_cancel_project_endpoint │ │ │ └── down.sql │ │ ├── 00000000000000_diesel_initial_setup │ │ │ └── down.sql │ │ ├── 2017-12-16-140051_create_cancel_subscription │ │ │ └── down.sql │ │ ├── 2018-01-03-182626_add_cancel_subscriptions_function │ │ │ └── down.sql │ │ ├── 2018-04-05-125945_add_chargeback_payment_route │ │ │ └── down.sql │ │ ├── 2018-05-14-224135_add_notify_expiring_slip_function │ │ │ └── down.sql │ │ ├── 2018-09-10-160633_create_direct_messages_endpoint │ │ │ └── down.sql │ │ ├── 2018-11-16-151257_set_subscription_anonymity │ │ │ └── down.sql │ │ ├── 2017-11-30-164851_add_notifications_template_to_api │ │ │ └── down.sql │ │ ├── 2017-12-17-014704_add_canceling_status │ │ │ └── down.sql │ │ ├── 2020-05-16-140116_create_antifraud_analyses_table │ │ │ └── down.sql │ │ ├── 2017-11-07-154324_add_projet_subscribers_info │ │ │ └── down.sql │ │ ├── 2017-12-02-185242_added_function_to_expire_slip_payments │ │ │ └── down.sql │ │ ├── 2018-02-07-160205_create_user_notifications_endpoint │ │ │ └── down.sql │ │ ├── 2018-04-25-124631_add_inactive_invalid_subscriptions │ │ │ └── down.sql │ │ ├── 2018-06-08-115610_add_goals_table │ │ │ └── down.sql │ │ ├── 2018-08-21-173439_add_address_to_users │ │ │ └── down.sql │ │ ├── 2018-01-22-121743_add_next_charge_at_func │ │ │ └── down.sql │ │ ├── 2018-05-11-170956_add_payment_service_recharge_susbcription_function │ │ │ └── down.sql │ │ └── 2022-02-08-121359_add_restore_subscriptions_function │ │ │ └── down.sql │ ├── Dockerfile │ ├── .circleci │ │ └── setup-heroku.sh │ └── setup_fdw_grants.sql.example ├── hook-service-api │ ├── .node-version │ ├── Dockerfile.web │ └── .circleci │ │ └── setup-heroku.sh ├── proxy │ ├── .gitignore │ ├── test.sh │ └── .circleci │ │ └── setup-heroku.sh └── notification-service-api │ ├── .gitignore │ └── .circleci │ └── setup-heroku.sh ├── scripts ├── generate_migration.sh └── run_migrations.sh ├── Dockerfile ├── compose_env ├── .service_core_db.env.sample ├── .service_core_migrator.env.sample ├── .subscriptions_scheduler.env.sample ├── .recommender_service_api.env.sample └── .common_api.env.sample ├── .commands └── setup-heroku.sh └── .ignore /.diesel_version: -------------------------------------------------------------------------------- 1 | 0.16.0 2 | -------------------------------------------------------------------------------- /services/common-api/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common-api/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common-api/vendor/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/lib/tasks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common-api/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.5.1 -------------------------------------------------------------------------------- /services/common-api/lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /services/payment-service-api/.redist: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/.python-version: -------------------------------------------------------------------------------- 1 | 2.7.10 2 | -------------------------------------------------------------------------------- /services/catarse/.ruby-gemset: -------------------------------------------------------------------------------- 1 | catarse 2 | -------------------------------------------------------------------------------- /services/catarse/.ruby-version: -------------------------------------------------------------------------------- 1 | 3.0.2 2 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/vendor/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/vendor/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/.browserslistrc: -------------------------------------------------------------------------------- 1 | defaults 2 | -------------------------------------------------------------------------------- /services/catarse/app/assets/javascripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/app/assets/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common-api/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common/src/chapter_1.md: -------------------------------------------------------------------------------- 1 | # Chapter 1 2 | -------------------------------------------------------------------------------- /services/common/src/intro.md: -------------------------------------------------------------------------------- 1 | # Introdution 2 | -------------------------------------------------------------------------------- /services/service-core-db/specs/logs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/.rspec: -------------------------------------------------------------------------------- 1 | --colour 2 | --format d 3 | -------------------------------------------------------------------------------- /services/catarse/app/controllers/concerns/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/public/i64PM_BoYTk8BeFsz89efg--.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common-api/.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | -------------------------------------------------------------------------------- /services/common-api/.tool-versions: -------------------------------------------------------------------------------- 1 | ruby 2.5.1 2 | -------------------------------------------------------------------------------- /services/common-api/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common/src/dev_ops.md: -------------------------------------------------------------------------------- 1 | # Dev operations 2 | -------------------------------------------------------------------------------- /services/common/src/http_payments.md: -------------------------------------------------------------------------------- 1 | # Payments 2 | -------------------------------------------------------------------------------- /services/common/src/http_platforms.md: -------------------------------------------------------------------------------- 1 | # Platforms 2 | -------------------------------------------------------------------------------- /services/common/src/http_projects.md: -------------------------------------------------------------------------------- 1 | # Projects 2 | -------------------------------------------------------------------------------- /services/hook-service-api/.node-version: -------------------------------------------------------------------------------- 1 | 14.14.0 2 | -------------------------------------------------------------------------------- /services/payment-service-api/.node-version: -------------------------------------------------------------------------------- 1 | 9.1.0 2 | -------------------------------------------------------------------------------- /services/proxy/.gitignore: -------------------------------------------------------------------------------- 1 | conf.d/default.conf 2 | -------------------------------------------------------------------------------- /services/service-core-db/.diesel_version: -------------------------------------------------------------------------------- 1 | 0.16.0 2 | -------------------------------------------------------------------------------- /services/payment-service-api/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/tmp/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common/src/http_platforms_rpc_login.md: -------------------------------------------------------------------------------- 1 | # Login 2 | -------------------------------------------------------------------------------- /services/common/src/http_platforms_rpc_sign_up.md: -------------------------------------------------------------------------------- 1 | # Sign up 2 | -------------------------------------------------------------------------------- /services/notification-service-api/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /services/catarse/.tool-versions: -------------------------------------------------------------------------------- 1 | ruby 3.0.2 2 | nodejs 14.17.0 3 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.4.4 2 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/tmp/pids/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common/src/http_platforms_api_keys.md: -------------------------------------------------------------------------------- 1 | # Listing api key 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/root/projects-subscription-edit.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/.ruby-gemset: -------------------------------------------------------------------------------- 1 | catarse_pagarme 2 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/tmp/storage/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common/src/http_projects_rpc_reward.md: -------------------------------------------------------------------------------- 1 | # Create / Update reward 2 | -------------------------------------------------------------------------------- /services/common/src/http_projects_subscribers.md: -------------------------------------------------------------------------------- 1 | # Listing subscribers 2 | -------------------------------------------------------------------------------- /services/common/src/http_route_v1_users_login.md: -------------------------------------------------------------------------------- 1 | # POST - /v1/users/login 2 | -------------------------------------------------------------------------------- /scripts/generate_migration.sh: -------------------------------------------------------------------------------- 1 | name=$1 2 | 3 | diesel migration generate $name 4 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/layouts/mailer.text.slim: -------------------------------------------------------------------------------- 1 | = yield 2 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/app/assets/images/catarse_pagarme/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/app/assets/images/catarse_scripts/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/public/apple-touch-icon.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common/src/dev_ops_catarse_integration.md: -------------------------------------------------------------------------------- 1 | # Catarse integration setup 2 | -------------------------------------------------------------------------------- /services/common/src/http_platforms_rpc_create_platform.md: -------------------------------------------------------------------------------- 1 | # Create platform 2 | -------------------------------------------------------------------------------- /services/common/src/http_platforms_rpc_generate_api_key.md: -------------------------------------------------------------------------------- 1 | # Generate api key 2 | -------------------------------------------------------------------------------- /services/common/src/http_route_v1_project_managment_stats_goals_main.md: -------------------------------------------------------------------------------- 1 | # Goals 2 | -------------------------------------------------------------------------------- /services/common/src/http_route_v1_project_managment_stats_posts_main.md: -------------------------------------------------------------------------------- 1 | # Posts 2 | -------------------------------------------------------------------------------- /services/common/src/http_route_v1_project_managment_stats_stats_main.md: -------------------------------------------------------------------------------- 1 | # Stats 2 | -------------------------------------------------------------------------------- /services/catarse/.buildpacks: -------------------------------------------------------------------------------- 1 | https://github.com/heroku/heroku-buildpack-ruby#v228 2 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | --format d 3 | -------------------------------------------------------------------------------- /services/common/src/http_route_v1_project_managment_stats_rewards_main.md: -------------------------------------------------------------------------------- 1 | # Rewards 2 | -------------------------------------------------------------------------------- /services/common/src/http_route_v1_session_api_keys_main.md: -------------------------------------------------------------------------------- 1 | # Sessions & API Keys 2 | -------------------------------------------------------------------------------- /services/catarse/app/assets/stylesheets/redactor.css: -------------------------------------------------------------------------------- 1 | /* 2 | *= require redactor-rails 3 | */ -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/spec/lib/jasmine-species/version.json: -------------------------------------------------------------------------------- 1 | {"version": "0.8.5b"} -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/public/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /services/common/src/http_payments_rpc_cancel_subscription.md: -------------------------------------------------------------------------------- 1 | # Canceling a subscription 2 | -------------------------------------------------------------------------------- /services/common/src/http_route_v1_project_managment_stats_projects_main.md: -------------------------------------------------------------------------------- 1 | # Projects 2 | -------------------------------------------------------------------------------- /services/common/src/http_rpc_create_scoped_user_session.md: -------------------------------------------------------------------------------- 1 | # Generate scoped user api key 2 | -------------------------------------------------------------------------------- /services/common-api/app/jobs/application_job.rb: -------------------------------------------------------------------------------- 1 | class ApplicationJob < ActiveJob::Base 2 | end 3 | -------------------------------------------------------------------------------- /services/common-api/config/routes/api_v1.rb: -------------------------------------------------------------------------------- 1 | namespace :v1 do 2 | concerns :api_base 3 | end 4 | -------------------------------------------------------------------------------- /services/common/book.toml: -------------------------------------------------------------------------------- 1 | [book] 2 | authors = [] 3 | multilingual = false 4 | src = "src" 5 | -------------------------------------------------------------------------------- /services/common/src/http_route_v1_project_managment_stats_main.md: -------------------------------------------------------------------------------- 1 | # Project managment & Stats 2 | -------------------------------------------------------------------------------- /scripts/run_migrations.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diesel migration --database-url=$DATABASE_URL run 2>&1 3 | -------------------------------------------------------------------------------- /services/catarse/app/models/shared.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Shared 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/app/models/users.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module Users 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/config/initializers/pagy.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'pagy' 4 | -------------------------------------------------------------------------------- /services/catarse/config/sidekiq.yml: -------------------------------------------------------------------------------- 1 | :queues: 2 | - [actions, 3] 3 | - default 4 | - finisher 5 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM comum/deps:latest 2 | WORKDIR /usr/app 3 | COPY . . 4 | 5 | RUN mkdir -p ./specs/logs 6 | -------------------------------------------------------------------------------- /services/catarse/spec/support/pundit.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'pundit/rspec' 4 | -------------------------------------------------------------------------------- /services/proxy/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | docker build -t comum/proxy-inline-test:test -f Dockerfile.test . 3 | -------------------------------------------------------------------------------- /services/service-core-db/scripts/generate_migration.sh: -------------------------------------------------------------------------------- 1 | name=$1 2 | 3 | diesel migration generate $name 4 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/c.js: -------------------------------------------------------------------------------- 1 | import * as root from './modules'; 2 | 3 | export default { root }; -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/shared/services/errors-mapping/index.ts: -------------------------------------------------------------------------------- 1 | export * from './errors-view-model' -------------------------------------------------------------------------------- /services/catarse/spec/support/sidekiq.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'sidekiq/testing' 4 | -------------------------------------------------------------------------------- /services/common/src/get_http_routes_v1_projects_PROJECT_ID_posts.md: -------------------------------------------------------------------------------- 1 | # GET - /v1/projects/:PROJECT_ID/posts 2 | -------------------------------------------------------------------------------- /services/common/src/http_payments_subscription_status_transitions.md: -------------------------------------------------------------------------------- 1 | # List subscriptions status transitions 2 | -------------------------------------------------------------------------------- /services/common-api/vendor/gems/common_models/.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /services/catarse/app/models/rdevent.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Rdevent < ApplicationRecord 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/admin_chargeback_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Novo chargeback 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/styles/GlobalStyles.scss: -------------------------------------------------------------------------------- 1 | @import './Colors.scss'; 2 | @import './Text.scss'; 3 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/app/assets/javascripts/catarse_scripts/application.js: -------------------------------------------------------------------------------- 1 | //= require rails-ujs 2 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/byebug.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'byebug' 4 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/pagy.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'pagy' 4 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/slim.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'slim' 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-11-15-134306_missing_grants/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` -------------------------------------------------------------------------------- /compose_env/.service_core_db.env.sample: -------------------------------------------------------------------------------- 1 | POSTGRES_PASSWORD=example 2 | POSTGRES_USER=postgres 3 | POSTGRES_DB=service_core 4 | -------------------------------------------------------------------------------- /compose_env/.service_core_migrator.env.sample: -------------------------------------------------------------------------------- 1 | DATABASE_URL=postgres://postgres:example@service_core_db:5432/service_core 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/.jshintignore: -------------------------------------------------------------------------------- 1 | spec/**/* 2 | .git 3 | bower_components 4 | node_modules 5 | dist 6 | gruntfile.js 7 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/spec/lib/configs/apis-address.ts: -------------------------------------------------------------------------------- 1 | export const apiCatarseAddress = 'https://api.catarse.me' -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/ransack.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'ransack' 4 | -------------------------------------------------------------------------------- /services/catarse/public/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/user.png -------------------------------------------------------------------------------- /services/common-api/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::API 2 | end 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-07-20-181301_remove_platform_id/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-02-131331_add_payment_type/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-13-180019_drop_reward_platform/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` -------------------------------------------------------------------------------- /services/service-core-db/scripts/run_migrations.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | diesel migration --database-url=$DATABASE_URL run 2>&1 3 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/new_user_registration_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Bem-vindo ao Catarse! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/redbooth_task_subject.text.slim: -------------------------------------------------------------------------------- 1 | |#{@notification.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/root/projects/publish-by-steps/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './projects-publish-by-steps' -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/.gitignore: -------------------------------------------------------------------------------- 1 | /.bundle/ 2 | /doc/ 3 | /log/*.log 4 | /pkg/ 5 | /tmp/ 6 | .byebug_history 7 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/sentry_ruby.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'sentry-ruby' 4 | -------------------------------------------------------------------------------- /services/common-api/vendor/gems/common_models/lib/common_models/version.rb: -------------------------------------------------------------------------------- 1 | module CommonModels 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /services/service-core-db/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM comum/deps:latest 2 | WORKDIR /usr/app 3 | COPY . . 4 | 5 | RUN mkdir -p ./specs/logs 6 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-30-202133_drop_user_id_from_posts/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` -------------------------------------------------------------------------------- /services/catarse/app/models/home_banner.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class HomeBanner < ApplicationRecord 4 | 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/models/sendgrid_event.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class SendgridEvent < ApplicationRecord 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "6" 4 | before_script: 5 | - npm install -g grunt-cli 6 | -------------------------------------------------------------------------------- /services/catarse/config/initializers/high_voltage.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | HighVoltage.layout = 'catarse_bootstrap' 4 | -------------------------------------------------------------------------------- /services/hook-service-api/Dockerfile.web: -------------------------------------------------------------------------------- 1 | FROM comum/hook-service:latest 2 | WORKDIR /usr/app 3 | COPY . . 4 | CMD npm start server.js 5 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contribution_donated_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Muito obrigado pela sua doação! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_report_subject.text.slim: -------------------------------------------------------------------------------- 1 | |[Ação de Suporte] Denúncia de projeto 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/user_deactivate_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Sua conta no Catarse foi desativada! 2 | -------------------------------------------------------------------------------- /services/catarse/config/webpack/environment.js: -------------------------------------------------------------------------------- 1 | const { environment } = require('@rails/webpacker') 2 | 3 | module.exports = environment 4 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/sidekiq_status.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'sidekiq-status' 4 | -------------------------------------------------------------------------------- /services/common-api/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | -------------------------------------------------------------------------------- /services/payment-service-api/.buildpacks: -------------------------------------------------------------------------------- 1 | https://github.com/sgrif/heroku-buildpack-diesel 2 | https://github.com/begriffs/postgrest-heroku 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-11-15-170302_missing_grants_for_subscriptions/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-05-28-194446_add_welcome_message_notification/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-11-16-134832_add_category_followers_table/down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE project_service.category_followers; 2 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/user.png -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/invalid_payment_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Pagamento com valor diferente do apoio 2 | -------------------------------------------------------------------------------- /services/catarse/config/locales/catarse_bootstrap/views/pages/assets.en.yml: -------------------------------------------------------------------------------- 1 | en: 2 | pages: 3 | assets: 4 | title: Brands and seals 5 | -------------------------------------------------------------------------------- /services/catarse/config/locales/catarse_bootstrap/views/pages/guides.en.yml: -------------------------------------------------------------------------------- 1 | en: 2 | pages: 3 | guides: 4 | title: Producers Guide 5 | -------------------------------------------------------------------------------- /services/payment-service-api/Procfile: -------------------------------------------------------------------------------- 1 | payment_stream: ./bin/start-payment-stream 2 | subscription_scheduler: ./scripts/subscription_scheduler.js 3 | -------------------------------------------------------------------------------- /services/catarse/app/javascript/channels/consumer.js: -------------------------------------------------------------------------------- 1 | import { createConsumer } from "@rails/actioncable" 2 | 3 | export default createConsumer() 4 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/balance_transferred_subject.text.slim: -------------------------------------------------------------------------------- 1 | | A transferência bancária já foi realizada! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/in_analysis_project_subject.text.slim: -------------------------------------------------------------------------------- 1 | | O seu projeto foi recebido pelo Catarse 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/over_refund_limit_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Número de tentativas de reembolso excedida. 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/payment_card_pending_review_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Seu apoio foi iniciado com sucesso! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_approved_subject.text.slim: -------------------------------------------------------------------------------- 1 | | O seu projeto foi aprovado! Leia este email! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_canceled_subject.text.slim: -------------------------------------------------------------------------------- 1 | | O #{@notification.project.name} foi cancelado. 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/requested_refund_for_credits_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Pedido de reembolso para créditos 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/shared/services/index.ts: -------------------------------------------------------------------------------- 1 | export * from './api' 2 | export * from './errors-mapping' 3 | export * from './infra' -------------------------------------------------------------------------------- /services/catarse/config/locales/catarse_bootstrap/views/pages/assets.fr.yml: -------------------------------------------------------------------------------- 1 | fr: 2 | pages: 3 | assets: 4 | title: 'Marque et timbres' 5 | -------------------------------------------------------------------------------- /services/catarse/config/locales/catarse_bootstrap/views/pages/assets.pt.yml: -------------------------------------------------------------------------------- 1 | pt: 2 | pages: 3 | assets: 4 | title: 'Marcas e selos' 5 | 6 | -------------------------------------------------------------------------------- /services/catarse/config/locales/catarse_bootstrap/views/pages/guides.pt.yml: -------------------------------------------------------------------------------- 1 | pt: 2 | pages: 3 | guides: 4 | title: 'Guia dos realizadores' 5 | -------------------------------------------------------------------------------- /services/catarse/config/locales/catarse_bootstrap/views/pages/jobs.fr.yml: -------------------------------------------------------------------------------- 1 | fr: 2 | pages: 3 | jobs: 4 | title: 'Travaillez avec nous' 5 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | 5 | gemspec 6 | gem "pry" 7 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/bank.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Bank < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/models/user.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class User < ApplicationRecord 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/application_job.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | ActiveJob::Base.queue_adapter = :test 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-06-05-130001_user_details_on_community_api/down.sql: -------------------------------------------------------------------------------- 1 | DROP FUNCTION community_service_api.user_details(id uuid); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-06-07-115918_permissions_fix_to_user_details/down.sql: -------------------------------------------------------------------------------- 1 | DROP FUNCTION community_service_api.user_details(id uuid); -------------------------------------------------------------------------------- /services/catarse/app/assets/images/aon-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/aon-badge.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/delete_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/delete_16.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/dropdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/dropdown.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/favicon.ico -------------------------------------------------------------------------------- /services/catarse/app/assets/images/gravatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/gravatar.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/hero-2015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/hero-2015.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/hero-home.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/hero-home.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/hero-jobs.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/hero-jobs.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-blog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-blog.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-jobs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-jobs.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-lab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-lab.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/loading.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo-flex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo-flex.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo_pix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo_pix.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/news-img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/news-img.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/pencil_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/pencil_16.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/tick_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/tick_16.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/tick_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/tick_32.png -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/balance_transfer_request_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Transferência bancária está em andamento! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/direct_refund_worker_error_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [NOTIFICACAO INTERNA] Erro em reembolso 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/new_friends_contributions_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Seus amigos apoiaram projetos no Catarse 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/rewards_manager_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [IMPORTANTE] Marque suas recompensas como enviadas! 2 | -------------------------------------------------------------------------------- /services/catarse/config/locales/catarse_bootstrap/views/pages/guide.fr.yml: -------------------------------------------------------------------------------- 1 | fr: 2 | pages: 3 | guides: 4 | title: 'Guide des créateurs' 5 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/app/views/catarse_scripts/scripts/edit.html.slim: -------------------------------------------------------------------------------- 1 | h2 Edit Script 2 | = render 'form', script: @script, tags: @tags 3 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/app/views/catarse_scripts/scripts/new.html.slim: -------------------------------------------------------------------------------- 1 | h2 New Script 2 | = render 'form', script: @script, tags: @tags 3 | -------------------------------------------------------------------------------- /services/catarse/spec/fixtures/files/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/spec/fixtures/files/image.png -------------------------------------------------------------------------------- /services/catarse/spec/fixtures/files/testimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/spec/fixtures/files/testimg.png -------------------------------------------------------------------------------- /services/common-api/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Channel < ActionCable::Channel::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /.commands/setup-heroku.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cat > ~/.netrc << EOF 3 | machine api.heroku.com 4 | login $HEROKU_LOGIN 5 | password $HEROKU_API_KEY 6 | EOF 7 | -------------------------------------------------------------------------------- /compose_env/.subscriptions_scheduler.env.sample: -------------------------------------------------------------------------------- 1 | DATABASE_URL=postgres://postgres:example@service_core_db:5432/service_core 2 | SUBSCRIPTION_INTERVAL='1 month' 3 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/flex-badge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/flex-badge.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/hero-assets.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/hero-assets.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/hero-guide.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/hero-guide.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/hero-hello.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/hero-hello.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-assets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-assets.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-fincol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-fincol.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-finish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-finish.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-guides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-guides.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-start.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/list_cards.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/list_cards.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo-footer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo-footer.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo-white.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo-yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo-yellow.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/selo-verde.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/selo-verde.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start-apoio.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start-apoio.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start-more.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start-more.jpg -------------------------------------------------------------------------------- /services/catarse/app/models/login_activity.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class LoginActivity < ApplicationRecord 4 | belongs_to :user 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/models/user_credit.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class UserCredit < ApplicationRecord 4 | self.primary_key = :id 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/policies/subscription_project_policy.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class SubscriptionProjectPolicy < ProjectPolicy 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/direct_message_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Nova mensagem de #{@notification.direct_message.from_name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/late_delivery_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [Importante] Você já enviou as recompensas do seu projeto? 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/new_draft_project_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Análise do seu projeto #{@notification.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_invite_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Conheça o meu projeto #{@notification.project.try(:name)} 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/root/users/edit/#balance/controllers/use-cases/entities/user-id.ts: -------------------------------------------------------------------------------- 1 | export type UserId = { 2 | id: string | number 3 | } -------------------------------------------------------------------------------- /services/catarse/config/locales/will_paginate.en.yml: -------------------------------------------------------------------------------- 1 | en: 2 | will_paginate: 3 | next: "Next »" 4 | page_gap: "..." 5 | previous: "« Previous" 6 | -------------------------------------------------------------------------------- /services/catarse/config/locales/will_paginate.pt.yml: -------------------------------------------------------------------------------- 1 | pt: 2 | will_paginate: 3 | next: "Próxima »" 4 | page_gap: "..." 5 | previous: "« Anterior" 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ApplicationHelper 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/category.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Category < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/country.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Country < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ApplicationHelper 4 | end 5 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-03-20-061405_adjust_grants_when_upgrading_a_canceled_subscription/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-hello-user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-hello-user.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-hero-flex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-hero-flex.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-hero-start.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-hero-start.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-hero-start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-hero-start.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-quemsomos.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-quemsomos.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/bg_s3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/bg_s3.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/gift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/gift.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/logo.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/checkmark_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/checkmark_2x.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/facebook_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/facebook_share.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/geek-news-img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/geek-news-img.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/hero-explore.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/hero-explore.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/hero-new-home.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/hero-new-home.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-campanha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-campanha.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-hello-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-hello-1.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-hello-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-hello-2.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-hello-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-hello-3.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-hello-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-hello-4.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-hello-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-hello-5.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-launching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-launching.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-success.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-tudonada.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-tudonada.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/info-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/info-dashboard.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/lampada-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/lampada-white.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo-flex-fb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo-flex-fb.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/marcio-avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/marcio-avatar.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/project_about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/project_about.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start-blog-ui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start-blog-ui.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start-publicar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start-publicar.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start-repasse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start-repasse.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/successful.en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/successful.en.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/successful.es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/successful.es.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/successful.pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/successful.pt.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/thumb-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/thumb-project.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/twitter_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/twitter_share.png -------------------------------------------------------------------------------- /services/catarse/app/models/banned_ip.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class BannedIp < ApplicationRecord 4 | 5 | validates :ip, presence: true 6 | end 7 | -------------------------------------------------------------------------------- /services/catarse/app/models/gateway_payment.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class GatewayPayment < ApplicationRecord 4 | belongs_to :payment 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/models/project_financial.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ProjectFinancial < ApplicationRecord 4 | acts_as_copy_target 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/new_terms_2016_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Importante: Novidades e atualização dos Termos de Uso no Catarse 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_in_waiting_funds_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Fim do prazo do projeto #{@notification.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/refund_moip_subject.text.slim: -------------------------------------------------------------------------------- 1 | Reembolso do seu apoio no Catarse direto na sua conta bancária :-) 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/refund_paypal_subject.text.slim: -------------------------------------------------------------------------------- 1 | Reembolso do seu apoio no Catarse direto na sua conta Paypal :-) 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/segmented_hq_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Ganhe 3 meses grátis na Social Comics - o Netflix dos Quadrinhos! 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/entities/rails-errors.d.ts: -------------------------------------------------------------------------------- 1 | export interface RailsErrors extends Error { 2 | errors: string[] 3 | errors_json: string 4 | } -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/lib/catarse_pagarme/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module CatarsePagarme 4 | VERSION = "3.0.1" 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/lib/catarse_scripts/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module CatarseScripts 4 | VERSION = '0.1.0' 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/public/fonts/ProximaNova-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/fonts/ProximaNova-Bold.woff -------------------------------------------------------------------------------- /services/catarse/public/fonts/ProximaNova-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/fonts/ProximaNova-Bold.woff2 -------------------------------------------------------------------------------- /services/catarse/public/fonts/ProximaNova-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/fonts/ProximaNova-Light.woff -------------------------------------------------------------------------------- /services/catarse/public/fonts/ProximaNova-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/fonts/ProximaNova-Light.woff2 -------------------------------------------------------------------------------- /services/catarse/spec/support/webmock.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'webmock/rspec' 4 | 5 | WebMock.disable_net_connect!(allow_localhost: true) 6 | -------------------------------------------------------------------------------- /services/common-api/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- 1 | module ApplicationCable 2 | class Connection < ActionCable::Connection::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /services/common-api/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /services/common-api/vendor/gems/common_models/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: ruby 3 | rvm: 4 | - 2.4.4 5 | before_install: gem install bundler -v 1.16.2 6 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/-oldlogo-footer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/-oldlogo-footer.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/auth/facebook_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/auth/facebook_64.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/auth/twitter_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/auth/twitter_64.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-catarse-zelo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-catarse-zelo.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-hello-catarse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-hello-catarse.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-hello-idea_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-hello-idea_1.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/bg-hello-people.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/bg-hello-people.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/cc_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/cc_icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagCity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagCity.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagName.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagName.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon-fb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon-fb.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon-tw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon-tw.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_faq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_faq.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_new.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_tag.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_url.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_url.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/logo-fb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/logo-fb.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/tick_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/tick_16.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/channels/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/channels/banner.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/humberto-avatar.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/humberto-avatar.JPG -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-transfer-ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-transfer-ok.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon_alertheader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon_alertheader.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/play-hero-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/play-hero-green.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start-painel-ui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start-painel-ui.gif -------------------------------------------------------------------------------- /services/catarse/app/models/contribution_report.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ContributionReport < ApplicationRecord 4 | acts_as_copy_target 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/brute_force_2022_subject.text.slim: -------------------------------------------------------------------------------- 1 | |[IMPORTANTE] - Altere sua senha no Catarse - Incidente 18.10.2022 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/chargeback_reverse_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Cancelamento de Chargeback #{@notification.payment.gateway_id} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/refund_completed_pix_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Reembolso efetuado! Devolução de apoio no Catarse realizada 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/refund_completed_slip_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Reembolso efetuado! Devolução de apoio no Catarse realizada 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/terms_update_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Atualização dos Termos de Uso e Política de Privacidade do Catarse 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/entities/goal-details.d.ts: -------------------------------------------------------------------------------- 1 | export type GoalDetails = { 2 | title: string 3 | value: number 4 | description: string 5 | } -------------------------------------------------------------------------------- /services/catarse/config/locales/will_paginate.fr.yml: -------------------------------------------------------------------------------- 1 | fr: 2 | will_paginate: 3 | next: "Suivante »" 4 | page_gap: "..." 5 | previous: "« Précédente" 6 | -------------------------------------------------------------------------------- /services/catarse/public/fonts/ProximaNova-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/fonts/ProximaNova-Regular.woff -------------------------------------------------------------------------------- /services/catarse/public/fonts/ProximaNova-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/fonts/ProximaNova-Regular.woff2 -------------------------------------------------------------------------------- /services/catarse/public/fonts/ProximaNova-Semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/fonts/ProximaNova-Semibold.woff -------------------------------------------------------------------------------- /services/catarse/spec/support/factory_bot.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | RSpec.configure do |config| 4 | config.include FactoryBot::Syntax::Methods 5 | end 6 | -------------------------------------------------------------------------------- /services/common-api/config/spring.rb: -------------------------------------------------------------------------------- 1 | %w[ 2 | .ruby-version 3 | .rbenv-vars 4 | tmp/restart.txt 5 | tmp/caching-dev.txt 6 | ].each { |path| Spring.watch(path) } 7 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-30-202133_drop_user_id_from_posts/up.sql: -------------------------------------------------------------------------------- 1 | -- Your SQL goes here 2 | alter table project_service.posts drop column user_id; 3 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/carrosel-apoios-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/carrosel-apoios-bg.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/boleto_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/boleto_icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/box_alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/box_alert.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/button_send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/button_send.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/delete_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/delete_16.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagCityMg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagCityMg.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagCityPoa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagCityPoa.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagCityRJ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagCityRJ.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagNameMg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagNameMg.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagNamePoa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagNamePoa.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagNameRJ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagNameRJ.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/flagNameSP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/flagNameSP.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/gift-reward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/gift-reward.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_bold.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_calc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_calc.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_gift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_gift.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_heart.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_italic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_italic.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_link.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_liwork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_liwork.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_logo.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_media.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_media.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_social.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_social.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_time.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_video.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_vimeo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_vimeo.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/label_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/label_green.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/moip-choice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/moip-choice.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/pencil_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/pencil_16.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/reward_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/reward_box.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/x.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/channels/capa_asas.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/channels/capa_asas.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/channels/successful.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/channels/successful.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/como-funciona-base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/como-funciona-base.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/comofunciona-setas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/comofunciona-setas.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/fotinhos_apoiadores.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/fotinhos_apoiadores.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-guides-blue-sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-guides-blue-sm.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/info-dashboard-an.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/info-dashboard-an.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/info-dashboard-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/info-dashboard-off.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/info-dashboard-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/info-dashboard-on.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo-catarse-press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo-catarse-press.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/not_successful.en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/not_successful.en.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/not_successful.es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/not_successful.es.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/not_successful.pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/not_successful.pt.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/pix_second_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/pix_second_button.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/rewards_left_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/rewards_left_border.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start/thumb-larissa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start/thumb-larissa.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start/thumb-marcela.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start/thumb-marcela.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start/thumb-natalia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start/thumb-natalia.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start/thumb-tiago.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start/thumb-tiago.jpg -------------------------------------------------------------------------------- /services/catarse/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ApplicationRecord < ActiveRecord::Base 4 | self.abstract_class = true 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/models/project_metric_storage.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ProjectMetricStorage < ApplicationRecord 4 | belongs_to :project 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/models/project_score_storage.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ProjectScoreStorage < ApplicationRecord 4 | belongs_to :project 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/models/reward_metric_storage.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class RewardMetricStorage < ApplicationRecord 4 | belongs_to :reward 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/delivery_confirmed_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Sua recompensa do #{@notification.project.try(:name)} foi enviada! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/missing_contribution_address_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [AÇÃO NECESSÁRIA] Os dados do seu apoio estão incompletos 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_unsuccessful_subject.text.slim: -------------------------------------------------------------------------------- 1 | |#{@notification.project.name} não alcançou a meta de arrecadação 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/reminder_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Lembrete do Catarse! A campanha #{@notification.project.name} está terminando! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/special_donation_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Ei, #{@notification.user.display_name}! Você tem créditos no Catarse! 2 | -------------------------------------------------------------------------------- /services/catarse/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | load File.expand_path("spring", __dir__) 3 | require_relative "../config/boot" 4 | require "rake" 5 | Rake.application.run 6 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/shared/services/infra/entities/headers.ts: -------------------------------------------------------------------------------- 1 | export type HttpHeaders = Partial<{ 2 | [header:string]: string 3 | }> & Partial 4 | -------------------------------------------------------------------------------- /services/catarse/public/fonts/ProximaNova-Semibold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/public/fonts/ProximaNova-Semibold.woff2 -------------------------------------------------------------------------------- /services/catarse/run_specs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -ex \ 4 | bundle exec rails db:create && \ 5 | bundle exec rails db:test:prepare && \ 6 | bundle exec rspec spec 7 | -------------------------------------------------------------------------------- /services/proxy/.circleci/setup-heroku.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cat > ~/.netrc << EOF 3 | machine api.heroku.com 4 | login $HEROKU_LOGIN 5 | password $HEROKU_API_KEY 6 | EOF 7 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-07-12-170442_add_project_posts_table/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE project_service.posts; 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-02-163031_create_user_api_keys/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE community_service.user_api_keys; -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-22-174022_create_goals_list/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP VIEW "project_service_api"."goals"; 3 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/browser_logos/chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/browser_logos/chrome.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/browser_logos/firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/browser_logos/firefox.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/box_download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/box_download.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/bullet-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/bullet-green.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/faq_icon18x18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/faq_icon18x18.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_creative.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_creative.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_credits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_credits.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_donation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_donation.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_licosts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_licosts.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_limagic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_limagic.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_limoney.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_limoney.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_linktext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_linktext.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_rewards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_rewards.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/label_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/label_orange.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/min_star12x11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/min_star12x11.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/payment_cards.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/payment_cards.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/paypal-choice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/paypal-choice.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/project_about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/project_about.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/social_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/social_icons.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/channels/banner_tile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/channels/banner_tile.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/checkmark-partial_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/checkmark-partial_2x.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/icon-transfer-pending.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/icon-transfer-pending.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/project_menu_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/project_menu_selected.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/rewards_right_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/rewards_right_border.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start-atendimento-ui.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start-atendimento-ui.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/start/thumb-apanhador.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/start/thumb-apanhador.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/javascripts/api/catarse.js.erb: -------------------------------------------------------------------------------- 1 | <% if not Rails.configuration.webpack_dev_server %> 2 | <% require_asset 'catarse.js/dist/catarse.js' %> 3 | <% end %> -------------------------------------------------------------------------------- /services/catarse/app/models/payment_log.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class PaymentLog < ApplicationRecord 4 | validates :gateway_id, :data, presence: true 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contribution_project_unsuccessful_pix_no_account_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Ação necessária! Solicite o seu reembolso 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contribution_project_unsuccessful_slip_no_account_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Ação necessária! Solicite o seu reembolso 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/expiring_rewards_subject.text.slim: -------------------------------------------------------------------------------- 1 | |[ATENÇÃO] Prazo estimado para a entrega de recompensa está se aproximando 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/invalid_finish_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [Ação necessária] Existem dados do seu projeto que precisam ser atualizados! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/invalid_refund_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Ação necessária! Os dados bancários para a devolução de apoio estão incorretos 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/new_user_settings_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [Informativo + Ação necessária] Organização dos dados dentro da plataforma 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/pending_payment_subject.text.slim: -------------------------------------------------------------------------------- 1 | | O projeto #{@notification.contribution.project.name} precisa do seu apoio! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_owner_contribution_confirmed_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Novos apoios para o projeto #{@notification.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_received_subject.text.slim: -------------------------------------------------------------------------------- 1 | |O seu rascunho de projeto foi criado no #{CatarseSettings[:company_name]} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/temp_new_followers_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Você tem #{@notification.user.followers.count} novos seguidores no Catarse 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/entities/project-integration.d.ts: -------------------------------------------------------------------------------- 1 | export type ProjectIntegration = { 2 | id?: number; 3 | name: string; 4 | data: {}; 5 | }; 6 | -------------------------------------------------------------------------------- /services/catarse/config/initializers/statesman.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Statesman.configure do 4 | storage_adapter(Statesman::Adapters::ActiveRecord) 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/app/assets/javascripts/catarse_pagarme.js: -------------------------------------------------------------------------------- 1 | //= require_tree ./catarse_pagarme 2 | 3 | $(function(){ 4 | app.createViewGetters(); 5 | }); 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/reward.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Reward < ActiveRecord::Base 4 | belongs_to :project 5 | end 6 | -------------------------------------------------------------------------------- /services/common-api/.circleci/setup-heroku.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cat > ~/.netrc << EOF 3 | machine api.heroku.com 4 | login $HEROKU_LOGIN 5 | password $HEROKU_API_KEY 6 | EOF 7 | -------------------------------------------------------------------------------- /services/common-api/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require_relative 'config/environment' 4 | 5 | run Rails.application 6 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-12-04-153842_fix_subscribers_persmissions/up.sql: -------------------------------------------------------------------------------- 1 | -- Your SQL goes here 2 | 3 | grant USAGE on SCHEMA project_service_api to anonymous ; 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-01-25-142852_add_credit_cards_to_api/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop view payment_service_api.credit_cards; -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-09-03-133720_create_posts_endpoint/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP VIEW "project_service_api"."posts"; 3 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/back_statistics.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/back_statistics.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/blog_icon17x14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/blog_icon17x14.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/bot_guidelines.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/bot_guidelines.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/bot_profileUser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/bot_profileUser.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/button_explore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/button_explore.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/confirmed_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/confirmed_icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/contribute_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/contribute_icons.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/contributed_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/contributed_icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/embed_icon19x9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/embed_icon19x9.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/goal_icon36x17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/goal_icon36x17.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/heart_icon17x14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/heart_icon17x14.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_backerstep1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_backerstep1.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_backerstep2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_backerstep2.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_backerstep3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_backerstep3.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_backerstep4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_backerstep4.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_backerstep5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_backerstep5.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_backproject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_backproject.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_colective.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_colective.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_datestart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_datestart.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_guidebacker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_guidebacker.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_nonprofit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_nonprofit.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/label_green_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/label_green_list.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/link_icon14x14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/link_icon14x14.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/payment_account.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/payment_account.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/payment_boleto.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/payment_boleto.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/social_big_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/social_big_icons.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/time_icon19x30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/time_icon19x30.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/loader.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/lupa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/lupa.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/user.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/channels/header_system.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/channels/header_system.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/facebook-pixel-logotyp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/facebook-pixel-logotyp.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/waiting_confirmation.en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/waiting_confirmation.en.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/waiting_confirmation.es.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/waiting_confirmation.es.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/waiting_confirmation.pt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/waiting_confirmation.pt.png -------------------------------------------------------------------------------- /services/catarse/app/models/post_reward.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class PostReward < ApplicationRecord 4 | belongs_to :project_post 5 | belongs_to :reward 6 | end 7 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/categorized_projects_of_the_week_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Projetos recentes na categoria #{@notification.category.name_pt} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/confirm_delivery_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Você já recebeu a recompensa do #{@notification.contribution.project.try(:name)}? 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_report_exports_subject.text.slim: -------------------------------------------------------------------------------- 1 | - report = @notification.report 2 | | Relatório - #{report.report_name_locale} -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/video_200k_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Veja o vídeo sobre conquistas dos 200 mil apoiadores do Catarse. Você é um deles! 2 | 3 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/entities/time-description.d.ts: -------------------------------------------------------------------------------- 1 | export type TimeDescription = { 2 | total: number; 3 | unit: "days" | "hours" | "minutes" | "seconds"; 4 | } -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/shared/services/infra/entities/body.ts: -------------------------------------------------------------------------------- 1 | export type Body = JSON | Document | Blob | BufferSource | FormData | URLSearchParams | String | string | null -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/assets/config/manifest.js: -------------------------------------------------------------------------------- 1 | //= link_tree ../images 2 | //= link_directory ../stylesheets .css 3 | //= link my_engine_manifest.js 4 | -------------------------------------------------------------------------------- /services/catarse/spec/factories/countries_factories.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | FactoryBot.define do 4 | factory :country do 5 | name { 'Brasil' } 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /services/common/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Why 2 | 3 | Explain what this PR does. 4 | 5 | ### Wrap up checklist 6 | 7 | - [ ] All new doc follows the [styleguide](./doc_style.md) 8 | -------------------------------------------------------------------------------- /services/hook-service-api/.circleci/setup-heroku.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cat > ~/.netrc << EOF 3 | machine api.heroku.com 4 | login $HEROKU_LOGIN 5 | password $HEROKU_API_KEY 6 | EOF 7 | -------------------------------------------------------------------------------- /services/payment-service-api/.circleci/setup-heroku.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cat > ~/.netrc << EOF 3 | machine api.heroku.com 4 | login $HEROKU_LOGIN 5 | password $HEROKU_API_KEY 6 | EOF 7 | -------------------------------------------------------------------------------- /services/service-core-db/.circleci/setup-heroku.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cat > ~/.netrc << EOF 3 | machine api.heroku.com 4 | login $HEROKU_LOGIN 5 | password $HEROKU_API_KEY 6 | EOF 7 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-01-22-125700_add_subscription_versions/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE payment_service.subscription_versions; -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-07-26-160149_create_direct_messages/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE community_service.direct_messages; 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-02-154631_create_temp_login_api_keys/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE community_service.temp_login_api_keys; -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-08-131620_add_project_transitions/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE project_service.project_transitions; 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-10-22-140657_add_contributions_view/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP VIEW "payment_service_api"."contributions"; 3 | -------------------------------------------------------------------------------- /services/service-core-db/setup_fdw_grants.sql.example: -------------------------------------------------------------------------------- 1 | grant usage on schema payment_service to catarse_fdw; 2 | grant select on all tables in schema payment_service to catarse_fdw; 3 | -------------------------------------------------------------------------------- /.ignore: -------------------------------------------------------------------------------- 1 | services/catarse/tmp 2 | services/catarse/logs 3 | services/common-api/logs 4 | services/common-api/tmp 5 | services/catarse/public/assets 6 | services/catarse/app/assets/images 7 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/category_icon14x14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/category_icon14x14.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/comments_icon28x18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/comments_icon28x18.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/contribution_city.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/contribution_city.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/contribution_info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/contribution_info.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/contribution_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/contribution_info.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/explore_icon23x15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/explore_icon23x15.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/facebook_icon13x26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/facebook_icon13x26.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_creditsmoney.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_creditsmoney.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_submitbacker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_submitbacker.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/label_orange_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/label_orange_list.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/profile_icon19x14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/profile_icon19x14.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/schedule_icon19x22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/schedule_icon19x22.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/twitter_black_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/twitter_black_icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/twitter_icon28x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/twitter_icon28x24.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/2nd_slip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/2nd_slip.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/logo_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/logo_big.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/tag-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/tag-icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarsesolidariablueheart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarsesolidariablueheart.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/logo-catarse-back-carrosel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/logo-catarse-back-carrosel.png -------------------------------------------------------------------------------- /services/catarse/app/assets/javascripts/api/application.js.erb: -------------------------------------------------------------------------------- 1 | //= require ../analytics 2 | //= require i18n/translations 3 | //= require jquery 4 | //= require ../lib/replace-diacritics 5 | -------------------------------------------------------------------------------- /services/catarse/app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ApplicationCable 4 | class Channel < ActionCable::Channel::Base 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/caixola_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [ATUALIZAÇÃO 01] Suspensão do projeto "Caixola - uma caixa para o inesperado" | Equipe Catarse 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/confirm_contribution_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Recibo provisório: apoio confirmado para #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/delivery_error_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [ATENÇÃO] Erro ao enviar sua recompensa do projeto #{@notification.project.try(:name)} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_visible_subject.text.slim: -------------------------------------------------------------------------------- 1 | |O projeto #{@notification.project.name} está no ar no #{CatarseSettings[:company_name]} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/refunded_and_canceled_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Reembolso efetuado: apoio para projeto #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/root/users/edit/#balance/controllers/use-cases/entities/bank.d.ts: -------------------------------------------------------------------------------- 1 | export type Bank = { 2 | id: number 3 | code: string 4 | name: string 5 | } -------------------------------------------------------------------------------- /services/catarse/config/spring.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Spring.watch( 4 | '.ruby-version', 5 | '.rbenv-vars', 6 | 'tmp/restart.txt', 7 | 'tmp/caching-dev.txt' 8 | ) 9 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20131010194521_drop_reward_ranges.rb: -------------------------------------------------------------------------------- 1 | class DropRewardRanges < ActiveRecord::Migration[4.2] 2 | def change 3 | drop_table :reward_ranges 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20140711220046_drop_notifications.rb: -------------------------------------------------------------------------------- 1 | class DropNotifications < ActiveRecord::Migration[4.2] 2 | def change 3 | drop_table :notifications 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/credit_card.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class CreditCard < ActiveRecord::Base 4 | belongs_to :user 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/user_total.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class UserTotal < ActiveRecord::Base 4 | self.primary_key = :id 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/spec/support/devise.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | RSpec.configure do |config| 4 | config.include Devise::Test::ControllerHelpers, type: :controller 5 | end 6 | -------------------------------------------------------------------------------- /services/common-api/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require_relative 'application' 3 | 4 | # Initialize the Rails application. 5 | Rails.application.initialize! 6 | -------------------------------------------------------------------------------- /services/notification-service-api/.circleci/setup-heroku.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cat > ~/.netrc << EOF 3 | machine api.heroku.com 4 | login $HEROKU_LOGIN 5 | password $HEROKU_API_KEY 6 | EOF 7 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-12-01-115147_create_subscribers_endpoint/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | 3 | drop view project_service_api.subscribers; 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-07-03-050015_add_saved_credit_cards_endpoint/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop view payment_service_api.saved_credit_cards; -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-07-13-163614_create_information_service_schema/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP SCHEMA information_service CASCADE; 3 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-selo-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-selo-1.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-selo-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-selo-2.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-selo-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-selo-3.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/facebook_black_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/facebook_black_icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/glyphicons-halflings.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_backersucessfull.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_backersucessfull.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_guidelinesstart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_guidelinesstart.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_projectnotfunded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_projectnotfunded.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_projectsuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_projectsuccess.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_refreshproject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_refreshproject.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/newsletter_icon18x15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/newsletter_icon18x15.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/submit_back_icon25x22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/submit_back_icon25x22.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/badge-aon-h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/badge-aon-h.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/badge-aon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/badge-aon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/badge-flex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/badge-flex.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/badge-sub-h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/badge-sub-h.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/botao_envie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/botao_envie.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/git-footer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/git-footer.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/gmail-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/gmail-icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/google-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/google-icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/icon-lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/icon-lock.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/icon-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/icon-menu.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/icon-play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/icon-play.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/launch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/launch-icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/logo_small.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/lupa_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/lupa_grey.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/twitter-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/twitter-256.png -------------------------------------------------------------------------------- /services/catarse/app/models/gateway_balance_operation.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class GatewayBalanceOperation < ApplicationRecord 4 | serialize :operation_data, JSON 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/layouts/_facebook_share.html.slim: -------------------------------------------------------------------------------- 1 | .fb-share-button data-href=(defined?(href) ? href : "#{CatarseSettings[:facebook_url]}") data-layout="button_count" 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contribution_canceled_pix_subject.text.slim: -------------------------------------------------------------------------------- 1 | | 2ª via do pix para apoiar o projeto #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contribution_canceled_slip_subject.text.slim: -------------------------------------------------------------------------------- 1 | | 2ª via de boleto para apoiar o projeto #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contribution_canceled_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Pagamento Cancelado: apoio para o projeto #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/posts_subject.text.slim: -------------------------------------------------------------------------------- 1 | ==> @notification.project_post.project.name 2 | '- Novidade: 3 | == @notification.project_post.title 4 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/video_200k_project_owner_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Veja o vídeo dos 200 mil apoiadores no Catarse e use como material de campanha 2 | 3 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/shared/services/infra/entities/index.ts: -------------------------------------------------------------------------------- 1 | export * from './body' 2 | export * from './headers' 3 | export * from './response' 4 | export * from './middleware' -------------------------------------------------------------------------------- /services/catarse/db/migrate/20150122153621_add_about_to_users.rb: -------------------------------------------------------------------------------- 1 | class AddAboutToUsers < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :users, :about, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20170928213212_add_title_to_goals.rb: -------------------------------------------------------------------------------- 1 | class AddTitleToGoals < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :goals, :title, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/Rakefile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "bundler/setup" 4 | 5 | load "rails/tasks/statistics.rake" 6 | 7 | require "bundler/gem_tasks" 8 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ApplicationController < ActionController::Base 4 | end 5 | -------------------------------------------------------------------------------- /services/common-api/vendor/gems/common_models/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | require "rspec/core/rake_task" 3 | 4 | RSpec::Core::RakeTask.new(:spec) 5 | 6 | task :default => :spec 7 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-11-17-185613_add_payment_info_endpoint/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function payment_service_api.payment_info(id uuid); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-01-23-152450_add_create_credit_card_func/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function payment_service_api.credit_card(data json) -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-04-02-232800_cancel_project_endpoint/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function project_service_api.cancel_project(id uuid); -------------------------------------------------------------------------------- /compose_env/.recommender_service_api.env.sample: -------------------------------------------------------------------------------- 1 | DATABASE_URL=postgres://catarse:example@catarse_db:5432/catarse_db 2 | FLASK_APP=application.py 3 | LC_ALL=C.UTF-8 4 | LANG=C.UTF-8 5 | PYTHONPATH=/usr 6 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/icon_liwork~imageoptim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/icon_liwork~imageoptim.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/reward_count_icon18x17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/reward_count_icon18x17.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/badge-flex-h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/badge-flex-h.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/banner-3years.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/banner-3years.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/catarse-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/catarse-logo.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/display_slip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/display_slip.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/facebook-xxl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/facebook-xxl.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/feedback-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/feedback-key.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/feedback-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/feedback-open.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/icon-catarse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/icon-catarse.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/logo_big_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/logo_big_old.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/payment_cards.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/payment_cards.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/channels/logo_asas_notificacao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/channels/logo_asas_notificacao.png -------------------------------------------------------------------------------- /services/catarse/app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ApplicationCable 4 | class Connection < ActionCable::Connection::Base 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /services/catarse/app/models/donation.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class Donation < ApplicationRecord 4 | has_notifications 5 | has_many :contributions 6 | belongs_to :user 7 | end 8 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contribution_project_successful_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Recibo definitivo: apoio para o projeto #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_contribution_confirmed_after_finished_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Atualização no saldo - Contribuição confirmada após saque. 2 | 3 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/entities/state.d.ts: -------------------------------------------------------------------------------- 1 | export type State = { 2 | id: number 3 | name: string 4 | acronym: string 5 | created_at: string 6 | updated_at: string 7 | } -------------------------------------------------------------------------------- /services/catarse/db/migrate/20131010194345_drop_channels_trustees.rb: -------------------------------------------------------------------------------- 1 | class DropChannelsTrustees < ActiveRecord::Migration[4.2] 2 | def change 3 | drop_table :channels_trustees 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20170419133911_add_title_to_rewards.rb: -------------------------------------------------------------------------------- 1 | class AddTitleToRewards < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :rewards, :title, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/app/assets/config/catarse_scripts_manifest.js: -------------------------------------------------------------------------------- 1 | //= link_directory ../stylesheets/catarse_scripts .css 2 | //= link_directory ../javascripts/catarse_scripts .js 3 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/factories/users_factory.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | FactoryBot.define do 4 | factory :user do 5 | name { 'Fulano' } 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/rails_controlling_testing.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'rails-controller-testing' 4 | Rails::Controller::Testing.install 5 | -------------------------------------------------------------------------------- /services/catarse/spec/factories/categories_factories.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | FactoryBot.define do 4 | factory :category do 5 | name_pt { generate(:name) } 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/00000000000000_diesel_initial_setup/down.sql: -------------------------------------------------------------------------------- 1 | DROP FUNCTION IF EXISTS diesel_manage_updated_at(_tbl regclass); 2 | DROP FUNCTION IF EXISTS diesel_set_updated_at(); 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-11-15-170302_missing_grants_for_subscriptions/up.sql: -------------------------------------------------------------------------------- 1 | -- Your SQL goes here 2 | grant select on payment_service_api.subscriptions to platform_user, scoped_user; -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-12-16-140051_create_cancel_subscription/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | 3 | delete from pg_enum where enumlabel = 'canceling'; 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-01-03-182626_add_cancel_subscriptions_function/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP FUNCTION payment_service.cancel_subscriptions(); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-04-05-125945_add_chargeback_payment_route/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function payment_service_api.chargeback_payment(id uuid); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-05-14-224135_add_notify_expiring_slip_function/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop FUNCTION payment_service.notify_expiring_slips; 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-09-10-160633_create_direct_messages_endpoint/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP VIEW "community_service_api"."direct_messages"; 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-11-16-151257_set_subscription_anonymity/down.sql: -------------------------------------------------------------------------------- 1 | DROP FUNCTION payment_service_api.set_subscription_anonymity(subscription_id uuid, set_anonymity_state boolean); -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/submit_project_icon25x13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/submit_project_icon25x13.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/banner-content.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/banner-content.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/banner_explore.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/banner_explore.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/btn-querodecidir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/btn-querodecidir.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/catarse-assets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/catarse-assets.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/download_report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/download_report.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/feedback-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/feedback-close.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/icon-newsletter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/icon-newsletter.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/icons/icon-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/icons/icon-close.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/payment_boleto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/payment_boleto.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/pending_payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/pending_payment.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/request_refund.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/request_refund.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/jquery-ui/ui-icons_4eb305_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/jquery-ui/ui-icons_4eb305_256x240.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/jquery-ui/ui-icons_72b42d_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/jquery-ui/ui-icons_72b42d_256x240.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/login_with_facebook_button310x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/login_with_facebook_button310x60.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/login_with_facebook_button356x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/login_with_facebook_button356x60.png -------------------------------------------------------------------------------- /services/catarse/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ApplicationMailer < ActionMailer::Base 4 | default from: 'from@example.com' 5 | layout 'mailer' 6 | end 7 | -------------------------------------------------------------------------------- /services/catarse/app/policies/credit_card_policy.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class CreditCardPolicy < ApplicationPolicy 4 | def destroy? 5 | done_by_owner_or_admin? 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /services/catarse/app/policies/home_banner_policy.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class HomeBannerPolicy < ApplicationPolicy 4 | 5 | def update? 6 | is_admin? 7 | end 8 | 9 | end -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_success_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [Ação necessária] Parabéns pelo sucesso da campanha! Você já pode solicitar o saque do dinheiro :-) 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/.codeclimate.yml: -------------------------------------------------------------------------------- 1 | languages: 2 | Ruby: true 3 | JavaScript: true 4 | PHP: true 5 | Python: true 6 | exclude_paths: 7 | - "dist/catarse.js" 8 | - "dist/catarse.min.js" 9 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/legacy/src/entities/shipping-fee.d.ts: -------------------------------------------------------------------------------- 1 | export type ShippingFee = { 2 | destination: 'others' | string 3 | id: number 4 | reward_id: number 5 | value: number 6 | } -------------------------------------------------------------------------------- /services/catarse/config/initializers/omniauth_controller_methods.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | begin 4 | OmniauthCallbacksController.add_providers 5 | rescue StandardError 6 | nil 7 | end 8 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20130410190247_add_image_to_channels.rb: -------------------------------------------------------------------------------- 1 | class AddImageToChannels < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :channels, :image, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20130419184530_add_state_to_backers.rb: -------------------------------------------------------------------------------- 1 | class AddStateToBackers < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :backers, :state, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20150127034613_add_cover_into_users.rb: -------------------------------------------------------------------------------- 1 | class AddCoverIntoUsers < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :users, :cover_image, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20160525192114_gtm_to_project.rb: -------------------------------------------------------------------------------- 1 | class GtmToProject < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :projects, :tracker_snippet_html, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | require_relative '../config/boot' 5 | require 'rake' 6 | Rake.application.run 7 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # frozen_string_literal: true 3 | 4 | require_relative "../config/boot" 5 | require "rake" 6 | Rake.application.run 7 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/tmp/development_secret.txt: -------------------------------------------------------------------------------- 1 | 52d5192acea384dd8a191a3f0b011c94504afce3dd17ea0a8c566a0f782e177f8aab30532494ce813e8da401027e9a9079a6c6e34bc8c26aa88a67ca7b5cb628 -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/support/time_helpers.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | RSpec.configure do |config| 4 | config.include ActiveSupport::Testing::TimeHelpers 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/spec/factories/banks_factories.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | FactoryBot.define do 4 | factory :bank do 5 | name { 'Foo' } 6 | sequence(:code, 900) 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /services/catarse/spec/factories/cities_factories.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | FactoryBot.define do 4 | factory :city do 5 | association :state 6 | name { 'foo' } 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /services/catarse/spec/models/user_total_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'rails_helper' 4 | 5 | RSpec.describe UserTotal, type: :model do 6 | skip 'put some tests here' 7 | end 8 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-11-30-164851_add_notifications_template_to_api/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop view notification_service_api.notification_templates; -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-12-17-014704_add_canceling_status/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | 3 | DROP FUNCTION payment_service_api."cancel_subscription"(id uuid); 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2020-05-16-140116_create_antifraud_analyses_table/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE IF EXISTS payment_service.antifraud_analyses; 3 | -------------------------------------------------------------------------------- /compose_env/.common_api.env.sample: -------------------------------------------------------------------------------- 1 | PORT=3000 2 | DATABASE_URL=postgres://postgres:example@10.0.1.43:5432/service_core 3 | JWT_SECRET=bUH75katNm6Yj0iPSchcgUuTwYAzZr7C 4 | GATEWAY_API_KEY=API_PAGARME_TEST_HERE 5 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-logo-vertical-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-logo-vertical-1.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-logo-vertical-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-logo-vertical-2.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-logo-vertical-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-logo-vertical-3.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-logo-vertical-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-logo-vertical-4.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/badge-aon-h-margin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/badge-aon-h-margin.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/badge-sub-h-margin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/badge-sub-h-margin.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/btn-answer-survey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/btn-answer-survey.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/btn-definir-prazo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/btn-definir-prazo.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/delivery_confirmed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/delivery_confirmed.gif -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/logo_icon_catarse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/logo_icon_catarse.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/start/tudo-ou-nada.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/start/tudo-ou-nada.png -------------------------------------------------------------------------------- /services/catarse/app/models/project_budget.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ProjectBudget < ApplicationRecord 4 | belongs_to :project 5 | 6 | validates :name, :value, presence: true 7 | end 8 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/balance_transfer_error_subject.text.slim: -------------------------------------------------------------------------------- 1 | | [Ação necessária] A transferência falhou. Corrija seus dados bancários e solicite o saque novamente! 2 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20130104005632_add_moip_login_to_users.rb: -------------------------------------------------------------------------------- 1 | class AddMoipLoginToUsers < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :users, :moip_login, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20130212145115_rename_name_to_name_pt.rb: -------------------------------------------------------------------------------- 1 | class RenameNameToNamePt < ActiveRecord::Migration[4.2] 2 | def change 3 | rename_column :categories, :name, :name_pt 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20141215153054_add_budget_to_projects.rb: -------------------------------------------------------------------------------- 1 | class AddBudgetToProjects < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :projects, :budget, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20150127023738_add_about_html_to_user.rb: -------------------------------------------------------------------------------- 1 | class AddAboutHtmlToUser < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :users, :about_html, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20150811194423_add_payment_key_index.rb: -------------------------------------------------------------------------------- 1 | class AddPaymentKeyIndex < ActiveRecord::Migration[4.2] 2 | def change 3 | add_index :payments, :key, unique: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20150824141759_add_city_to_projects.rb: -------------------------------------------------------------------------------- 1 | class AddCityToProjects < ActiveRecord::Migration[4.2] 2 | def change 3 | add_reference :projects, :city, index: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20160916185933_add_banned_at_to_user.rb: -------------------------------------------------------------------------------- 1 | class AddBannedAtToUser < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :users, :banned_at, :datetime 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/app/jobs/catarse_scripts/application_job.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module CatarseScripts 4 | class ApplicationJob < ActiveJob::Base 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/app/models/application_record.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ApplicationRecord < ActiveRecord::Base 4 | self.abstract_class = true 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_scripts/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Rails.application.routes.draw do 4 | mount CatarseScripts::Engine => '/catarse_scripts' 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/spec/factories/donations_factories.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | FactoryBot.define do 4 | factory :donation do 5 | association :user 6 | amount { 10 } 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /services/common-api/vendor/gems/common_models/spec/common_models_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe CommonModels do 2 | it "has a version number" do 3 | expect(CommonModels::VERSION).not_to be nil 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-11-07-154324_add_projet_subscribers_info/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function analytics_service_api.project_subscribers_info(id uuid); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-12-02-185242_added_function_to_expire_slip_payments/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function payment_service.refuse_expired_slip_payments(); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2017-12-04-153842_fix_subscribers_persmissions/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | 3 | revoke USAGE on SCHEMA project_service_api from anonymous ; 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-02-07-160205_create_user_notifications_endpoint/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop VIEW "notification_service_api"."user_notifications"; 3 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-04-25-124631_add_inactive_invalid_subscriptions/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function payment_service.inactive_invalid_subscriptions(); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-06-08-115610_add_goals_table/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE project_service.goal_versions; 3 | DROP TABLE project_service.goals; 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-08-21-173439_add_address_to_users/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | 3 | alter table community_service.users 4 | drop column address_id; 5 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-logo-horizontal-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-logo-horizontal-1.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-logo-horizontal-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-logo-horizontal-2.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-logo-horizontal-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-logo-horizontal-3.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/assets-catarse/asset-logo-horizontal-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/assets-catarse/asset-logo-horizontal-4.jpg -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/institutional_video_icon16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/institutional_video_icon16x16.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse/sidebar_contributions_icon26x19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse/sidebar_contributions_icon26x19.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/badge-flex-h-margin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/badge-flex-h-margin.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/botao_bemvindo_EN_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/botao_bemvindo_EN_big.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/botao_bemvindo_PT_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/botao_bemvindo_PT_big.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/icons/category-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/icons/category-icon.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/payment_cards_pagarme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/payment_cards_pagarme.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/start/trabalhe-muito.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/start/trabalhe-muito.png -------------------------------------------------------------------------------- /services/catarse/app/assets/images/jquery-ui/ui-bg_glass_55_fbf5d0_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/jquery-ui/ui-bg_glass_55_fbf5d0_1x400.png -------------------------------------------------------------------------------- /services/catarse/app/models/project_error.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ProjectError < ApplicationRecord 4 | belongs_to :project 5 | 6 | validates :error, :to_state, presence: true 7 | end 8 | -------------------------------------------------------------------------------- /services/catarse/app/models/project_total.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class ProjectTotal < ApplicationRecord 4 | self.table_name = '"1".project_totals' 5 | self.primary_key = :project_id 6 | end 7 | -------------------------------------------------------------------------------- /services/catarse/app/models/user_admin_role.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class UserAdminRole < ApplicationRecord 4 | belongs_to :user 5 | 6 | validates :user, :role_label, presence: true 7 | end 8 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contributions_project_unsuccessful_pix_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Reembolso: apoio para o projeto não-financiado #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/delivery_approaching_subject.text.slim: -------------------------------------------------------------------------------- 1 | | O prazo para você entregar as recompensas do projeto #{@notification.project.name} está se aproximando! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_owner_chargeback_subject.text.slim: -------------------------------------------------------------------------------- 1 | - project = @notification.contribution.project 2 | | Apoio para o projeto #{project.name} foi contestado. 3 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | .*/bower_components/.* 3 | .*/node_modules/.* 4 | .*/dist/.* 5 | .*/spec/.* 6 | .*/compiled/.* 7 | 8 | [include] 9 | 10 | [libs] 11 | 12 | [options] 13 | -------------------------------------------------------------------------------- /services/catarse/config/webpack/test.js: -------------------------------------------------------------------------------- 1 | process.env.NODE_ENV = process.env.NODE_ENV || 'development' 2 | 3 | const environment = require('./environment') 4 | 5 | module.exports = environment.toWebpackConfig() 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20130410191240_add_website_to_channels.rb: -------------------------------------------------------------------------------- 1 | class AddWebsiteToChannels < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :channels, :website, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20131010194500_drop_projects_curated_pages.rb: -------------------------------------------------------------------------------- 1 | class DropProjectsCuratedPages < ActiveRecord::Migration[4.2] 2 | def change 3 | drop_table :projects_curated_pages 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20140729163857_add_ga_code_into_channels.rb: -------------------------------------------------------------------------------- 1 | class AddGaCodeIntoChannels < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :channels, :ga_code, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20140902233410_add_country_id_to_users.rb: -------------------------------------------------------------------------------- 1 | class AddCountryIdToUsers < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :users, :country_id, :integer 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20170131110544_add_public_name_into_users.rb: -------------------------------------------------------------------------------- 1 | class AddPublicNameIntoUsers < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :users, :public_name, :text 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20170714193111_add_address_id_to_users.rb: -------------------------------------------------------------------------------- 1 | class AddAddressIdToUsers < ActiveRecord::Migration[4.2] 2 | def change 3 | add_reference :users, :address, index: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20170811193453_survey_constraint.rb: -------------------------------------------------------------------------------- 1 | class SurveyConstraint < ActiveRecord::Migration[4.2] 2 | def change 3 | execute "ALTER TABLE surveys ADD UNIQUE (reward_id);" 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/app/models/payment_notification.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class PaymentNotification < ActiveRecord::Base 4 | belongs_to :contribution 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Rails.application.routes.draw do 4 | mount CatarsePagarme::Engine => "/", as: :catarse_pagarme 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/engines/catarse_pagarme/spec/dummy/spec/support/testimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/engines/catarse_pagarme/spec/dummy/spec/support/testimg.png -------------------------------------------------------------------------------- /services/catarse/spec/factories/blacklist_documents_factories.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | FactoryBot.define do 4 | factory :blacklist_document do 5 | number { '64118189402' } 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /services/catarse/spec/factories/project_cancelations_factories.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | FactoryBot.define do 4 | factory :project_cancelation do 5 | association :project 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /services/common-api/vendor/gems/common_models/bin/setup: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euo pipefail 3 | IFS=$'\n\t' 4 | set -vx 5 | 6 | bundle install 7 | 8 | # Do any other automated setup that you need to do here 9 | -------------------------------------------------------------------------------- /services/payment-service-api/bin/start-payment-stream: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | pg-dispatcher --db-uri=$DATABASE_URL --tls-mode=$TLS_MODE --redis-uri=$REDIS_URL --channel=$DB_CHANNEL --workers=$WORKERS --exec="./main.js" 4 | -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-01-22-121743_add_next_charge_at_func/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function payment_service.next_charge_at(s payment_service.subscriptions); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2018-05-11-170956_add_payment_service_recharge_susbcription_function/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function payment_service.recharge_subscription(); -------------------------------------------------------------------------------- /services/service-core-db/migrations/2022-02-08-121359_add_restore_subscriptions_function/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop function payment_service_api.restore_subscription(id uuid); 3 | -------------------------------------------------------------------------------- /services/catarse/app/assets/images/catarse_bootstrap/icons/feedback-box-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/common-group/services-core/HEAD/services/catarse/app/assets/images/catarse_bootstrap/icons/feedback-box-icon.png -------------------------------------------------------------------------------- /services/catarse/app/models/city.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | class City < ApplicationRecord 4 | belongs_to :state 5 | 6 | def show_name 7 | "#{name}, #{state.acronym}" 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/projects/_dashboard_home.html.slim: -------------------------------------------------------------------------------- 1 | #project-insights-root data-id=@project.id 2 | 3 | = javascript_include_tag 'api/application' 4 | = javascript_include_tag 'api/catarse' 5 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/answer_survey_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Ação necessária! Confirme informações para entrega da recompensa do projeto #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/contributions_project_unsuccessful_slip_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Reembolso: apoio para o projeto não-financiado #{@notification.contribution.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_coming_soon_published_subject.text.slim: -------------------------------------------------------------------------------- 1 | | #{@notification.project.user.public_name} acabou de publicar o projeto #{@notification.project.name}! 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/project_contribution_refunded_after_successful_pledged_subject.text.slim: -------------------------------------------------------------------------------- 1 | | Apoio para o projeto #{@notification.contribution.project.name} foi cancelado. 2 | -------------------------------------------------------------------------------- /services/catarse/app/views/catarse_bootstrap/user_notifier/mailer/subscription_report_subject.text.slim: -------------------------------------------------------------------------------- 1 | |Resumo das atividades de #{(Time.current - 1.day).strftime('%d/%m/%Y')} da campanha #{@notification.project.name} 2 | -------------------------------------------------------------------------------- /services/catarse/catarse.js/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true -------------------------------------------------------------------------------- /services/catarse/config/webpack/development.js: -------------------------------------------------------------------------------- 1 | process.env.NODE_ENV = process.env.NODE_ENV || 'development' 2 | 3 | const environment = require('./environment') 4 | 5 | module.exports = environment.toWebpackConfig() 6 | -------------------------------------------------------------------------------- /services/catarse/config/webpack/production.js: -------------------------------------------------------------------------------- 1 | process.env.NODE_ENV = process.env.NODE_ENV || 'production' 2 | 3 | const environment = require('./environment') 4 | 5 | module.exports = environment.toWebpackConfig() 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20130211174609_add_name_en_to_categories.rb: -------------------------------------------------------------------------------- 1 | class AddNameEnToCategories < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :categories, :name_en, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20130926185207_add_video_url_to_channels.rb: -------------------------------------------------------------------------------- 1 | class AddVideoUrlToChannels < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :channels, :video_url, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20131010193936_add_channel_id_to_user.rb: -------------------------------------------------------------------------------- 1 | class AddChannelIdToUser < ActiveRecord::Migration[4.2] 2 | def change 3 | add_reference :users, :channel, foreign_key: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20131020215932_add_terms_url_to_channels.rb: -------------------------------------------------------------------------------- 1 | class AddTermsUrlToChannels < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :channels, :terms_url, :string 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /services/catarse/db/migrate/20131112113608_add_referal_link_on_backers.rb: -------------------------------------------------------------------------------- 1 | class AddReferalLinkOnBackers < ActiveRecord::Migration[4.2] 2 | def change 3 | add_column :backers, :referal_link, :text 4 | end 5 | end 6 | --------------------------------------------------------------------------------