rewrite phase 2 - new api partially implemented

This commit is contained in:
Chris
2025-05-17 17:29:25 +02:00
parent 956368e444
commit 5c6b17bcca
692 changed files with 22697 additions and 28371 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,2 @@
test.php
notice.txt notice.txt
lib/vendor
.vscode .vscode

View File

@@ -1,3 +1 @@
# V2.0.0 (Nov 2023) -> See https://github.com/HaschekSolutions/pictshare/tags
- Pushed current release to version 2.0
- Updated CI to include versions

828
LICENSE
View File

@@ -1,201 +1,693 @@
Apache License PictShare - Self-hosted media sharing platform
Version 2.0, January 2004 Copyright (c) 2025 Haschek Solutions
http://www.apache.org/licenses/ https://github.com/HaschekSolutions/pictshare
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
1. Definitions. This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
"License" shall mean the terms and conditions for use, reproduction, You should have received a copy of the GNU Affero General Public License
and distribution as defined by Sections 1 through 9 of this document. along with this program. If not, see <https://www.gnu.org/licenses/>.
"Licensor" shall mean the copyright owner or entity authorized by Commercial licensing:
the copyright owner that is granting the License. ---------------------
This project is also available under a commercial license for organizations
that do not wish to comply with the terms of the AGPLv3.
"Legal Entity" shall mean the union of the acting entity and all For proprietary licensing, partnership opportunities, or other inquiries,
other entities that control, are controlled by, or are under common please contact:
control with that entity. For the purposes of this definition, 📧 office@haschek.solutions
"control" means (i) the power, direct or indirect, to cause the 🌐 https://haschek.solutions
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity SPDX-License-Identifier: AGPL-3.0-or-later
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object GNU AFFERO GENERAL PUBLIC LICENSE
form, that is based on (or derived from) the Work and for which the Version 3, 19 November 2007
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
the original version of the Work and any modifications or additions Everyone is permitted to copy and distribute verbatim copies
to that Work or Derivative Works thereof, that is intentionally of this license document, but changing it is not allowed.
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity Preamble
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of The GNU Affero General Public License is a free, copyleft license for
this License, each Contributor hereby grants to You a perpetual, software and other kinds of works, specifically designed to ensure
worldwide, non-exclusive, no-charge, royalty-free, irrevocable cooperation with the community in the case of network server software.
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of The licenses for most software and other practical works are designed
this License, each Contributor hereby grants to You a perpetual, to take away your freedom to share and change the works. By contrast,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable our General Public Licenses are intended to guarantee your freedom to
(except as stated in this section) patent license to make, have made, share and change all versions of a program--to make sure it remains free
use, offer to sell, sell, import, and otherwise transfer the Work, software for all its users.
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the When we speak of free software, we are referring to freedom, not
Work or Derivative Works thereof in any medium, with or without price. Our General Public Licenses are designed to make sure that you
modifications, and in Source or Object form, provided that You have the freedom to distribute copies of free software (and charge for
meet the following conditions: them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
(a) You must give any other recipients of the Work or Developers that use our General Public Licenses protect your rights
Derivative Works a copy of this License; and with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
(b) You must cause any modified files to carry prominent notices A secondary benefit of defending all users' freedom is that
stating that You changed the files; and improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
(c) You must retain, in the Source form of any Derivative Works The GNU Affero General Public License is designed specifically to
that You distribute, all copyright, patent, trademark, and ensure that, in such cases, the modified source code becomes available
attribution notices from the Source form of the Work, to the community. It requires the operator of a network server to
excluding those notices that do not pertain to any part of provide the source code of the modified version running there to the
the Derivative Works; and users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
(d) If the Work includes a "NOTICE" text file as part of its An older license, called the Affero General Public License and
distribution, then any Derivative Works that You distribute must published by Affero, was designed to accomplish similar goals. This is
include a readable copy of the attribution notices contained a different license, not a version of the Affero GPL, but Affero has
within such NOTICE file, excluding those notices that do not released a new version of the Affero GPL which permits relicensing under
pertain to any part of the Derivative Works, in at least one this license.
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and The precise terms and conditions for copying, distribution and
may provide additional or different license terms and conditions modification follow.
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, TERMS AND CONDITIONS
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade 0. Definitions.
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or "This License" refers to version 3 of the GNU Affero General Public License.
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, "Copyright" also means copyright-like laws that apply to other kinds of
whether in tort (including negligence), contract, or otherwise, works, such as semiconductor masks.
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing "The Program" refers to any copyrightable work licensed under this
the Work or Derivative Works thereof, You may choose to offer, License. Each licensee is addressed as "you". "Licensees" and
and charge a fee for, acceptance of support, warranty, indemnity, "recipients" may be individuals or organizations.
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only To "modify" a work means to copy from or adapt all or part of the work
on Your own behalf and on Your sole responsibility, not on behalf in a fashion requiring copyright permission, other than the making of an
of any other Contributor, and only if You agree to indemnify, exact copy. The resulting work is called a "modified version" of the
defend, and hold each Contributor harmless for any liability earlier work or a work "based on" the earlier work.
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability. A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work. How to Apply These Terms to Your New Programs
To apply the Apache License to your work, attach the following If you develop a new program, and you want it to be of the greatest
boilerplate notice, with the fields enclosed by brackets "{}" possible use to the public, the best way to achieve this is to make it
replaced with your own identifying information. (Don't include free software which everyone can redistribute and change under these terms.
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2015 Christian Haschek (HASCHEK SOLUTIONS) To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Licensed under the Apache License, Version 2.0 (the "License"); <one line to give the program's name and a brief idea of what it does.>
you may not use this file except in compliance with the License. Copyright (C) <year> <name of author>
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Unless required by applicable law or agreed to in writing, software This program is distributed in the hope that it will be useful,
distributed under the License is distributed on an "AS IS" BASIS, but WITHOUT ANY WARRANTY; without even the implied warranty of
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
See the License for the specific language governing permissions and GNU Affero General Public License for more details.
limitations under the License.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.

4
TODO.md Normal file
View File

@@ -0,0 +1,4 @@
# Todos
- [ ] Keep track of deleted (and therefore forbidden) hashes
- [ ] Store list in Storage Controllers as well

4
configs/php.ini Normal file
View File

@@ -0,0 +1,4 @@
upload_max_filesize = 100M
post_max_size = 100M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

2
data/.gitignore vendored Executable file → Normal file
View File

@@ -1,4 +1,2 @@
# Ignore everything in this directory
* *
# Except this file
!.gitignore !.gitignore

View File

@@ -1,68 +1,29 @@
FROM alpine:3.18 FROM dunglas/frankenphp:php8.4-alpine
RUN apk add --no-cache bash socat wget curl nginx file ffmpeg unzip zlib redis \ RUN apk add --no-cache bash socat file ffmpeg
php82-fileinfo \
php82-session \
php \
php-curl \
php-openssl \
php-mbstring \
php-json \
php-gd \
php-dom \
php-fpm \
php82 \
php82-pdo \
php82-exif \
php82-curl \
php82-gd \
php82-json \
php82-phar \
php82-fpm \
php82-openssl \
php82-ctype \
php82-opcache \
php82-mbstring \
php82-sodium \
php82-xml \
php82-ftp \
php82-simplexml \
php82-session \
php82-fileinfo \
php82-pcntl \
php82-pecl-redis
RUN ln -s /usr/bin/php82 /usr/bin/php RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
WORKDIR /app/public
RUN curl -sS https://getcomposer.org/installer | /usr/bin/php -- --install-dir=/usr/bin --filename=composer # Add php.ini
RUN mkdir -p /var/www ADD configs/php.ini /usr/local/etc/php/php.ini
WORKDIR /var/www
ADD . /var/www/. ADD . /app/public/.
ADD docker/rootfs/start.sh /etc/start.sh ADD docker/rootfs/start.sh /etc/start.sh
RUN chmod +x /etc/start.sh RUN chmod +x /etc/start.sh
# Composer intall # Composer intall
WORKDIR /var/www/lib WORKDIR /app/public/src/lib
RUN composer install --no-dev --no-interaction --no-progress --optimize-autoloader RUN composer install --no-dev --no-interaction --no-progress --optimize-autoloader
# nginx stuff
WORKDIR /var/www
ADD docker/rootfs/nginx.conf /etc/nginx/http.d/default.conf
RUN mkdir -p /run/nginx
RUN mkdir -p /var/log/nginx
RUN sed -i 's/nobody/nginx/g' /etc/php82/php-fpm.d/www.conf
# Since requests can trigger conversion, let's give the server enough time to respond WORKDIR /app/public/
RUN sed -i "/max_execution_time/c\max_execution_time=3600" /etc/php82/php.ini
RUN sed -i "/max_input_time/c\max_input_time=3600" /etc/php82/php.ini
WORKDIR /var/www/
# Volumes to mount # Volumes to mount
#VOLUME /var/lib/influxdb #VOLUME /var/lib/influxdb
VOLUME /var/www/data VOLUME /app/public/data
VOLUME /app/public/logs
EXPOSE 80 EXPOSE 80

View File

@@ -5,24 +5,20 @@
_maxUploadSize() { _maxUploadSize() {
echo "[i] Setting uploadsize to ${MAX_UPLOAD_SIZE}M" echo "[i] Setting uploadsize to ${MAX_UPLOAD_SIZE}M"
sed -i "/post_max_size/c\post_max_size=${MAX_UPLOAD_SIZE}M" /etc/php82/php.ini sed -i "/post_max_size/c\post_max_size=${MAX_UPLOAD_SIZE}M" /usr/local/etc/php/php.ini
sed -i "/upload_max_filesize/c\upload_max_filesize=${MAX_UPLOAD_SIZE}M" /etc/php82/php.ini sed -i "/upload_max_filesize/c\upload_max_filesize=${MAX_UPLOAD_SIZE}M" /usr/local/etc/php/php.ini
# set error reporting no notices, no warnings # set error reporting no notices, no warnings
sed -i "/^error_reporting/c\error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING & ~E_NOTICE" /etc/php82/php.ini sed -i "/^error_reporting/c\error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING & ~E_NOTICE" /usr/local/etc/php/php.ini
sed -i -e "s/50M/${MAX_UPLOAD_SIZE}M/g" /etc/nginx/http.d/default.conf
MAX_RAM=$((MAX_UPLOAD_SIZE + 30)) # 30megs more than the upload size MAX_RAM=$((MAX_UPLOAD_SIZE + 30)) # 30megs more than the upload size
echo "[i] Also changing memory limit of PHP to ${MAX_RAM}M" echo "[i] Also changing memory limit of PHP to ${MAX_RAM}M"
sed -i -e "s/128M/${MAX_RAM}M/g" /etc/php82/php.ini sed -i -e "s/128M/${MAX_RAM}M/g" /usr/local/etc/php/php.ini
sed -i "/memory_limit/c\memory_limit=${MAX_RAM}M" /etc/php82/php.ini sed -i "/memory_limit/c\memory_limit=${MAX_RAM}M" /usr/local/etc/php/php.ini
} }
_filePermissions() { _filePermissions() {
chown -R nginx:nginx /var/www echo "[i] Setting file permissions"
touch data/sha1.csv
chown nginx:nginx data/sha1.csv
} }
_buildConfig() { _buildConfig() {
@@ -67,7 +63,7 @@ _buildConfig() {
echo 'Starting Pictshare' echo 'Starting Pictshare'
cd /var/www/ cd /app/public/
if [[ ${MAX_UPLOAD_SIZE:=100} =~ ^[0-9]+$ ]]; then if [[ ${MAX_UPLOAD_SIZE:=100} =~ ^[0-9]+$ ]]; then
_maxUploadSize _maxUploadSize
@@ -78,19 +74,8 @@ if [[ ${SKIP_FILEPERMISSIONS:=false} != true ]]; then
_filePermissions _filePermissions
fi fi
echo ' [+] Starting php'
php-fpm82
echo ' [+] Creating config' echo ' [+] Creating config'
_buildConfig > inc/config.inc.php _buildConfig > src/inc/config.inc.php
echo ' [+] Starting nginx' frankenphp php-server --listen ":80" --root /app/public/web
mkdir -p /var/log/nginx/pictshare
touch /var/log/nginx/pictshare/access.log
touch /var/log/nginx/pictshare/error.log
nginx
tail -f /var/log/nginx/pictshare/*.log

2
logs/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

View File

@@ -1,8 +1,8 @@
# API # API
# upload.php # upload
- URL https://pictshare.net/api/upload.php - URL https://pictshare.net/api/upload
- Method: POST file - Method: POST file
- Post var name: file - Post var name: file
- Answer type: JSON - Answer type: JSON
@@ -30,7 +30,7 @@ If there is an error the server will answer with status:err and a reason
1. Uploading a file called test.jpg via curl 1. Uploading a file called test.jpg via curl
```curl -F "file=@test.jpg" https://pictshare.net/api/upload.php``` ```curl -F "file=@test.jpg" https://pictshare.net/api/upload```
Answer from the server: Answer from the server:
```json ```json
@@ -42,7 +42,7 @@ Answer from the server:
Put this in your `.bashrc` or `.zshrc`: Put this in your `.bashrc` or `.zshrc`:
``` ```
pict () { pict () {
curl -s -F "file=@${1:--}" https://pictshare.net/api/upload.php | jq -r '.url'; curl -s -F "file=@${1:--}" https://pictshare.net/api/upload | jq -r '.url';
} }
``` ```

View File

@@ -56,23 +56,7 @@ if ($_FILES['file']["error"] == UPLOAD_ERR_OK)
} }
} }
/*
if(in_array($type,(new ImageController)->getRegisteredExtensions()))
{
$answer = (new ImageController())->handleUpload($_FILES['file']['tmp_name'],$hash);
}
//or, a text
else if($type=='text')
{
$answer = (new TextController())->handleUpload($_FILES['file']['tmp_name'],$hash);
}
//or, a video
else if(in_array($type,(new VideoController)->getRegisteredExtensions()))
{
$answer = (new VideoController())->handleUpload($_FILES['file']['tmp_name'],$hash);
}
*/
if(!$answer) if(!$answer)
$answer = array('status'=>'err','reason'=>'Unsupported filetype: '.$type,'filetype'=>$type); $answer = array('status'=>'err','reason'=>'Unsupported filetype: '.$type,'filetype'=>$type);

View File

@@ -11,9 +11,18 @@
class ImageController implements ContentController class ImageController implements ContentController
{ {
public const ctype = 'static'; public const ctype = 'static';
public $mimes = array(
'image/gif',
'image/jpeg',
'image/png',
'image/bmp',
'image/webp',
'image/x-icon'
);
//returns all extensions registered by this type of content //returns all extensions registered by this type of content
public function getRegisteredExtensions(){return array('png','bmp','gif','jpg','jpeg','x-png','webp');} public function getRegisteredExtensions(){return array('png','bmp','gif','jpg','jpeg','x-png','webp');}
public function handleUpload($tmpfile,$hash=false) public function handleUpload($tmpfile,$hash=false)
{ {
$type = exif_imagetype($tmpfile); //http://www.php.net/manual/en/function.exif-imagetype.php $type = exif_imagetype($tmpfile); //http://www.php.net/manual/en/function.exif-imagetype.php
@@ -210,8 +219,8 @@ class ImageController implements ContentController
else else
{ {
$data = array('url'=>implode('/',$url),'hash'=>$hash,'filesize'=>renderSize(filesize($path))); $data = array('url'=>implode('/',$url),'hash'=>$hash,'filesize'=>renderSize(filesize($path)));
renderTemplate('video',$data); return renderTemplate('video.html.php',$data);
exit;
} }
break; break;
} }

View File

@@ -31,7 +31,7 @@ class TextController implements ContentController
} }
} }
else else
renderTemplate('text',array('hash'=>$hash,'content'=>htmlentities(file_get_contents($path)))); return renderTemplate('text.html.php',array('hash'=>$hash,'content'=>htmlentities(file_get_contents($path))));
} }
public function handleUpload($tmpfile,$hash=false) public function handleUpload($tmpfile,$hash=false)

View File

@@ -4,6 +4,11 @@ class VideoController implements ContentController
{ {
public const ctype = 'static'; public const ctype = 'static';
public $mimes = [
'video/mp4',
'video/x-m4v',
];
//returns all extensions registered by this type of content //returns all extensions registered by this type of content
public function getRegisteredExtensions(){return array('mp4');} public function getRegisteredExtensions(){return array('mp4');}
@@ -59,7 +64,8 @@ class VideoController implements ContentController
else else
{ {
$data = array('url'=>implode('/',$url),'hash'=>$hash,'filesize'=>renderSize(filesize($path))); $data = array('url'=>implode('/',$url),'hash'=>$hash,'filesize'=>renderSize(filesize($path)));
renderTemplate('video',$data); return renderTemplate('video.html.php',$data);
} }
} }

187
src/inc/api.class.php Normal file
View File

@@ -0,0 +1,187 @@
<?php
class API
{
private $url;
public function __construct($url)
{
$this->url = $url;
}
public function act()
{
try {
$this->checkPermissions();
} catch (Exception $e) {
return array('status' => 'err', 'reason' => $e->getMessage());
}
return match ($this->url[0]) {
'upload' => $this->upload(),
'delete' => $this->delete(),
'info' => $this->info(),
default => array('status' => 'err', 'reason' => 'Unknown API call', 'hint' => 'Check https://github.com/HaschekSolutions/pictshare/blob/master/rtfm/API.md for more information'),
};
}
public function upload()
{
try {
$this->checkUploaderPermissions();
} catch (Exception $e) {
return array('status' => 'err', 'reason' => $e->getMessage());
}
//check if uploader has privided a requested hash name
if (isset($_REQUEST['hash']))
$hash = sanatizeString(trim($_REQUEST['hash']));
else
$hash = false;
if (!isset($_FILES['file']) || !is_array($_FILES['file']))
return ['status' => 'err', 'reason' => 'No file uploaded'];
if ($_FILES['file']["error"] == UPLOAD_ERR_OK) {
//get the file type
$type = $this->getFileMimeType($_FILES['file']["tmp_name"]);
//check for duplicates
$sha1 = sha1_file($_FILES['file']["tmp_name"]);
$ehash = sha1Exists($sha1);
if ($ehash && file_exists(getDataDir() . DS . $ehash . DS . $ehash))
return [
'status' => 'ok',
'hash' => $ehash,
'filetype' => $type,
'url' => getURL() . $ehash,
'duplicate' => true,
];
//check naughty list (previously deleted files)
if ($this->isFileInNaughtyList($sha1))
return ['status' => 'err', 'reason' => 'File is in the naughty list'];
$answer = false;
foreach(loadAllContentControllers() as $cc)
{
$cc = new $cc();
if ($cc->mimes && in_array($type, $cc->mimes))
{
$answer = $cc->handleUpload($_FILES['file']['tmp_name'],$hash);
break;
}
}
if (!$answer)
return ['status' => 'err', 'reason' => 'Unsupported mime type: ' . $type];
else if($answer['hash'] && $answer['status']=='ok'){
$delcode = getRandomString(32);
$meta = [
'mime' => $type,
'size' => $_FILES['file']['size'],
'original_filename' => $_FILES['file']['name'],
'hash' => $answer['hash'],
'sha1' => $sha1,
'uploaded' => time(),
'ip' => getUserIP(),
'useragent' => $_SERVER['HTTP_USER_AGENT'],
'delete_code' => $delcode,
'delete_url' => getURL().'delete_'.$delcode.'/'.$answer['hash'],
'remote_port' => $_SERVER['REMOTE_PORT'],
];
addToLog(getUserIP()." uploaded ".$answer['hash']." (".$type.")");
updateMetaData($answer['hash'], $meta);
addSha1($answer['hash'],$sha1);
//upload to all configured storage controllers
storageControllerUpload($answer['hash']);
return [
'status' => 'ok',
'hash' => $answer['hash'],
'filetype' => $type,
'url' => getURL() . $answer['hash'],
'delete_code' => $delcode,
'delete_url' => getURL() . 'delete_' . $delcode . '/' . $answer['hash'],
];
}
else
return ['status' => 'err', 'reason' => 'Strange error during upload'];
} else
return ['status' => 'err', 'reason' => 'Upload error: '.$this->uploadErrorMessage($_FILES['file']["error"])];
}
public function checkPermissions()
{
// check write permissions first
if (!isFolderWritable(getDataDir()))
throw new Exception('Data directory not writable');
else if (!isFolderWritable(ROOT . DS . 'tmp'))
throw new Exception('Temp directory not writable');
}
public function checkUploaderPermissions()
{
if (defined('ALLOWED_SUBNET') && ALLOWED_SUBNET != '' && !isIPInRange(getUserIP(), ALLOWED_SUBNET)) {
throw new Exception('Access denied');
} else if (defined('UPLOAD_CODE') && UPLOAD_CODE != '') {
if (!isset($_REQUEST['uploadcode']) || $_REQUEST['uploadcode'] != UPLOAD_CODE) {
throw new Exception('Incorrect upload code specified - Access denied');
}
}
}
public function getFileMimeType($file)
{
try {
$finfo = new finfo(FILEINFO_MIME_TYPE);
return $finfo->file($file);
} catch (Exception $e) {
//fallback to shell command if finfo is not available
$mimeType = shell_exec('file --mime-type -b ' . escapeshellarg($file));
return trim($mimeType);
}
}
public function isFileInNaughtyList($sha1)
{
$naughtyList = getDataDir() . DS . 'naughty.csv';
if (!file_exists($naughtyList)) touch($naughtyList);
$handle = fopen($naughtyList, "r");
if ($handle) {
while (($line = fgets($handle)) !== false) {
if (substr($line, 0, 40) === $sha1) return true;
}
fclose($handle);
}
return false;
}
public function uploadErrorMessage(int $errorCode): string {
switch ($errorCode) {
case UPLOAD_ERR_OK:
return 'There is no error, the file uploaded successfully.';
case UPLOAD_ERR_INI_SIZE:
return 'The uploaded file exceeds the upload_max_filesize directive in php.ini.';
case UPLOAD_ERR_FORM_SIZE:
return 'The uploaded file exceeds the MAX_FILE_SIZE directive specified in the HTML form.';
case UPLOAD_ERR_PARTIAL:
return 'The uploaded file was only partially uploaded.';
case UPLOAD_ERR_NO_FILE:
return 'No file was uploaded.';
case UPLOAD_ERR_NO_TMP_DIR:
return 'Missing a temporary folder.';
case UPLOAD_ERR_CANT_WRITE:
return 'Failed to write file to disk.';
case UPLOAD_ERR_EXTENSION:
return 'A PHP extension stopped the file upload.';
default:
return 'Unknown upload error.';
}
}
}

View File

@@ -1,4 +1,7 @@
<?php <?php
use function PHPSTORM_META\map;
spl_autoload_register('autoload'); spl_autoload_register('autoload');
//disable output buffering //disable output buffering
@@ -14,24 +17,21 @@ if(!defined('FFMPEG_BINARY'))
* who will decide what to do with any given URL * who will decide what to do with any given URL
* by feeding it to the other controllers * by feeding it to the other controllers
*/ */
function architect($url) function architect($u)
{ {
//let's get the parts of the URL as array
//and clean out the empty elements
$u = array_filter(explode('/', $url));
//if there is no info in the URL, don't even bother checking with the controllers //if there is no info in the URL, don't even bother checking with the controllers
//just show the site //just show the site
if( ( (!defined('UPLOAD_FORM_LOCATION') || (defined('UPLOAD_FORM_LOCATION') && !UPLOAD_FORM_LOCATION)) && count($u)==0) || (defined('UPLOAD_FORM_LOCATION') && UPLOAD_FORM_LOCATION && '/'.implode('/',$u)==UPLOAD_FORM_LOCATION) ) if( ( (!defined('UPLOAD_FORM_LOCATION') || (defined('UPLOAD_FORM_LOCATION') && !UPLOAD_FORM_LOCATION)) && count($u)==0) || (defined('UPLOAD_FORM_LOCATION') && UPLOAD_FORM_LOCATION && '/'.implode('/',$u)==UPLOAD_FORM_LOCATION) )
{ {
// check if client address is allowed // check if client address is allowed
$forbidden = false; $forbidden = false;
if(defined('ALLOWED_SUBNET') && ALLOWED_SUBNET != '' && !isIPInRange( getUserIP(), ALLOWED_SUBNET )) if(defined('ALLOWED_SUBNET') && ALLOWED_SUBNET != '' && !isIPInRange( getUserIP(), ALLOWED_SUBNET ))
{ {
$forbidden = true; $forbidden = true;
} }
renderTemplate('main',array('forbidden'=>$forbidden)); return renderTemplate('main.html.php',array('forbidden'=>$forbidden));
return;
} }
//check all elements for a valid hash //check all elements for a valid hash
@@ -77,7 +77,6 @@ function architect($url)
} }
} }
} }
// if it's still false, we only have one hope: Maybe it's from a dynamic controller and the cache hasn't been created yet // if it's still false, we only have one hope: Maybe it's from a dynamic controller and the cache hasn't been created yet
else if($hash===false) else if($hash===false)
@@ -131,8 +130,7 @@ function architect($url)
((new $cc)::ctype=='static' && in_array($extension,(new $cc)->getRegisteredExtensions())) ((new $cc)::ctype=='static' && in_array($extension,(new $cc)->getRegisteredExtensions()))
) )
{ {
(new $cc())->handleHash($hash,$u); return (new $cc())->handleHash($hash,$u);
return;
} }
} }
@@ -230,17 +228,25 @@ function mightBeAHash($string)
function autoload($className) function autoload($className)
{ {
if (file_exists(ROOT . DS . 'interfaces' . DS . strtolower($className) . '.interface.php')) if (file_exists(ROOT . DS . 'src'. DS . 'interfaces' . DS . strtolower($className) . '.interface.php'))
require_once(ROOT . DS . 'interfaces' . DS . strtolower($className) . '.interface.php'); require_once(ROOT . DS . 'src'. DS . 'interfaces' . DS . strtolower($className) . '.interface.php');
if ($className=='Encryption') if ($className=='Encryption')
require_once(ROOT . DS . 'inc' . DS . 'encryption.php'); require_once(ROOT . DS . 'inc' . DS . 'encryption.php');
} }
function renderTemplate($template,$vars=false) function renderTemplate($template,$variables=[],$basepath=ROOT.'/src')
{ {
if(is_array($vars)) ob_start();
extract($vars); if(is_array($variables))
include_once(ROOT.DS.'templates'.DS.$template.'.html'); extract($variables);
if(file_exists($basepath.DS.'templates'.DS.$template.'.php'))
include($basepath.DS.'templates'.DS.$template.'.php');
else if(file_exists($basepath.DS.'templates'.DS.$template))
include($basepath.DS.'templates'.DS.$template);
$rendered = ob_get_contents();
ob_end_clean();
return $rendered;
} }
function getExtensionOfFilename($file) function getExtensionOfFilename($file)
@@ -678,13 +684,20 @@ function loadAllContentControllers($all=false)
$allowedcontrollers = array_map('strtolower', explode(',',CONTENTCONTROLLERS)); $allowedcontrollers = array_map('strtolower', explode(',',CONTENTCONTROLLERS));
} }
$controllers = array(); $controllers = array();
if ($handle = opendir(ROOT.DS.'content-controllers')) { if ($handle = opendir(ROOT.DS.'src'.DS.'content-controllers')) {
while (false !== ($entry = readdir($handle))) { while (false !== ($entry = readdir($handle))) {
if ($entry != "." && $entry != "..") { if ($entry != "." && $entry != "..") {
if(is_dir(ROOT.DS.'content-controllers'.DS.$entry) && file_exists(ROOT.DS.'content-controllers'.DS.$entry.DS."$entry.controller.php") && ( ($allowedcontrollers!==false && in_array($entry,$allowedcontrollers) ) || $allowedcontrollers===false)) if(
is_dir(ROOT.DS.'src'.DS.'content-controllers'.DS.$entry) &&
file_exists(ROOT.DS.'src'.DS.'content-controllers'.DS.$entry.DS."$entry.controller.php") &&
(
($allowedcontrollers!==false && in_array($entry,$allowedcontrollers) )
||
$allowedcontrollers===false)
)
{ {
$controllers[] = ucfirst($entry).'Controller'; $controllers[] = ucfirst($entry).'Controller';
include_once(ROOT.DS.'content-controllers'.DS.$entry.DS."$entry.controller.php"); require_once(ROOT.DS.'src'.DS.'content-controllers'.DS.$entry.DS."$entry.controller.php");
} }
} }
} }
@@ -738,12 +751,6 @@ function storeFile($srcfile,$hash,$deleteoriginal=false)
addSha1($hash,sha1_file($file)); addSha1($hash,sha1_file($file));
//creating a delete code
$deletecode = getRandomString(32);
$fh = fopen(getDataDir().DS.$hash.DS.'deletecode', 'w');
fwrite($fh, $deletecode);
fclose($fh);
if(defined('LOG_UPLOADER') && LOG_UPLOADER) if(defined('LOG_UPLOADER') && LOG_UPLOADER)
{ {
$fh = fopen(getDataDir().DS.'uploads.csv', 'a'); $fh = fopen(getDataDir().DS.'uploads.csv', 'a');
@@ -756,11 +763,25 @@ function storeFile($srcfile,$hash,$deleteoriginal=false)
function getDeleteCodeOfHash($hash) function getDeleteCodeOfHash($hash)
{ {
if(file_exists(getDataDir().DS.$hash.DS.'deletecode')) $metadata = getMetadataOfHash($hash);
return file_get_contents(getDataDir().DS.$hash.DS.'deletecode'); if($metadata && isset($metadata['delete_code']))
return $metadata['delete_code'];
else
return false; return false;
} }
function getMetadataOfHash($hash)
{
$metadata = array();
$metadatafile = getDataDir().DS.$hash.DS.'meta.json';
if(file_exists($metadatafile))
{
$json = file_get_contents($metadatafile);
$metadata = json_decode($json,true);
}
return $metadata;
}
function deleteHash($hash) function deleteHash($hash)
{ {
//@todo: add hash to deleted list. also on all controllers //@todo: add hash to deleted list. also on all controllers
@@ -1003,3 +1024,22 @@ function getURL()
$protocol = strpos(strtolower($_SERVER['SERVER_PROTOCOL']), 'https') === FALSE ? 'http' : 'https'; $protocol = strpos(strtolower($_SERVER['SERVER_PROTOCOL']), 'https') === FALSE ? 'http' : 'https';
return $protocol . '://' . getDomain(false).'/'; return $protocol . '://' . getDomain(false).'/';
} }
function updateMetaData($hash, $meta)
{
$metaFile = getDataDir() . DS . $hash . DS . 'meta.json';
if (file_exists($metaFile)) {
$currentMeta = json_decode(file_get_contents($metaFile), true);
$newMeta = array_merge($currentMeta, $meta);
file_put_contents($metaFile, json_encode($newMeta));
} else {
file_put_contents($metaFile, json_encode($meta));
}
}
function addToLog($data)
{
$fp = fopen(ROOT.DS.'logs/app.log','a');
fwrite($fp,date("d.m.y H:i")."\t[".getURL()."] | ".$data."\n");
fclose($fp);
}

1
src/lib/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
vendor/

182
src/lib/composer.lock generated
View File

@@ -8,16 +8,16 @@
"packages": [ "packages": [
{ {
"name": "aws/aws-crt-php", "name": "aws/aws-crt-php",
"version": "v1.2.4", "version": "v1.2.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/awslabs/aws-crt-php.git", "url": "https://github.com/awslabs/aws-crt-php.git",
"reference": "eb0c6e4e142224a10b08f49ebf87f32611d162b2" "reference": "d71d9906c7bb63a28295447ba12e74723bd3730e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/eb0c6e4e142224a10b08f49ebf87f32611d162b2", "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/d71d9906c7bb63a28295447ba12e74723bd3730e",
"reference": "eb0c6e4e142224a10b08f49ebf87f32611d162b2", "reference": "d71d9906c7bb63a28295447ba12e74723bd3730e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -56,22 +56,22 @@
], ],
"support": { "support": {
"issues": "https://github.com/awslabs/aws-crt-php/issues", "issues": "https://github.com/awslabs/aws-crt-php/issues",
"source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.4" "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.7"
}, },
"time": "2023-11-08T00:42:13+00:00" "time": "2024-10-18T22:15:13+00:00"
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.288.1", "version": "3.343.13",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "a1dfa12c7165de0b731ae8074c4ba1f3ae733f89" "reference": "eb50d111a09ef39675358e74801260ac129ee346"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/a1dfa12c7165de0b731ae8074c4ba1f3ae733f89", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/eb50d111a09ef39675358e74801260ac129ee346",
"reference": "a1dfa12c7165de0b731ae8074c4ba1f3ae733f89", "reference": "eb50d111a09ef39675358e74801260ac129ee346",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -79,31 +79,30 @@
"ext-json": "*", "ext-json": "*",
"ext-pcre": "*", "ext-pcre": "*",
"ext-simplexml": "*", "ext-simplexml": "*",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5", "guzzlehttp/guzzle": "^7.4.5",
"guzzlehttp/promises": "^1.4.0 || ^2.0", "guzzlehttp/promises": "^2.0",
"guzzlehttp/psr7": "^1.9.1 || ^2.4.5", "guzzlehttp/psr7": "^2.4.5",
"mtdowling/jmespath.php": "^2.6", "mtdowling/jmespath.php": "^2.8.0",
"php": ">=7.2.5", "php": ">=8.1",
"psr/http-message": "^1.0 || ^2.0" "psr/http-message": "^2.0"
}, },
"require-dev": { "require-dev": {
"andrewsville/php-token-reflection": "^1.4", "andrewsville/php-token-reflection": "^1.4",
"aws/aws-php-sns-message-validator": "~1.0", "aws/aws-php-sns-message-validator": "~1.0",
"behat/behat": "~3.0", "behat/behat": "~3.0",
"composer/composer": "^1.10.22", "composer/composer": "^2.7.8",
"dms/phpunit-arraysubset-asserts": "^0.4.0", "dms/phpunit-arraysubset-asserts": "^0.4.0",
"doctrine/cache": "~1.4", "doctrine/cache": "~1.4",
"ext-dom": "*", "ext-dom": "*",
"ext-openssl": "*", "ext-openssl": "*",
"ext-pcntl": "*", "ext-pcntl": "*",
"ext-sockets": "*", "ext-sockets": "*",
"nette/neon": "^2.3",
"paragonie/random_compat": ">= 2",
"phpunit/phpunit": "^5.6.3 || ^8.5 || ^9.5", "phpunit/phpunit": "^5.6.3 || ^8.5 || ^9.5",
"psr/cache": "^1.0", "psr/cache": "^2.0 || ^3.0",
"psr/simple-cache": "^1.0", "psr/simple-cache": "^2.0 || ^3.0",
"sebastian/comparator": "^1.2.3 || ^4.0", "sebastian/comparator": "^1.2.3 || ^4.0 || ^5.0",
"yoast/phpunit-polyfills": "^1.0" "symfony/filesystem": "^v6.4.0 || ^v7.1.0",
"yoast/phpunit-polyfills": "^2.0"
}, },
"suggest": { "suggest": {
"aws/aws-php-sns-message-validator": "To validate incoming SNS notifications", "aws/aws-php-sns-message-validator": "To validate incoming SNS notifications",
@@ -124,7 +123,10 @@
], ],
"psr-4": { "psr-4": {
"Aws\\": "src/" "Aws\\": "src/"
} },
"exclude-from-classmap": [
"src/data/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@@ -149,11 +151,11 @@
"sdk" "sdk"
], ],
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.288.1" "source": "https://github.com/aws/aws-sdk-php/tree/3.343.13"
}, },
"time": "2023-11-22T19:35:38+00:00" "time": "2025-05-16T18:24:39+00:00"
}, },
{ {
"name": "bitverse/identicon", "name": "bitverse/identicon",
@@ -200,22 +202,22 @@
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "7.8.1", "version": "7.9.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "41042bc7ab002487b876a0683fc8dce04ddce104" "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
"reference": "41042bc7ab002487b876a0683fc8dce04ddce104", "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.5.3 || ^2.0.1", "guzzlehttp/promises": "^1.5.3 || ^2.0.3",
"guzzlehttp/psr7": "^1.9.1 || ^2.5.1", "guzzlehttp/psr7": "^2.7.0",
"php": "^7.2.5 || ^8.0", "php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0", "psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0" "symfony/deprecation-contracts": "^2.2 || ^3.0"
@@ -226,9 +228,9 @@
"require-dev": { "require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2", "bamarni/composer-bin-plugin": "^1.8.2",
"ext-curl": "*", "ext-curl": "*",
"php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", "guzzle/client-integration-tests": "3.0.2",
"php-http/message-factory": "^1.1", "php-http/message-factory": "^1.1",
"phpunit/phpunit": "^8.5.36 || ^9.6.15", "phpunit/phpunit": "^8.5.39 || ^9.6.20",
"psr/log": "^1.1 || ^2.0 || ^3.0" "psr/log": "^1.1 || ^2.0 || ^3.0"
}, },
"suggest": { "suggest": {
@@ -306,7 +308,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/guzzle/issues", "issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.8.1" "source": "https://github.com/guzzle/guzzle/tree/7.9.3"
}, },
"funding": [ "funding": [
{ {
@@ -322,20 +324,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-12-03T20:35:24+00:00" "time": "2025-03-27T13:37:11+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
"version": "2.0.2", "version": "2.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/promises.git", "url": "https://github.com/guzzle/promises.git",
"reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", "url": "https://api.github.com/repos/guzzle/promises/zipball/7c69f28996b0a6920945dd20b3857e499d9ca96c",
"reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -343,7 +345,7 @@
}, },
"require-dev": { "require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2", "bamarni/composer-bin-plugin": "^1.8.2",
"phpunit/phpunit": "^8.5.36 || ^9.6.15" "phpunit/phpunit": "^8.5.39 || ^9.6.20"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -389,7 +391,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/promises/issues", "issues": "https://github.com/guzzle/promises/issues",
"source": "https://github.com/guzzle/promises/tree/2.0.2" "source": "https://github.com/guzzle/promises/tree/2.2.0"
}, },
"funding": [ "funding": [
{ {
@@ -405,20 +407,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-12-03T20:19:20+00:00" "time": "2025-03-27T13:27:01+00:00"
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "2.6.2", "version": "2.7.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", "url": "https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16",
"reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -433,8 +435,8 @@
}, },
"require-dev": { "require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2", "bamarni/composer-bin-plugin": "^1.8.2",
"http-interop/http-factory-tests": "^0.9", "http-interop/http-factory-tests": "0.9.0",
"phpunit/phpunit": "^8.5.36 || ^9.6.15" "phpunit/phpunit": "^8.5.39 || ^9.6.20"
}, },
"suggest": { "suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
@@ -505,7 +507,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.6.2" "source": "https://github.com/guzzle/psr7/tree/2.7.1"
}, },
"funding": [ "funding": [
{ {
@@ -521,20 +523,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-12-03T20:05:35+00:00" "time": "2025-03-27T12:30:47+00:00"
}, },
{ {
"name": "mtdowling/jmespath.php", "name": "mtdowling/jmespath.php",
"version": "2.7.0", "version": "2.8.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/jmespath/jmespath.php.git", "url": "https://github.com/jmespath/jmespath.php.git",
"reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b" "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/bbb69a935c2cbb0c03d7f481a238027430f6440b", "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/a2a865e05d5f420b50cc2f85bb78d565db12a6bc",
"reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b", "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -551,7 +553,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.7-dev" "dev-master": "2.8-dev"
} }
}, },
"autoload": { "autoload": {
@@ -585,9 +587,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/jmespath/jmespath.php/issues", "issues": "https://github.com/jmespath/jmespath.php/issues",
"source": "https://github.com/jmespath/jmespath.php/tree/2.7.0" "source": "https://github.com/jmespath/jmespath.php/tree/2.8.0"
}, },
"time": "2023-08-25T10:54:48+00:00" "time": "2024-09-04T18:46:31+00:00"
}, },
{ {
"name": "psr/http-client", "name": "psr/http-client",
@@ -643,20 +645,20 @@
}, },
{ {
"name": "psr/http-factory", "name": "psr/http-factory",
"version": "1.0.2", "version": "1.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/http-factory.git", "url": "https://github.com/php-fig/http-factory.git",
"reference": "e616d01114759c4c489f93b099585439f795fe35" "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
"reference": "e616d01114759c4c489f93b099585439f795fe35", "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.0.0", "php": ">=7.1",
"psr/http-message": "^1.0 || ^2.0" "psr/http-message": "^1.0 || ^2.0"
}, },
"type": "library", "type": "library",
@@ -680,7 +682,7 @@
"homepage": "https://www.php-fig.org/" "homepage": "https://www.php-fig.org/"
} }
], ],
"description": "Common interfaces for PSR-7 HTTP message factories", "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
"keywords": [ "keywords": [
"factory", "factory",
"http", "http",
@@ -692,9 +694,9 @@
"response" "response"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/http-factory/tree/1.0.2" "source": "https://github.com/php-fig/http-factory"
}, },
"time": "2023-04-10T20:10:41+00:00" "time": "2024-04-15T12:06:14+00:00"
}, },
{ {
"name": "psr/http-message", "name": "psr/http-message",
@@ -795,29 +797,29 @@
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
"version": "v2.5.2", "version": "v3.5.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git", "url": "https://github.com/symfony/deprecation-contracts.git",
"reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
"reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1" "php": ">=8.1"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-main": "2.5-dev"
},
"thanks": { "thanks": {
"name": "symfony/contracts", "url": "https://github.com/symfony/contracts",
"url": "https://github.com/symfony/contracts" "name": "symfony/contracts"
},
"branch-alias": {
"dev-main": "3.5-dev"
} }
}, },
"autoload": { "autoload": {
@@ -842,7 +844,7 @@
"description": "A generic function and convention to trigger deprecation notices", "description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
}, },
"funding": [ "funding": [
{ {
@@ -858,24 +860,25 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-01-02T09:53:40+00:00" "time": "2024-09-25T14:20:29+00:00"
}, },
{ {
"name": "symfony/polyfill-mbstring", "name": "symfony/polyfill-mbstring",
"version": "v1.28.0", "version": "v1.32.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git", "url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "42292d99c55abe617799667f454222c54c60e229" "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493",
"reference": "42292d99c55abe617799667f454222c54c60e229", "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.1" "ext-iconv": "*",
"php": ">=7.2"
}, },
"provide": { "provide": {
"ext-mbstring": "*" "ext-mbstring": "*"
@@ -885,12 +888,9 @@
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": {
"dev-main": "1.28-dev"
},
"thanks": { "thanks": {
"name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill",
"url": "https://github.com/symfony/polyfill" "name": "symfony/polyfill"
} }
}, },
"autoload": { "autoload": {
@@ -925,7 +925,7 @@
"shim" "shim"
], ],
"support": { "support": {
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.0" "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.32.0"
}, },
"funding": [ "funding": [
{ {
@@ -941,7 +941,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-07-28T09:04:16+00:00" "time": "2024-12-23T08:48:59+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],

View File

@@ -2,6 +2,24 @@
// autoload.php @generated by Composer // autoload.php @generated by Composer
if (PHP_VERSION_ID < 50600) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, $err);
} elseif (!headers_sent()) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
}
require_once __DIR__ . '/composer/autoload_real.php'; require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitcf9220c46873b35d0c8126b308166b34::getLoader(); return ComposerAutoloaderInitcf9220c46873b35d0c8126b308166b34::getLoader();

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "Ec2",
"description": "New EC2 I3 instance type"
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "ElasticsearchService",
"description": "Added three new API calls to existing Amazon Elasticsearch service to expose Amazon Elasticsearch imposed limits to customers."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "api-change",
"category": "ElasticBeanstalk",
"description": "Elastic Beanstalk adds support for creating and managing custom platform."
},
{
"type": "api-change",
"category": "CloudDirectory",
"description": "ListObjectAttributes documentation updated based on forum feedback"
},
{
"type": "api-change",
"category": "Route53",
"description": "Added support for operations CreateVPCAssociationAuthorization and DeleteVPCAssociationAuthorization to throw a ConcurrentModification error when a conflicting modification occurs in parallel to the authorizations in place for a given hosted zone."
},
{
"type": "api-change",
"category": "GameLift",
"description": "Allow developers to configure global queues for creating GameSessions. Allow PlayerData on PlayerSessions to store player-specific data."
}
]

