Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
LGPL-2.1-or-later, LGPL-3.0-only, LGPL-3.0-or-later,
AGPL-3.0-only, AGPL-3.0-or-later

validate:
test:
name: test
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down
59 changes: 42 additions & 17 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
HackerTok - A Hacker News client
Copyright (C) 2026 HackerTok Contributors

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, version 3 of the License.

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.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

-------------------------------------------------------------------------------

GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007

Expand Down Expand Up @@ -634,3 +617,45 @@ Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

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.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

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.

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.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://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
<https://www.gnu.org/licenses/>.
4 changes: 0 additions & 4 deletions e2e/fixtures/api-mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ export async function setupApiMocks(page: Page) {
await page.route(`${ALGOLIA_API}/search*`, async (route) => {
const url = new URL(route.request().url());
const tags = url.searchParams.get('tags') || '';
const query = url.searchParams.get('query') || '';
const page = parseInt(url.searchParams.get('page') || '0', 10);

let hits: object[] = [];
Expand Down Expand Up @@ -254,9 +253,6 @@ export async function setupApiMocks(page: Page) {
// from the 'front_page' branch above so pagination is observable.
hits = [mockPaginationItem1, mockPaginationItem2, mockPaginationItem3];
nbHits = 3;
} else if (query.includes('example.com')) {
hits = [mockDomainItem];
nbHits = 1;
}

await route.fulfill({
Expand Down