Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3d89b29
update dependencies (fixes broken comments page)
Mar 25, 2018
22575f5
prevent long site names from wrapping
Mar 30, 2018
5b928ae
update notice/new project URL
Mar 30, 2018
c436a96
added webhooks
Mar 31, 2018
7b015df
add webhook documentation to index
Mar 31, 2018
495261a
refactor SubmissionImageListener to use guzzle
Mar 31, 2018
b12fecc
factor EntityEditListener away
Mar 31, 2018
d892901
remove unnecessary service dependency
Apr 1, 2018
e80c652
Updated Esperanto translation.
Apr 4, 2018
1c9a69a
update dependencies (fixes cache warmup)
Apr 5, 2018
5957028
replace deprecated psr-0 type hints with psr-4
Apr 5, 2018
69bf21f
Merge branch 'master' into 'master'
Apr 6, 2018
b03c095
add NotForumBanned constraint/validator
Apr 7, 2018
960595e
Merge branch 'master' of gitlab.com:edgyemma/Postmill
Apr 7, 2018
097ee45
update dependencies
Apr 7, 2018
6368e3d
fix unit tests
Apr 7, 2018
23d7e67
test Votable/minor refactorings for voting stuff
Apr 7, 2018
049b378
give AjaxListener a proper unit test
Apr 7, 2018
d4325c1
completely redo the way submissions are fetched
Apr 8, 2018
4eabd19
Merge branch 'feat-keyset-pagination' into 'master'
Apr 10, 2018
8568c41
fix typo that broke 'controversial'
Apr 10, 2018
0a1e653
rearrange some classes, remove dead code
Apr 11, 2018
64caf47
fix validation in SubmissionPager
Apr 11, 2018
8a7f61a
remove deprecated css classes
Apr 11, 2018
ed81769
add command for modifying a user
Apr 14, 2018
42b29a7
make vote buttons use event bubbling
Apr 15, 2018
127aa1e
update readme
Apr 15, 2018
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
1 change: 1 addition & 0 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
SITE_NAME=Postmill
NO_REPLY_ADDRESS="no-reply@example.com"
APP_LOCALE=en
APP_ENABLE_WEBHOOKS=0

###> symfony/framework-bundle ###
APP_ENV=dev
Expand Down
59 changes: 26 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
**Notice**: Now that the community Postmill was created for has become
unpalatable for me, the future of this project is uncertain. Previously, I
could spend time implementing a feature or improving something, and see the
community embrace (or, on occasion, deride) my hard work. Now that I have no
community, this is no longer the case, and I cannot imagine what motivation I
could have to keep working on this project.

For now, if you want to report issues or submit pull requests, I'll take a look
at them. Any security holes I become aware of (either in Postmill itself or in
its dependencies) will be fixed. But active development probably won't happen
unless someone steps up. Consider Postmill to be on life support.

I'm passionate about building communities, and I will probably make another
effort to build something cool in the future, using the experience I made from
Postmill. Until then, I'm taking a break.

Thanks to everyone who contributed to Postmill, or merely sent kind words my
way. You made it all worth it.

-- Emma

***

# ![](docs/assets/postmill-128.png) Postmill

**Postmill** is a free, web-based, social link aggregator with voting and
Expand All @@ -31,7 +8,7 @@ by an alien logo are purely coincidental.
## Requirements

* PHP >= 7.1 with the APCu, curl, gd, mbstring, PDO_PGSQL and xml extensions.
* PostgreSQL >= 9.3
* PostgreSQL >= 9.4
* [Composer](https://getcomposer.org/)
* [Node.js](https://nodejs.org/en/) (>= 8.x preferred)

Expand Down Expand Up @@ -72,24 +49,39 @@ Clone the repository somewhere and navigate there with the command line.
7. Navigate to <http://localhost:8000/>. Log in with the credentials you chose
in step 2.

## Reporting issues
## Support

We have a [support board][support] and a [Matrix channel][matrix] where you can
ask for help and support.

* Bugs and feature requests should be reported on the [issue tracker][issues].
* Get support on Postmill's Matrix channel: [#postmill:matrix.org][matrix].
## Reporting issues

You can email emma1312@protonmail.ch to disclose or discuss something in private
with the creator of the software.
* Bugs and suggestions on how to improve existing functionality should be
reported on the [issue tracker][issues].
* Feature requests are no longer acceptable on the issue tracker--I will not do
free work for you.
* Support questions do not belong on the issue tracker. Use the aforementioned
public support channels.

## Contributions

You are always welcome to submit pull requests for things like bug fixes,
documentation, and new translations. Pull requests for new/altered functionality
are likely to be rejected, as this must be discussed with the community
beforehand.
You are always welcome to submit merge requests for bug fixes, improvements,
documentation, translations, and so on.

If you want to contribute a new feature, you should start an issue on the issue
tracker to gauge the possibility of it being merged. A feature that's outside
the scope of the software is likely to be rejected. We don't want hurt feelings,
so please just ask beforehand.

If you'd like to support me with money, you can send Bitcoins to
`1AXAH2ZaHfVsq2xnbXRN9497FpUAri8x72`.

## Contact

You can email emma1312@protonmail.ch to discuss something in private with the
creator of the software. **Do not email me for asking for support**--use the
public support channels instead.

## License

The software is released under the zlib license. See the `LICENSE` file for
Expand All @@ -98,3 +90,4 @@ details.

[issues]: https://gitlab.com/edgyemma/Postmill/issues
[matrix]: https://matrix.to/#/#postmill:matrix.org
[support]: https://community.postmill.xyz/f/Support
10 changes: 4 additions & 6 deletions assets/js/vote.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,11 @@ function vote($form, isUp) {
}

$(function () {
$('.user-logged-in .vote').each(function () {
const $form = $(this);
$(document)
.on('submit', '.user-logged-in .vote', event => event.preventDefault())
.on('click', '.user-logged-in .vote-button', function () {
const $form = $(this).parents('.vote');

$form.submit(event => event.preventDefault());

$form.find('.vote-button').click(function () {
vote($form, $(this).hasClass('vote-up'));
});
});
});
1 change: 1 addition & 0 deletions assets/less/components/site-nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
display: block;
font-size: @nav-font-size;
padding: 1rem;
white-space: nowrap;
}

&__logo {
Expand Down
2 changes: 1 addition & 1 deletion assets/less/main.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import (less) '~normalize.css';

/*! https://gitlab.com/edgyemma/Postmill */
/*! https://postmill.xyz/ */

// global element styles (must be first)
@import 'global';
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"require": {
"php": "^7.1.3",
"ext-apcu": "*",
"ext-curl": "*",
"ext-iconv": "*",
"ext-pdo_pgsql": "*",
"doctrine/doctrine-migrations-bundle": "^1.2",
"eightpoints/guzzle-bundle": "^7.3",
"embed/embed": "^3.0",
"ezyang/htmlpurifier": "^4.8",
"friendsofsymfony/jsrouting-bundle": "^2.1",
Expand Down
Loading