View File

@@ -1,27 +0,0 @@
[
{
"type": "feature",
"category": "Organizations",
"description": "AWS Organizations is a web service that enables you to consolidate your multiple AWS accounts into an organization and centrally manage your accounts and their resources."
},
{
"type": "api-change",
"category": "DynamoDB",
"description": "Time to Live (TTL) is a feature that allows you to define when items in a table expire and can be purged from the database, so that you don't have to track expired data and delete it manually. With TTL enabled on a DynamoDB table, you can set a timestamp for deletion on a per-item basis, allowing you to limit storage usage to only those records that are relevant."
},
{
"type": "api-change",
"category": "IAM",
"description": "Added support for AWS Organizations service control policies (SCPs) to SimulatePrincipalPolicy operation. If there are SCPs associated with the simulated user's account, their effect on the result is captured in the OrganizationDecisionDetail element in the EvaluationResult."
},
{
"type": "feature",
"category": "MechanicalTurkRequesterService",
"description": "Amazon Mechanical Turk is a web service that provides an on-demand, scalable, human workforce to complete jobs that humans can do better than computers, for example, recognizing objects in photos."
},
{
"type": "api-change",
"category": "DynamoDBStreams",
"description": "Added support for TTL on a DynamoDB tables"
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "OpsWorksCM",
"description": "OpsWorks for Chef Automate has added a new field \"AssociatePublicIpAddress\" to the CreateServer request, \"CloudFormationStackArn\" to the Server model and \"TERMINATED\" server state."
},
{
"type": "api-change",
"category": "Budgets",
"description": "When creating or editing a budget via the AWS Budgets API you can define notifications that are sent to subscribers when the actual or forecasted value for cost or usage exceeds the notificationThreshold associated with the budget notification object. Starting today, the maximum allowed value for the notificationThreshold was raised from 100 to 300. This change was made to give you more flexibility when setting budget notifications."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "RDS",
"description": "Add support to using encrypted clusters as cross-region replication masters. Update CopyDBClusterSnapshot API to support encrypted cross region copy of Aurora cluster snapshots."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "feature",
"category": "WorkDocs",
"description": "The Administrative SDKs for Amazon WorkDocs provides full administrator level access to WorkDocs site resources, allowing developers to integrate their applications to manage WorkDocs users, content and permissions programmatically"
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "APIGateway",
"description": "API Gateway has added support for ACM certificates on custom domain names. Both Amazon-issued certificates and uploaded third-part certificates are supported."
},
{
"type": "api-change",
"category": "CloudDirectory",
"description": "Introduces a new Cloud Directory API that enables you to retrieve all available parent paths for any type of object (a node, leaf node, policy node, and index node) in a hierarchy."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "EMR",
"description": "This release includes support for instance fleets in Amazon EMR."
},
{
"type": "api-change",
"category": "CodeDeploy",
"description": "Add paginators for Codedeploy"
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "CloudWatchEvents",
"description": "This update extends Target Data Type for configuring Target behavior during invocation."
},
{
"type": "api-change",
"category": "DeviceFarm",
"description": "Network shaping allows users to simulate network connections and conditions while testing their Android, iOS, and web apps with AWS Device Farm."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "events",
"description": "Update documentation"
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "api-change",
"category": "MarketplaceCommerceAnalytics",
"description": "This update adds a new data set, us_sales_and_use_tax_records, which enables AWS Marketplace sellers to programmatically access to their U.S. Sales and Use Tax report data."
},
{
"type": "api-change",
"category": "Pinpoint",
"description": "Added support for segment endpoints by user attributes in addition to endpoint attributes, publishing raw app analytics and campaign events as events streams to Kinesis and Kinesis Firehose"
},
{
"type": "api-change",
"category": "DirectConnect",
"description": "Deprecated DescribeConnectionLoa, DescribeInterconnectLoa, AllocateConnectionOnInterconnect and DescribeConnectionsOnInterconnect operations in favor of DescribeLoa, DescribeLoa, AllocateHostedConnection and DescribeHostedConnections respectively."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "api-change",
"category": "Lambda",
"description": "Adds support for new runtime Node.js v6.10 for AWS Lambda service"
},
{
"type": "api-change",
"category": "ElasticLoadBalancingv2",
"description": "Adding waiters for Elastic Load Balancing V2"
},
{
"type": "api-change",
"category": "ApplicationDiscoveryService",
"description": "Adds export configuration options to the AWS Discovery Service API."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "ApplicationAutoScaling",
"description": "Application AutoScaling is launching support for a new target resource (AppStream 2.0 Fleets) as a scalable target."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "SSM",
"description": "Updated validation rules for SendCommand and RegisterTaskWithMaintenanceWindow APIs"
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "Batch",
"description": "Customers can now provide a retryStrategy as part of the RegisterJobDefinition and SubmitJob API calls. The retryStrategy object has a number value for attempts. This is the number of non successful executions before a job is considered FAILED. In addition, the JobDetail object now has an attempts field and shows all execution attempts."
},
{
"type": "api-change",
"category": "EC2",
"description": "Customers can now tag their Amazon EC2 Instances and Amazon EBS Volumes at the time of their creation. You can do this from the EC2 Instance launch wizard or through the RunInstances or CreateVolume APIs. By tagging resources at the time of creation, you can eliminate the need to run custom tagging scripts after resource creation. In addition, you can now set resource-level permissions on the CreateVolume, CreateTags, DeleteTags, and the RunInstances APIs. This allows you to implement stronger security policies by giving you more granular control over which users and groups have access to these APIs. You can also enforce the use of tagging and control what tag keys and values are set on your resources. When you combine tag usage and resource-level IAM policies together, you can ensure your instances and volumes are properly secured upon creation and achieve more accurate cost allocation reporting. These new features are provided at no additional cost. "
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "api-change",
"category": "StorageGateway",
"description": "File gateway mode in AWS Storage gateway provides access to objects in S3 as files on a Network File System (NFS) mount point. Once a file share is created, any changes made externally to the S3 bucket will not be reflected by the gateway. Using the cache refresh feature in this update, the customer can trigger an on-demand scan of the keys in their S3 bucket and refresh the file namespace cached on the gateway. It takes as an input the fileShare ARN and refreshes the cache for only that file share. Additionally there is new functionality on file gateway that allows you configure what squash options they would like on their file share, this allows a customer to configure their gateway to not squash root permissions. This can be done by setting options in NfsOptions for CreateNfsFileShare and UpdateNfsFileShare APIs."
},
{
"type": "feature",
"category": "ResourceGroupsTaggingAPI",
"description": "Resource Groups Tagging APIs can help you organize your resources and enable you to simplify resource management, access management, and cost allocation."
},
{
"type": "api-change",
"category": "CloudFormation",
"description": "Adding paginators for ListExports and ListImports"
},
{
"type": "api-change",
"category": "CloudFront",
"description": "Amazon CloudFront now supports user configurable HTTP Read and Keep-Alive Idle Timeouts for your Custom Origin Servers"
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "CloudDirectory",
"description": "ListObjectAttributes now supports filtering by facet."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "LexRuntimeService",
"description": "Adds support to PostContent for speech input"
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "CloudWatch",
"description": "Amazon Web Services announced the immediate availability of two additional alarm configuration rules for Amazon CloudWatch Alarms. The first rule is for configuring missing data treatment. Customers have the options to treat missing data as alarm threshold breached, alarm threshold not breached, maintain alarm state and the current default treatment. The second rule is for alarms based on percentiles metrics that can trigger unnecassarily if the percentile is calculated from a small number of samples. The new rule can treat percentiles with low sample counts as same as missing data. If the first rule is enabled, the same treatment will be applied when an alarm encounters a percentile with low sample counts."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "ElastiCache",
"description": "ElastiCache added support for testing the Elasticache Multi-AZ feature with Automatic Failover."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "enhancement",
"category": "ElasticLoadBalancingv2",
"description": "Adds supports a new condition for host-header conditions to CreateRule and ModifyRule"
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "Redshift",
"description": "This update adds the GetClusterCredentials API which is used to get temporary login credentials to the cluster. AccountWithRestoreAccess now has a new member AccountAlias, this is the identifier of the AWS support account authorized to restore the specified snapshot. This is added to support the feature where the customer can share their snapshot with the Amazon Redshift Support Account without having to manually specify the AWS Redshift Service account ID on the AWS Console\/API."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "api-change",
"category": "APIGateway",
"description": "API Gateway request validators"
},
{
"type": "api-change",
"category": "GameLift",
"description": "Allows developers to utilize an improved workflow when calling our Queues API and introduces a new feature that allows developers to specify a maximum allowable latency per Queue."
},
{
"type": "api-change",
"category": "Batch",
"description": "API Update for AWS Batch: Customer provided AMI for MANAGED Compute Environment "
},
{
"type": "api-change",
"category": "OpsWorks",
"description": "Cloudwatch Logs agent configuration can now be attached to OpsWorks Layers using CreateLayer and UpdateLayer. OpsWorks will then automatically install and manage the CloudWatch Logs agent on the instances part of the OpsWorks Layer."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "Lambda",
"description": "You can use tags to group and filter your Lambda functions, making it easier to analyze them for billing allocation purposes. For more information, see Tagging Lambda Functions. You can now write or upgrade your Lambda functions using Python version 3.6. For more information, see Programming Model for Authoring Lambda Functions in Python. Note: Features will be rolled out in the US regions on 4\/19."
}
]

