[MEDIA] File downloader now in PHP, added proper name in the UI and changed the format for new attachment file names
The file downloader was changed from a simple redirect to the file to one
implemented in PHP, which should make it safer, by making it possible disallow
direct access to the file, to prevent executing of atttachments
The filename has a new format:
bin2hex("{$original_name}")."-{$filehash}"
This format should be respected. Notice the dash, which is important to distinguish it from the previous
format, which was "{$hash}.{$ext}"
This change was made to both make the experience more user friendly, by
providing a readable name for files, as opposed to it's hash. This name is taken
from the upload filename, but, clearly, as this wasn't done before, it's
impossible to have a proper name for older files, so those are displayed as
"untitled.{$ext}".
This new name is displayed in the UI, instead of the previous name.
2019-06-11 10:42:33 +09:00
|
|
|
# GNU social 1.21.x
|
2019-06-08 00:41:44 +09:00
|
|
|
(c) 2010-2019 Free Software Foundation, Inc
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
This is the README file for GNU social, the free
|
|
|
|
software social networking platform. It includes
|
|
|
|
general information about the software and the
|
|
|
|
project.
|
|
|
|
|
2019-06-03 02:09:38 +09:00
|
|
|
The file INSTALL.md has useful instructions on how to
|
|
|
|
install this software.
|
|
|
|
|
2019-06-12 08:39:50 +09:00
|
|
|
System administrators may find the `DOCUMENTATION/SYSTEM_ADMINISTRATORS`
|
2019-06-03 02:09:38 +09:00
|
|
|
directory useful, namely:
|
2014-08-18 08:25:56 +09:00
|
|
|
|
2019-06-03 02:09:38 +09:00
|
|
|
- upgrade_from: upgrading from different software
|
|
|
|
- CONFIGURE.md: configuration options in gruesome detail.
|
|
|
|
- PLUGINS.md: how to install and configure plugins.
|
2014-08-18 08:25:56 +09:00
|
|
|
|
2019-06-12 08:39:50 +09:00
|
|
|
Developers may find the `DOCUMENTATION/DEVELOPERS` directory useful.
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
## About
|
|
|
|
|
|
|
|
GNU social is a free social networking
|
|
|
|
platform. It helps people in a community, company
|
|
|
|
or group to exchange short status updates, do
|
|
|
|
polls, announce events, or other social activities
|
|
|
|
(and you can add more!). Users can choose which
|
|
|
|
people to "follow" and receive only their friends'
|
|
|
|
or colleagues' status messages. It provides a
|
2016-03-20 22:06:58 +09:00
|
|
|
similar service to proprietary social network sites,
|
|
|
|
but is much more awesome.
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
With a little work, status messages can be sent to
|
|
|
|
mobile phones, instant messenger programs (using
|
|
|
|
XMPP), and specially-designed desktop clients that
|
|
|
|
support the Twitter API.
|
|
|
|
|
2019-06-03 02:09:38 +09:00
|
|
|
GNU social supports open standards (such as OStatus
|
|
|
|
<https://www.w3.org/community/ostatus/>) that lets users in
|
2014-08-18 08:25:56 +09:00
|
|
|
different networks follow each other. It enables a
|
|
|
|
distributed social network spread all across the
|
|
|
|
Web.
|
|
|
|
|
2015-02-13 20:08:54 +09:00
|
|
|
GNU social was originally developed as "StatusNet" by
|
|
|
|
StatusNet, Inc. with Evan Prodromou as lead developer.
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
It is shared with you in hope that you too make an
|
|
|
|
service available to your users. To learn more,
|
|
|
|
please see the Open Software Service Definition
|
2015-01-20 07:03:03 +09:00
|
|
|
1.1: <http://www.opendefinition.org/ossd>
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
### License
|
|
|
|
|
|
|
|
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, in the file "COPYING". If not, see
|
|
|
|
<http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
IMPORTANT NOTE: The GNU Affero General Public License (AGPL) has
|
|
|
|
*different requirements* from the "regular" GPL. In particular, if
|
|
|
|
you make modifications to the GNU social source code on your server,
|
|
|
|
you *MUST MAKE AVAILABLE* the modified version of the source code
|
|
|
|
to your users under the same license. This is a legal requirement
|
|
|
|
of using the software, and if you do not wish to share your
|
|
|
|
modifications, *YOU MAY NOT INSTALL GNU SOCIAL*.
|
|
|
|
|
|
|
|
Documentation in the /doc-src/ directory is available under the
|
|
|
|
Creative Commons Attribution 3.0 Unported license, with attribution to
|
2015-01-20 07:03:03 +09:00
|
|
|
"GNU social". See <http://creativecommons.org/licenses/by/3.0/> for details.
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
CSS and images in the /theme/ directory are available under the
|
|
|
|
Creative Commons Attribution 3.0 Unported license, with attribution to
|
2015-01-20 07:03:03 +09:00
|
|
|
"GNU social". See <http://creativecommons.org/licenses/by/3.0/> for details.
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
Our understanding and intention is that if you add your own theme that
|
|
|
|
uses only CSS and images, those files are not subject to the copyleft
|
|
|
|
requirements of the Affero General Public License 3.0. See
|
2015-01-20 07:03:03 +09:00
|
|
|
<http://wordpress.org/news/2009/07/themes-are-gpl-too/>. This is not
|
2014-08-18 08:25:56 +09:00
|
|
|
legal advice; consult your lawyer.
|
|
|
|
|
|
|
|
Additional library software has been made available in the 'extlib'
|
|
|
|
directory. All of it is Free Software and can be distributed under
|
|
|
|
liberal terms, but those terms may differ in detail from the AGPL's
|
|
|
|
particulars. See each package's license file in the extlib directory
|
|
|
|
for additional terms.
|
|
|
|
|
2019-06-03 02:09:38 +09:00
|
|
|
Refer to COPYING.md for full text of the software license..
|
|
|
|
|
2014-08-18 08:25:56 +09:00
|
|
|
### Troubleshooting
|
|
|
|
|
|
|
|
The primary output for GNU social is syslog,
|
|
|
|
unless you configured a separate logfile. This is
|
|
|
|
probably the first place to look if you're getting
|
|
|
|
weird behaviour from GNU social.
|
|
|
|
|
|
|
|
If you're tracking the unstable version of
|
|
|
|
GNU social in the git repository (see below), and you
|
|
|
|
get a compilation error ("unexpected T_STRING") in
|
|
|
|
the browser, check to see that you don't have any
|
|
|
|
conflicts in your code.
|
|
|
|
|
|
|
|
### Unstable version
|
|
|
|
|
|
|
|
If you're adventurous or impatient, you may want
|
2014-10-26 00:30:52 +09:00
|
|
|
to install the development version of GNU social.
|
|
|
|
To get it, use the git version control tool
|
|
|
|
<http://git-scm.com/> like so:
|
2014-08-18 08:25:56 +09:00
|
|
|
|
2019-06-03 02:09:38 +09:00
|
|
|
git clone git@notabug.org:diogo/gnu-social.git
|
2014-08-18 08:25:56 +09:00
|
|
|
|
2014-10-26 00:30:52 +09:00
|
|
|
In the current phase of development it is probably
|
|
|
|
recommended to use git as a means to stay up to date
|
|
|
|
with the source code. You can choose between these
|
|
|
|
branches:
|
2019-06-12 08:39:50 +09:00
|
|
|
* 1.20.x "oldstable", few updates, well tested coded
|
|
|
|
* master "stable", usually working well
|
|
|
|
* nightly "testing", most updates, not always working as expected
|
2014-08-18 08:25:56 +09:00
|
|
|
|
2019-06-08 00:41:44 +09:00
|
|
|
To keep it up-to-date, use `git pull`. Watch for conflicts!
|
|
|
|
|
2019-06-12 08:39:50 +09:00
|
|
|
As in any upgrade, do __not__ forget to run `/scripts/upgrade.php`.
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
## Further information
|
|
|
|
|
2014-10-26 00:30:52 +09:00
|
|
|
There are several ways to get more information about GNU social.
|
2014-08-18 08:25:56 +09:00
|
|
|
|
2015-02-13 20:08:54 +09:00
|
|
|
* The #social IRC channel on freenode.net <https://www.freenode.net/>.
|
|
|
|
* The unofficial XMPP room linked to IRC on <xmpp:gnusocial@conference.bka.li>
|
|
|
|
* The GNU social website <https://gnu.io/social/>
|
2014-08-18 08:25:56 +09:00
|
|
|
|
|
|
|
* GNU social has a bug tracker for any defects you may find, or ideas for
|
2019-06-03 02:09:38 +09:00
|
|
|
making things better. <https://notabug.org/diogo/gnu-social/issues>
|
|
|
|
* Patches are welcome, preferrably to our repository on notabug.org. <https://notabug.org/diogo/gnu-social>
|
2019-06-12 08:39:50 +09:00
|
|
|
|
|
|
|
## Credits
|
|
|
|
|
|
|
|
An incomplete list of developers who've worked on GNU social,
|
|
|
|
or its predecessors StatusNet and Free Social has been made available
|
|
|
|
in `CREDITS.md`.
|
|
|
|
|
|
|
|
### Current team
|
|
|
|
|
|
|
|
* Matt Lee
|
|
|
|
* Mikael Nordfeldth
|
|
|
|
* Diogo Cordeiro
|
|
|
|
* Bruno Casteleiro
|
|
|
|
* Miguel Dantas
|
|
|
|
* Alexei Sorokin
|