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

dependency update #536

Merged
merged 15 commits into from
Mar 27, 2025
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
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ orbs:
aws-ecr: circleci/[email protected]
aws-ecs: circleci/[email protected]

executors:
outlandish:
machine:
image: ubuntu-2004:edge

workflows:
deploy-staging:
jobs:
- aws-ecr/build-and-push-image:
executor: outlandish
context:
- ecs-deploys
filters:
Expand All @@ -31,6 +37,7 @@ workflows:
deploy-production:
jobs:
- aws-ecr/build-and-push-image:
executor: outlandish
context:
- ecs-deploys
filters:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"symfony/twig-bundle": "^5.4",
"symfony/yaml": "^5.0",
"twig/extra-bundle": "^3.4",
"twig/twig": "^3.4"
"twig/twig": "^3.14"
},
"require-dev": {
"roave/security-advisories": "dev-latest"
Expand Down
1,392 changes: 766 additions & 626 deletions composer.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/Controller/MainController.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function packageJson(string $package, string $hash, string $dir): Respons
public function home(Request $request): Response
{
return $this->render('index.twig', [
'title' => 'WordPress Packagist: Manage your plugins and themes with Composer',
'title' => 'WPackagist: Manage your WordPress® plugins and themes with Composer',
'searchForm' => $this->getForm()->handleRequest($request)->createView(),
]);
}
Expand All @@ -130,7 +130,7 @@ public function search(Request $request, EntityManagerInterface $entityManager):
$query = mb_convert_encoding($query, 'UTF-8');

$data = [
'title' => "WordPress Packagist: Search packages",
'title' => "WPackagist: Search packages",
'searchForm' => $form->createView(),
'currentPageResults' => '',
'error' => '',
Expand Down
35 changes: 20 additions & 15 deletions web/templates/footer.twig
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
<div class="panel">
<p class="right">
<a href="https://twitter.com/wpackagist" class="twitter-follow-button" data-size="large">Follow @wpackagist</a>
<script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + '://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js, fjs);
}
}(document, 'script', 'twitter-wjs');</script>
</p>
<p>An <a href="https://outlandish.com" target="_blank">Outlandish</a> experiment.</p>
</div>
<div class="panel">
<p class="right">
<a href="https://twitter.com/wpackagist" class="twitter-follow-button" data-size="large">Follow @wpackagist</a>
<script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + '://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js, fjs);
}
}(document, 'script', 'twitter-wjs');</script>
</p>
<p>An <a href="https://outlandish.com" target="_blank">Outlandish</a> experiment.</p>
<p>
The WordPress&reg; trademark is the intellectual property of the WordPress Foundation. Uses of the WordPress&reg;
name in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation.
WPackagist is not endorsed or owned by, or affiliated with, the WordPress Foundation.
</p>
</div>
10 changes: 5 additions & 5 deletions web/templates/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% endblock %}

{% block content %}
<p class="mission">This site mirrors the WordPress <a href=
<p class="mission">This site mirrors the WordPress&reg; <a href=
"https://plugins.svn.wordpress.org/">plugin</a> and <a href=
"https://themes.svn.wordpress.org/">theme</a> directories as a <a href=
"https://getcomposer.org/">Composer</a> repository.
Expand Down Expand Up @@ -106,7 +106,7 @@

<li>Avoid having to use git submodules.</li>

<li>Manage WordPress and non-WordPress project libraries with the
<li>Manage WordPress&reg; and non-WordPress&reg; project libraries with the
same tools.</li>

<li>Could eventually be used to manage dependencies between
Expand All @@ -116,7 +116,7 @@
<h3>How does the repository work?</h3>

<ul>
<li>Scans the WordPress Subversion repository every hour for <a href=
<li>Scans the WordPress&reg; Subversion repository every hour for <a href=
"https://plugins.svn.wordpress.org/" target="_blank">plugins</a> and <a href=
"https://themes.svn.wordpress.org/" target="_blank">themes</a>. Search and click <button disabled class="search-result__refresh-button">↺</button> to make any newer versions available.
</li>
Expand Down Expand Up @@ -148,12 +148,12 @@
<li>You can also check for <a href="https://github.com/outlandishideas/wpackagist/issues" target="_blank">open issues</a>.</li>
</ul>

<h3>WordPress Core</h3>
<h3>WordPress&reg; Core</h3>

<p>See
<code><a href="https://github.com/fancyguy/webroot-installer" target="_blank">fancyguy/webroot-installer</a></code> or
<code><a href="https://github.com/roots/wordpress" target="_blank">roots/wordpress</a></code> for installing
WordPress itself using Composer.</p>
WordPress&reg; itself using Composer.</p>

<h3>Contribute or get support</h3>

Expand Down
6 changes: 3 additions & 3 deletions web/templates/layout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="{{ app.request.basepath }}/assets/css/foundation.css">
<link rel="stylesheet" href="{{ app.request.basepath }}/assets/css/style.css">
<link rel="shortcut icon" href="favicon.png">
<link rel="search" href="{{ app.request.basepath }}/opensearch.xml" type="application/opensearchdescription+xml" title="Wordpress Packagist">
<link rel="search" href="{{ app.request.basepath }}/opensearch.xml" type="application/opensearchdescription+xml" title="WPackagist">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-66E5KL2YSN"></script>
<script>
Expand All @@ -21,14 +21,14 @@
<div class="row">
<div class="small-12 columns">

<h1 id="title"><a href="{{ app.request.basepath }}/">WordPress Packagist</a></h1>
<h1 id="title"><a href="{{ app.request.basepath }}/">WPackagist</a></h1>

{% block content %}{% endblock %}

{% include 'footer.twig' %}
</div>
</div>
<a href="https://github.com/outlandishideas/wpackagist" class="fork"><img src="{{ app.request.basepath }}/assets/img/fork.png" alt="Fork WordPress Packagist on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<a href="https://github.com/outlandishideas/wpackagist" class="fork"><img src="{{ app.request.basepath }}/assets/img/fork.png" alt="Fork WPackagist on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="{{ app.request.basepath }}/assets/js/main.js"></script>
</body>
Expand Down
12 changes: 6 additions & 6 deletions web/templates/opensearch.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Wordpress Packagist</ShortName>
<Description>Search Wordpress plugins and themes</Description>
<Url type="text/html" template="http://{{ host }}{{ app.request.basepath }}/search?q={searchTerms}"/>
</OpenSearchDescription>
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>WPackagist</ShortName>
<Description>Search Wordpress&reg; plugins and themes</Description>
<Url type="text/html" template="http://{{ host }}{{ app.request.basepath }}/search?q={searchTerms}"/>
</OpenSearchDescription>
2 changes: 1 addition & 1 deletion web/templates/search.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<th width="8%">Type</th>
<th width="20%">Name</th>
<th width="16%"><abbr title="Last time a modification was committed to the SVN repository">Last committed</abbr></th>
<th width="16%"><abbr title="Last time this package was updated in the WordPress Packagist database">Last fetched</abbr></th>
<th width="16%"><abbr title="Last time this package was updated in the WordPress® Packagist database">Last fetched</abbr></th>
<th width="32%">Versions</th>
<th width="4%">Active</th>
<th width="4%">Refresh</th>
Expand Down