View File

@@ -1,42 +0,0 @@
[
{
"type": "api-change",
"category": "IAM",
"description": "This changes introduces a new IAM role type, Service Linked Role, which works like a normal role but must be managed via services' control. "
},
{
"type": "feature",
"category": "LexModelBuildingService",
"description": "Amazon Lex is a service for building conversational interfaces into any application using voice and text."
},
{
"type": "feature",
"category": "CodeStar",
"description": "AWS CodeStar is a cloud-based service for creating, managing, and working with software development projects on AWS. An AWS CodeStar project creates and integrates AWS services for your project development toolchain. AWS CodeStar also manages the permissions required for project users."
},
{
"type": "api-change",
"category": "EC2",
"description": "Adds support for creating an Amazon FPGA Image (AFI) from a specified design checkpoint (DCP)."
},
{
"type": "api-change",
"category": "Rekognition",
"description": "Given an image, the API detects explicit or suggestive adult content in the image and returns a list of corresponding labels with confidence scores, as well as a taxonomy (parent-child relation) for each label."
},
{
"type": "api-change",
"category": "Lambda",
"description": "Lambda integration with CloudDebugger service to enable customers to enable tracing for the Lambda functions and send trace information to the CloudDebugger service."
},
{
"type": "api-change",
"category": "APIGateway",
"description": "Add support for \"embed\" property."
},
{
"type": "api-change",
"category": "Polly",
"description": "API Update for Amazon Polly: Add support for speech marks"
}
]

