Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken links #1060

Merged
merged 1 commit into from
Jan 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'bootstrap-tagsinput';

$(function() {
// Datetime picker initialization.
// See http://eonasdan.github.io/bootstrap-datetimepicker/
// See https://eonasdan.github.io/bootstrap-datetimepicker/
$('[data-toggle="datetimepicker"]').datetimepicker({
icons: {
time: 'fa fa-clock-o',
Expand All @@ -22,7 +22,7 @@ $(function() {
});

// Bootstrap-tagsinput initialization
// http://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/
// https://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/
var $input = $('input[data-toggle="tagsinput"]');
if ($input.length) {
var source = new Bloodhound({
Expand Down
10 changes: 5 additions & 5 deletions assets/js/doclinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ $(function() {
// Wraps Symfony's annotations
var annotations = {
'@Cache': 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/cache.html',
'@Method': 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/routing.html#route-method',
'@IsGranted': 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html#isgranted',
'@ParamConverter': 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html',
'@Route': 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/routing.html#usage',
'@Security': 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html'
'@Route': 'https://symfony.com/doc/current/routing.html#creating-routes-as-annotations',
'@Security': 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html#security'
};

$controllerCode.find('.hljs-doctag').each(function() {
Expand All @@ -42,7 +42,7 @@ $(function() {
return;
}

var url = 'https://twig.symfony.com/doc/2.x/tags/' + tag + '.html#' + tag;
var url = 'https://twig.symfony.com/doc/3.x/tags/' + tag + '.html#' + tag;

$(this).html(anchor(url, tag));
});
Expand All @@ -51,7 +51,7 @@ $(function() {
$templateCode.find('.hljs-template-variable > .hljs-name').each(function() {
var func = $(this).text();

var url = 'https://twig.symfony.com/doc/2.x/functions/' + func + '.html#' + func;
var url = 'https://twig.symfony.com/doc/3.x/functions/' + func + '.html#' + func;

$(this).html(anchor(url, func));
});
Expand Down
2 changes: 1 addition & 1 deletion config/packages/dev/swiftmailer.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See https://symfony.com/doc/current/email/dev_environment.html
# See https://symfony.com/doc/current/email.html#how-to-work-with-emails-during-development
swiftmailer:
# send all emails to a specific address
#delivery_addresses: ['me@example.com']
2 changes: 1 addition & 1 deletion config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ framework:

# When using the HTTP Cache, ESI allows to render page fragments separately
# and with different cache configurations for each fragment
# https://symfony.com/doc/current/book/http_cache.html#edge-side-includes
# https://symfony.com/doc/current/http_cache/esi.html
esi: true
fragments: true

Expand Down
10 changes: 5 additions & 5 deletions config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ security:
encoders:
# Our user class and the algorithm we'll use to encode passwords
# 'auto' means to let Symfony choose the best possible password hasher (Argon2 or Bcrypt)
# https://symfony.com/doc/current/security.html#c-encoding-the-user-s-password
# https://symfony.com/doc/current/security.html#c-encoding-passwords
App\Entity\User: 'auto'

providers:
# https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
# https://symfony.com/doc/current/security/user_provider.html
# In this example, users are stored via Doctrine in the database
# To see the users at src/App/DataFixtures/ORM/LoadFixtures.php
# To load users from somewhere else: https://symfony.com/doc/current/security/custom_provider.html
# To load users from somewhere else: https://symfony.com/doc/current/security/user_provider.html#creating-a-custom-user-provider
database_users:
entity: { class: App\Entity\User, property: username }

# https://symfony.com/doc/current/security.html#initial-security-yml-setup-authentication
# https://symfony.com/doc/current/security.html#a-authentication-firewalls
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
Expand All @@ -36,7 +36,7 @@ security:
# When the user tries to access a protected page, they are redirected here
login_path: security_login
# Secure the login form against CSRF
# Reference: https://symfony.com/doc/current/security/csrf_in_login_form.html
# Reference: https://symfony.com/doc/current/security/csrf.html#csrf-protection-in-login-forms
csrf_token_generator: security.csrf.token_manager
# The page users are redirect to when there is no previous page stored in the
# session (for example when the users access directly to the login page).
Expand Down
2 changes: 1 addition & 1 deletion config/packages/test/security.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# this configuration simplifies testing URLs protected by the security mechanism
# See https://symfony.com/doc/current/cookbook/testing/http_authentication.html
# See https://symfony.com/doc/current/testing/http_authentication.html
security:
firewalls:
main:
Expand Down
2 changes: 1 addition & 1 deletion config/routes.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# These lines define a route using YAML configuration. The controller used by
# the route (FrameworkBundle:Template:template) is a convenient shortcut when
# the template can be rendered without executing any logic in your own controller.
# See https://symfony.com/doc/current/cookbook/templating/render_without_controller.html
# See https://symfony.com/doc/current/templates.html#rendering-a-template-directly-from-a-route
homepage:
path: /{_locale}
controller: Symfony\Bundle\FrameworkBundle\Controller\TemplateController::templateAction
Expand Down
2 changes: 1 addition & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
# https://symfony.com/doc/current/best_practices.html#configuration
parameters:
locale: 'en'
# This parameter defines the codes of the locales (languages) enabled in the application
Expand Down
16 changes: 8 additions & 8 deletions public/build/0.js

Large diffs are not rendered by default.

Loading