View File

@@ -1,32 +0,0 @@
[
{
"type": "enhancement",
"category": "Route53",
"description": "Release notes: SDK documentation now includes examples for ChangeResourceRecordSets for all types of resource record set, such as weighted, alias, and failover."
},
{
"type": "enhancement",
"category": "KMS",
"description": "Doc-only update for Key Management Service (KMS): Update docs for GrantConstraints and GenerateRandom"
},
{
"type": "api-change",
"category": "ElasticLoadBalancingv2",
"description": "Adding LoadBalancersDeleted waiter for Elasticloadbalancingv2"
},
{
"type": "enhancement",
"category": "Route53Domains",
"description": "Adding examples and other documentation updates."
},
{
"type": "enhancement",
"category": "DirectConnect",
"description": "Documentation updates for AWS Direct Connect."
},
{
"type": "api-change",
"category": "DeviceFarm",
"description": "API Update for AWS Device Farm: Support for Deals and Promotions "
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "Kinesis",
"description": "Adds a new waiter, StreamNotExists, to Kinesis "
},
{
"type": "api-change",
"category": "AppStream",
"description": "The new feature named \"Default Internet Access\" will enable Internet access from AppStream 2.0 instances - image builders and fleet instances. Admins will check a flag either through AWS management console for AppStream 2.0 or through API while creating an image builder or while creating\/updating a fleet."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "RDS",
"description": "With Amazon Relational Database Service (Amazon RDS) running MySQL or Amazon Aurora, you can now authenticate to your DB instance using IAM database authentication."
}
]

View File

@@ -1,27 +0,0 @@
[
{
"type": "api-change",
"category": "Rekognition",
"description": "Fix for missing file type check"
},
{
"type": "api-change",
"category": "CloudFormation",
"description": "API update for CloudFormation: New optional parameter ClientRequestToken which can be used as an idempotency token to safely retry certain operations as well as tagging StackEvents."
},
{
"type": "api-change",
"category": "Snowball",
"description": "The Snowball API has a new exception that can be thrown for list operation requests."
},
{
"type": "api-change",
"category": "SQS",
"description": "Adding server-side encryption (SSE) support to SQS by integrating with AWS KMS; adding new queue attributes to SQS CreateQueue, SetQueueAttributes and GetQueueAttributes APIs to support SSE."
},
{
"type": "api-change",
"category": "RDS",
"description": "The DescribeDBClusterSnapshots API now returns a SourceDBClusterSnapshotArn field which identifies the source DB cluster snapshot of a copied snapshot."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "CloudFormation",
"description": "Adding back the removed waiters and paginators."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "api-change",
"category": "S3",
"description": "Fixed possible security issue in `Transfer`s download `transfer` operation where files could be downloaded to a directory outside the destination directory if the key contained relative paths. Ignoring files to continue with your transfer can be done through passing an iterator of files to download to `Transfer`s parameter: `$source`. These can be generated on `s3:\/\/` paths if you have registered the SDK's `StreamWrapper` via `\\Aws\\recursive_dir_iterator`."
},
{
"type": "api-change",
"category": "Lambda",
"description": "Support for UpdateFunctionCode DryRun option"
},
{
"type": "feature",
"category": "MarketplaceEntitlementService",
"description": "AWS Marketplace Entitlement Service enables AWS Marketplace sellers to determine the capacity purchased by their customers."
},
{
"type": "api-change",
"category": "ECS",
"description": "Exposes container instance registration time in ECS:DescribeContainerInstances."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "enhancement",
"category": "CodeStar",
"description": "Updated documentation for AWS CodeStar."
},
{
"type": "enhancement",
"category": "WorkSpaces",
"description": "Doc-only Update for WorkSpaces"
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "api-change",
"category": "Organizations",
"description": "AWS Organizations APIs that return an Account object now include the email address associated with the account\u2019s root user."
},
{
"type": "api-change",
"category": "ElasticLoadBalancing",
"description": "Add a new API to allow customers to describe their account limits, such as load balancer limit, target group limit etc."
},
{
"type": "api-change",
"category": "ElasticLoadBalancingv2",
"description": "Add a new API to allow customers to describe their account limits, such as load balancer limit, target group limit etc."
},
{
"type": "api-change",
"category": "LexModelBuildingService",
"description": "Releasing new DeleteBotVersion, DeleteIntentVersion and DeleteSlotTypeVersion APIs."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "SSM",
"description": "UpdateAssociation API now supports updating document name and targets of an association. GetAutomationExecution API can return FailureDetails as an optional field to the StepExecution Object, which contains failure type, failure stage as well as other failure related information for a failed step."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "api-change",
"category": "GameLift",
"description": "Allow developers to specify how metrics are grouped in CloudWatch for their GameLift fleets. Developers can also specify how many concurrent game sessions activate on a per-instance basis."
},
{
"type": "api-change",
"category": "CodeDeploy",
"description": "This release introduces the previousRevision field in the responses to the GetDeployment and BatchGetDeployments actions. previousRevision provides information about the application revision that was deployed to the deployment group before the most recent successful deployment. Also, the fileExistsBehavior parameter has been added for CreateDeployment action requests. In the past, if the AWS CodeDeploy agent detected files in a target location that weren't part of the application revision from the most recent successful deployment, it would fail the current deployment by default. This new parameter provides options for how the agent handles these files: fail the deployment, retain the content, or overwrite the content."
},
{
"type": "api-change",
"category": "Inspector",
"description": "Adds ability to produce an assessment report that includes detailed and comprehensive results of a specified assessment run."
},
{
"type": "enhancement",
"category": "KMS",
"description": "Update documentation for KMS."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "enhancement",
"category": "CloudWatchLogs",
"description": "Various CloudWatch Logs documentation updates."
},
{
"type": "enhancement",
"category": "CloudWatchEvents",
"description": "Various CloudWatch Events documentation updates."
},
{
"type": "api-change",
"category": "Polly",
"description": "Amazon Polly adds new German voice \"Vicki\""
},
{
"type": "enhancement",
"category": "AutoScaling",
"description": "Various Auto Scaling documentation updates"
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "Lightsail",
"description": "This release adds new APIs that make it easier to set network port configurations on Lightsail instances. Developers can now make a single request to both open and close public ports on an instance using the PutInstancePublicPorts operation."
},
{
"type": "feature",
"category": "Athena",
"description": "This release adds support for Amazon Athena. Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "SQS",
"description": "MD5 Validation of `MessageAttributes` is now being performed on `ReceiveMessage` calls. SQS uses a custom encoding for generating the hash input, [details on that scheme are available here.](http:\/\/docs.aws.amazon.com\/AWSSimpleQueueService\/latest\/SQSDeveloperGuide\/sqs-message-attributes.html#sqs-attrib-md5)"
},
{
"type": "api-change",
"category": "ResourceGroupsTaggingAPI",
"description": "You can now specify the number of resources returned per page in GetResources operation, as an optional parameter, to easily manage the list of resources returned by your queries."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "api-change",
"category": "IoT",
"description": "Update client side validation for SalesForce action."
},
{
"type": "enhancement",
"category": "CloudFront",
"description": "Doc update to fix incorrect prefix in S3OriginConfig"
},
{
"type": "enhancement",
"category": "ACM",
"description": "Documentation update for AWS Certificate Manager."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "DatabaseMigrationService",
"description": "This release adds support for using Amazon S3 and Amazon DynamoDB as targets for database migration, and using MongoDB as a source for database migration. For more information, see the AWS Database Migration Service documentation."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "api-change",
"category": "StorageGateway",
"description": "Two Storage Gateway data types, Tape and TapeArchive, each have a new response element, TapeUsedInBytes. This element helps you manage your virtual tapes. By using TapeUsedInBytes, you can see the amount of data written to each virtual tape."
},
{
"type": "api-change",
"category": "IAM",
"description": "The unique ID and access key lengths were extended from 32 to 128"
},
{
"type": "api-change",
"category": "STS",
"description": "The unique ID and access key lengths were extended from 32 to 128."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "AppStream",
"description": "Support added for persistent user storage, backed by S3."
},
{
"type": "api-change",
"category": "Rekognition",
"description": "Updated the CompareFaces API response to include orientation information, unmatched faces, landmarks, pose, and quality of the compared faces."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "api-change",
"category": "S3",
"description": "S3 calls are now done with a host style URL by default. Options for path style on the client and command levels are available as `use_path_style_endpoint` and `@use_path_style_endpoint`, respectively. [More details on the differences between the styles can be found here.](http:\/\/docs.aws.amazon.com\/AmazonS3\/latest\/dev\/UsingBucket.html#access-bucket-intro)"
},
{
"type": "enhancement",
"category": "S3",
"description": "New example snippets for Amazon S3."
},
{
"type": "api-change",
"category": "CloudDirectory",
"description": "Cloud Directory has launched support for Typed Links, enabling customers to create object-to-object relationships that are not hierarchical in nature. Typed Links enable customers to quickly query for data along these relationships. Customers can also enforce referential integrity using Typed Links, ensuring data in use is not inadvertently deleted."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "RDS",
"description": "Amazon RDS customers can now easily and quickly stop and start their DB instances."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "enhancement",
"category": "LexModelBuildingService",
"description": "Updated documentation and added examples for Amazon Lex Runtime Service."
},
{
"type": "api-change",
"category": "CodeDeploy",
"description": "AWS CodeDeploy has improved how it manages connections to GitHub accounts and repositories. You can now create and store up to 25 connections to GitHub accounts in order to associate AWS CodeDeploy applications with GitHub repositories. Each connection can support multiple repositories. You can create connections to up to 25 different GitHub accounts, or create more than one connection to a single account. The ListGitHubAccountTokenNames command has been introduced to retrieve the names of stored connections to GitHub accounts that you have created. The name of the connection to GitHub used for an AWS CodeDeploy application is also included in the ApplicationInfo structure. Two new fields, lastAttemptedDeployment and lastSuccessfulDeployment, have been added to DeploymentGroupInfo to improve the handling of deployment group information in the AWS CodeDeploy console. Information about these latest deployments can also be retrieved using the GetDeploymentGroup and BatchGetDeployment group requests. Also includes a region update (us-gov-west-1)."
},
{
"type": "api-change",
"category": "ElasticLoadBalancingv2",
"description": "Update the existing DescribeRules API to support pagination."
},
{
"type": "api-change",
"category": "CognitoIdentityProvider",
"description": "Added support within Amazon Cognito User Pools for 1) a customizable hosted UI for user sign up and sign in and 2) integration of external identity providers."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "WorkDocs",
"description": "This release includes new APIs to manage tags and custom metadata on resources and also new APIs to add and retrieve comments at the document level."
},
{
"type": "api-change",
"category": "KinesisAnalytics",
"description": "Kinesis Analytics publishes error messages CloudWatch logs in case of application misconfigurations"
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "api-change",
"category": "AppStream",
"description": "AppStream 2.0 Custom Security Groups allows you to easily control what network resources your streaming instances and images have access to. You can assign up to 5 security groups per Fleet to control the inbound and outbound network access to your streaming instances to specific IP ranges, network protocols, or ports."
},
{
"type": "api-change",
"category": "AutoScaling",
"description": "Autoscaling resource model update."
},
{
"type": "api-change",
"category": "IoT",
"description": " Added Salesforce action to IoT Rules Engine."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "feature",
"category": "Greengrass",
"description": "AWS Greengrass is software that lets you run local compute, messaging, and device state synchronization for connected devices in a secure way. With AWS Greengrass, connected devices can run AWS Lambda functions, keep device data in sync, and communicate with other devices securely even when not connected to the Internet. Using AWS Lambda, Greengrass ensures your IoT devices can respond quickly to local events, operate with intermittent connections, and minimize the cost of transmitting IoT data to the cloud."
},
{
"type": "api-change",
"category": "CodeBuild",
"description": "Add support to APIs for privileged containers. This change would allow performing privileged operations like starting the Docker daemon inside builds possible in custom docker images."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "api-change",
"category": "Rekognition",
"description": "API Update for AmazonRekognition: Adding RecognizeCelebrities API"
},
{
"type": "api-change",
"category": "IoT",
"description": "In addition to using certificate ID, AWS IoT customers can now obtain the description of a certificate with the certificate PEM."
},
{
"type": "api-change",
"category": "Pinpoint",
"description": "Starting today Amazon Pinpoint adds SMS Text and Email Messaging support in addition to Mobile Push Notifications, providing developers, product managers and marketers with multi-channel messaging capabilities to drive user engagement in their applications. Pinpoint also enables backend services and applications to message users directly and provides advanced user and app analytics to understand user behavior and messaging performance."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "OpsWorks",
"description": "Tagging Support for AWS OpsWorks Stacks"
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "RDS",
"description": "API Update for RDS: this update enables copy-on-write, a new Aurora MySQL Compatible Edition feature that allows users to restore their database, and support copy of TDE enabled snapshot cross region."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "ConfigService",
"description": "With this release AWS Config supports the Amazon CloudWatch alarm resource type."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "enhancement",
"category": "CloudDirectory",
"description": "Documentation update for Cloud Directory"
},
{
"type": "api-change",
"category": "ApplicationAutoScaling",
"description": "Application Auto Scaling now supports automatic scaling of read and write throughput capacity for DynamoDB tables and global secondary indexes."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "api-change",
"category": "ServiceCatalog",
"description": "Added ProvisioningArtifactSummaries to DescribeProductAsAdmin's output to show the provisioning artifacts belong to the product. Allow filtering by SourceProductId in SearchProductsAsAdmin for AWS Marketplace products. Added a verbose option to DescribeProvisioningArtifact to display the CloudFormation template used to create the provisioning artifact.Added DescribeProvisionedProduct API. Changed the type of ProvisionedProduct's Status to be distinct from Record's Status. New ProvisionedProduct's Status are AVAILABLE, UNDER_CHANGE, TAINTED, ERROR. Changed Record's Status set of values to CREATED, IN_PROGRESS, IN_PROGRESS_IN_ERROR, SUCCEEDED, FAILED."
},
{
"type": "api-change",
"category": "EC2",
"description": "Adds API to describe Amazon FPGA Images (AFIs) available to customers, which includes public AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for which you have load permissions."
},
{
"type": "api-change",
"category": "ECS",
"description": "Added support for cpu, memory, and memory reservation container overrides on the RunTask and StartTask APIs."
},
{
"type": "api-change",
"category": "IoT",
"description": "Revert the last release: remove CertificatePem from DescribeCertificate API."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "XRay",
"description": "Add a response time histogram to the services in response of GetServiceGraph API."
},
{
"type": "enhancement",
"category": "Batch",
"description": "AWS Batch is now available in the ap-northeast-1 region."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "Organizations",
"description": "Improvements to Exception Modeling"
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "WorkDocs",
"description": "This release provides a new API to retrieve the activities performed by WorkDocs users."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "api-change",
"category": "Route53",
"description": "Amazon Route 53 now supports multivalue answers in response to DNS queries, which lets you route traffic approximately randomly to multiple resources, such as web servers. Create one multivalue answer record for each resource and, optionally, associate an Amazon Route 53 health check with each record, and Amazon Route 53 responds to DNS queries with up to eight healthy records."
},
{
"type": "feature",
"category": "DAX",
"description": "Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache for DynamoDB that delivers up to a 10x performance improvement - from milliseconds to microseconds - even at millions of requests per second. DAX does all the heavy lifting required to add in-memory acceleration to your DynamoDB tables, without requiring developers to manage cache invalidation, data population, or cluster management."
},
{
"type": "api-change",
"category": "SSM",
"description": "Adding hierarchy support to the SSM Parameter Store API. Added support tor tagging. New APIs: GetParameter - retrieves one parameter, DeleteParameters - deletes multiple parameters (max number 10), GetParametersByPath - retrieves parameters located in the hierarchy. Updated APIs: PutParameter - added ability to enforce parameter value by applying regex (AllowedPattern), DescribeParameters - modified to support Tag filtering."
},
{
"type": "api-change",
"category": "WAF",
"description": "You can now create, edit, update, and delete a new type of WAF rule with a rate tracking component."
}
]

View File

@@ -1,32 +0,0 @@
[
{
"type": "api-change",
"category": "CodePipeline",
"description": "A new API, ListPipelineExecutions, enables you to retrieve summary information about the most recent executions in a pipeline, including pipeline execution ID, status, start time, and last updated time. You can request information for a maximum of 100 executions. Pipeline execution data is available for the most recent 12 months of activity."
},
{
"type": "enhancement",
"category": "Lambda",
"description": "Lambda is now available in the Canada (Central) region."
},
{
"type": "api-change",
"category": "ElasticLoadBalancing",
"description": "Add retry error state to InstanceInService waiter for ElasticLoadBalancer"
},
{
"type": "api-change",
"category": "Route53",
"description": "This release reintroduces the HealthCheckInUse exception."
},
{
"type": "api-change",
"category": "DatabaseMigrationService",
"description": "Added tagging for DMS certificates."
},
{
"type": "api-change",
"category": "Lightsail",
"description": "This release adds a new nextPageToken property to the result of the GetOperationsForResource API. Developers can now get the next set of items in a list by making subsequent calls to GetOperationsForResource API with the token from the previous call. This release also deprecates the nextPageCount property, which previously returned null (use the nextPageToken property instead). This release also deprecates the customImageName property on the CreateInstancesRequest class, which was previously ignored by the API."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "Lambda",
"description": "The Lambda Invoke API will now throw new exception InvalidRuntimeException (status code 502) for invokes with deprecated runtimes."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "ServiceCatalog",
"description": "Proper tagging of resources is critical to post-launch operations such as billing, cost allocation, and resource management. By using Service Catalog's TagOption Library, administrators can define a library of re-usable TagOptions that conform to company standards, and associate these with Service Catalog portfolios and products. Learn how to move your current tags to the new library, create new TagOptions, and view and associate your library items with portfolios and products. Understand how to ensure that the right tags are created on products launched through Service Catalog and how to provide users with defined selectable tags."
},
{
"type": "enhancement",
"category": "Greengrass",
"description": "AWS Greengrass is now available in new regions."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "api-change",
"category": "SSM",
"description": "Adding Resource Data Sync support to SSM Inventory. New APIs: * CreateResourceDataSync - creates a new resource data sync configuration, * ListResourceDataSync - lists existing resource data sync configurations, * DeleteResourceDataSync - deletes an existing resource data sync configuration. "
},
{
"type": "api-change",
"category": "CloudWatchEvents",
"description": "CloudWatch Events now allows different AWS accounts to share events with each other through a new resource called event bus. Event buses accept events from AWS services, other AWS accounts and PutEvents API calls. Currently all AWS accounts have one default event bus. To send events to another account, customers simply write rules to match the events of interest and attach an event bus in the receiving account as the target to the rule. The PutTargets API has been updated to allow adding cross account event buses as targets. In addition, we have released two new APIs - PutPermission and RemovePermission - that enables customers to add\/remove permissions to their default event bus."
},
{
"type": "api-change",
"category": "GameLift",
"description": "Allow developers to download GameLift fleet creation logs to assist with debugging."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "feature",
"category": "S3",
"description": "A new `params` option is available in the `MultipartUploader` and `MultipartCopy` classes for parameters that should be applied to all sub-commands of their upload functionality. This also improves functionality around passing `params` directly to `ObjectUploader` and `ObjectCopier`. A new `before_lookup` callback has been added to `ObjectCopier` for operating on the `HeadObject` command directly; `params` will be passed to HeadObject as well. Since these are changes to existing options, they may alter current functionality."
},
{
"type": "enhancement",
"category": "MarketplaceCommerceAnalytics",
"description": "Documentation updates for AWS Marketplace Commerce Analytics."
},
{
"type": "api-change",
"category": "S3",
"description": "API Update for S3: Adding Object Tagging Header to MultipartUpload Initialization"
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "CloudWatch",
"description": "We are excited to announce the availability of APIs and CloudFormation support for CloudWatch Dashboards. You can use the new dashboard APIs or CloudFormation templates to dynamically build and maintain dashboards to monitor your infrastructure and applications. There are four new dashboard APIs - PutDashboard, GetDashboard, DeleteDashboards, and ListDashboards APIs. PutDashboard is used to create a new dashboard or modify an existing one whereas GetDashboard is the API to get the details of a specific dashboard. ListDashboards and DeleteDashboards are used to get the names or delete multiple dashboards respectively. Getting started with dashboard APIs is similar to any other AWS APIs. The APIs can be accessed through AWS SDK or through CLI tools."
},
{
"type": "api-change",
"category": "Route53",
"description": "Bug fix for InvalidChangeBatch exception."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "CloudDirectory",
"description": "Cloud Directory adds support for additional batch operations."
},
{
"type": "api-change",
"category": "CloudFormation",
"description": "AWS CloudFormation StackSets enables you to manage stacks across multiple accounts and regions."
}
]

View File

@@ -1,27 +0,0 @@
[
{
"type": "api-change",
"category": "KMS",
"description": "This release of AWS Key Management Service introduces the ability to determine whether a key is AWS managed or customer managed."
},
{
"type": "api-change",
"category": "DirectoryService",
"description": "You can now improve the resilience and performance of your Microsoft AD directory by deploying additional domain controllers. Added UpdateNumberofDomainControllers API that allows you to update the number of domain controllers you want for your directory, and DescribeDomainControllers API that allows you to describe the detailed information of each domain controller of your directory. Also added the 'DesiredNumberOfDomainControllers' field to the DescribeDirectories API output for Microsoft AD."
},
{
"type": "api-change",
"category": "Kinesis",
"description": "You can now encrypt your data at rest within an Amazon Kinesis Stream using server-side encryption. Server-side encryption via AWS KMS makes it easy for customers to meet strict data management requirements by encrypting their data at rest within the Amazon Kinesis Streams, a fully managed real-time data processing service."
},
{
"type": "api-change",
"category": "SSM",
"description": "Amazon EC2 Systems Manager now expands Patching support to Amazon Linux, Red Hat and Ubuntu in addition to the already supported Windows Server."
},
{
"type": "enhancement",
"category": "Ecs",
"description": "ECS\/ECR now available in BJS"
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "bugfix",
"category": "S3",
"description": "Fixes an issue introduced in 3.31.0 that was not setting the ContentLength for all MultipartUploader::createPart streams, therefore potentially using an incorrect, $options['params'] value."
},
{
"type": "api-change",
"category": "AutoScaling",
"description": "Auto Scaling now supports a new type of scaling policy called target tracking scaling policies that you can use to set up dynamic scaling for your application."
},
{
"type": "enhancement",
"category": "SWF",
"description": "Added support for attaching control data to Lambda tasks. Control data lets you attach arbitrary strings to your decisions and history events."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "enhancement",
"category": "LexModelBuildingService",
"description": "Fixed broken links to reference and conceptual content."
},
{
"type": "api-change",
"category": "APIGateway",
"description": "Adds support for management of gateway responses."
},
{
"type": "api-change",
"category": "EC2",
"description": "X-ENI (or Cross-Account ENI) is a new feature that allows the attachment or association of Elastic Network Interfaces (ENI) between VPCs in different AWS accounts located in the same availability zone. With this new capability, service providers and partners can deliver managed solutions in a variety of new architectural patterns where the provider and consumer of the service are in different AWS accounts."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "enhancement",
"category": "MarketplaceCommerceAnalytics",
"description": "Update to Documentation Model For New Report Cadence \/ Reformat of Docs"
},
{
"type": "api-change",
"category": "EC2",
"description": "New EC2 GPU Graphics instance"
},
{
"type": "api-change",
"category": "ApplicationDiscoveryService",
"description": "Adding feature to the Export API for Discovery Service to allow filters for the export task to allow export based on per agent id."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "Lambda",
"description": "Lambda@Edge lets you run code closer to your end users without provisioning or managing servers. With Lambda@Edge, your code runs in AWS edge locations, allowing you to respond to your end users at the lowest latency. Your code is triggered by Amazon CloudFront events, such as requests to and from origin servers and viewers, and it is ready to execute at every AWS edge location whenever a request for content is received. You just upload your Node.js code to AWS Lambda and Lambda takes care of everything required to run and scale your code with high availability. You only pay for the compute time you consume - there is no charge when your code is not running."
},
{
"type": "api-change",
"category": "CognitoIdentityProvider",
"description": "Allows developers to configure user pools for email\/phone based signup and sign-in."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "bugfix",
"category": "S3",
"description": "Properly handle reading mismatched regions from S3's AuthorizationHeaderMalformed exception for S3MultiRegionClient."
},
{
"type": "api-change",
"category": "Budgets",
"description": "Update budget Management API's to list\/create\/update RI_UTILIZATION type budget. Update budget Management API's to support DAILY timeUnit for RI_UTILIZATION type budget."
}
]

View File

@@ -1,7 +0,0 @@
[
{
"type": "api-change",
"category": "EMR",
"description": "Amazon EMR now includes the ability to use a custom Amazon Linux AMI and adjustable root volume size when launching a cluster."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "AppStream",
"description": "Amazon AppStream 2.0 image builders and fleets can now access applications and network resources that rely on Microsoft Active Directory (AD) for authentication and permissions. This new feature allows you to join your streaming instances to your AD, so you can use your existing AD user management tools. "
},
{
"type": "api-change",
"category": "EC2",
"description": "Spot Fleet tagging capability allows customers to automatically tag instances launched by Spot Fleet. You can use this feature to label or distinguish instances created by distinct Spot Fleets. Tagging your EC2 instances also enables you to see instance cost allocation by tag in your AWS bill."
}
]

View File

@@ -1,22 +0,0 @@
[
{
"type": "feature",
"category": "",
"description": "Support for changes regarding PHP 7.2 releases."
},
{
"type": "enhancement",
"category": "DynamoDB",
"description": "Corrected a typo."
},
{
"type": "api-change",
"category": "CloudWatch",
"description": "This release adds high resolution features to CloudWatch, with support for Custom Metrics down to 1 second and Alarms down to 10 seconds."
},
{
"type": "api-change",
"category": "EC2",
"description": "Amazon EC2 Elastic GPUs allow you to easily attach low-cost graphics acceleration to current generation EC2 instances. With Amazon EC2 Elastic GPUs, you can configure the right amount of graphics acceleration to your particular workload without being constrained by fixed hardware configurations and limited GPU selection."
}
]

View File

@@ -1,12 +0,0 @@
[
{
"type": "api-change",
"category": "KinesisAnalytics",
"description": "Added additional exception types and clarified documentation."
},
{
"type": "api-change",
"category": "EC2",
"description": "The CreateDefaultVPC API enables you to create a new default VPC . You no longer need to contact AWS support, if your default VPC has been deleted."
}
]

View File

@@ -1,17 +0,0 @@
[
{
"type": "enhancement",
"category": "CodeStar",
"description": " AWS CodeStar is now available in the following regions: Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt)"
},
{
"type": "api-change",
"category": "SSM",
"description": "Adds a SendAutomationSignal API to SSM Service. This API is used to send a signal to an automation execution to change the current behavior or status of the execution."
},
{
"type": "api-change",
"category": "Inspector",
"description": "Inspector's StopAssessmentRun API has been updated with a new input option - stopAction. This request parameter can be set to either START_EVALUATION or SKIP_EVALUATION. START_EVALUATION (the default value, and the previous behavior) stops the AWS agent data collection and begins the results evaluation for findings generation based on the data collected so far. SKIP_EVALUATION cancels the assessment run immediately, after which no findings are generated."
}
]

View File

@@ -1,32 +0,0 @@
[
{
"type": "api-change",
"category": "CodeDeploy",
"description": "AWS CodeDeploy now supports the use of multiple tag groups in a single deployment group (an intersection of tags) to identify the instances for a deployment. When you create or update a deployment group, use the new ec2TagSet and onPremisesTagSet structures to specify up to three groups of tags. Only instances that are identified by at least one tag in each of the tag groups are included in the deployment group."
},
{
"type": "api-change",
"category": "SES",
"description": "This update adds information about publishing email open and click events. This update also adds information about publishing email events to Amazon Simple Notification Service (Amazon SNS)."
},
{
"type": "api-change",
"category": "ConfigService",
"description": "Added new API, GetDiscoveredResourceCounts, which returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in the given region for your AWS account."
},
{
"type": "api-change",
"category": "Pinpoint",
"description": "This release of the Pinpoint SDK enables App management - create, delete, update operations, Raw Content delivery for APNs and GCM campaign messages and From Address override."
},
{
"type": "api-change",
"category": "ElasticLoadBalancingv2",
"description": "Add TargetInService and TargetDeregistered waiters "
},
{
"type": "api-change",
"category": "EC2",
"description": "Ec2 SpotInstanceRequestFulfilled waiter update"
}
]

Some files were not shown because too many files have changed in this diff Show More