rabuzarus
b6ab3bdd36
make use of Config class
4 years ago
rabuzarus
a2ad013830
some work on code standards compliance
4 years ago
rabuzarus
835e54dfc3
upload images to the selected album
4 years ago
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
4 years ago
Roland Häder
0cd241bcbe
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
5471dd79e8
added missing curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
63e4750b4a
more coding convention applied:
- added curly braces
- added spaces where needed
- $r only needs to be tested with dbm::is_result()
- made SQL keywords all uper-case
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Hypolite Petovan
66482c1d9c
- Remove $theme_richtext_editor boot var
- Remove "richtext" feature
- Remove fix_mce_lf() function
- Remove nomce parameter
4 years ago
Hypolite Petovan
a7ce601580
Normalize App parameter declaration (mod folder, 3 out of 3)
4 years ago
Michael
1b48799f08
Don't do queries if not needed
4 years ago
Roland Häder
98b7270295
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/lock.php
4 years ago
Roland Häder
e1f3661645
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
abff6372dd
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/lock.php
4 years ago
Roland Häder
fb676335db
Coding convention applied:
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
884f44ce94
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
46d383369c
Cleanup for #3010 - added spaces, thanks to @annando .
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
6a8a36f12d
More usage of dbm::is_result($r) instead of count($r):
- count() returns very different results and never a boolean (not even false on
error condition).
- therefore you should NOT use it in boolean expressions. This still *can* be
done in PHP because of its lazyness. But it is discouraged if it comes to
more clean code.
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
rabuzarus
9878974e1f
fix photos page permissions
4 years ago
Roland Haeder
3e701b90ac
Continued rewriting:
- use dba::is_result() everywhere (where I found the old, bad way)
- converted some spaces -> tabs for code
- converted some CRLF -> LF as mixures of both is not good
Signed-off-by: Roland Haeder <roland@mxchange.org>
5 years ago
fabrixxm
b202e02fbf
Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802
.
5 years ago
Andrej Stieben
db949bb802
Updated modules to allow for partial overrides without errors
Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
5 years ago
Michael Vogel
845a769dc2
Only check size if needed - should speed up the uploading.
5 years ago
Michael Vogel
6f662b8c74
New avatar picture fields to better cope with changing avatars
5 years ago
Michael Vogel
5a8d66e2d4
Just removed blanks with tabs
6 years ago
hauke
f3eebda4fa
changed syntax to work with PHP 5.3 #2027
6 years ago
fabrixxm
cbabac298d
filebrowser: link image to original picture, show error messages
6 years ago
Michael Vogel
0de1926113
removed logger entry
6 years ago
Michael Vogel
2b3ebb9c3e
Follow/Unfollow now works from OStatus.
6 years ago
rabuzarus
a982320ba9
show maximagesize warning in a human readable format
6 years ago
Michael Vogel
3cbd72d907
API: New picture upload function (Enhanced Twidere support)
6 years ago
Michael Vogel
f8845b6014
Issue 964 "Image upload from Twidere" is solved now
7 years ago
Michael Vogel
6b8585d48d
Database stuff. New table "thread". Changing "left join" to "inner join", removing "limit 1" at update and delete.
7 years ago
Zach Prezkuta
74caf1a4a7
* Add MIME types for file attachments
* Restore translatability to mood phrases
* Prevent casting of "false" in html2plain
* Allow attachments with a comma in the filename
* Fix/optimize ACL img data-src jQuery search
* Fix bug when uploading files with a comma in the name using Chrome/Chromium
* Babel nicer output formatting
* Remove obsolete "plaintext" check in mod/parse_url
* Restore TinyMCE live insertion of images
* Smarty conversion script: add --no-header option to suppress warning headers in Smarty template files
8 years ago
Zach Prezkuta
e684324032
use explicit include paths
8 years ago
friendica
8bb0f08c6c
default to bbcode format when uploading photos, since default editor is now plaintext
9 years ago
Zach Prezkuta
999c3439e6
fix mobile photo uploads; better theme control; frost improvements
9 years ago
friendica
4cd8233f61
remote_user can now support multiple contacts being logged in at once
9 years ago
Zach Prezkuta
9fbe921051
auto-orient uploaded wall photos and profile photos also
9 years ago
friendica
b044cd922d
typos in bbcode, add service class restrictions to jot uploads
9 years ago
Fabio Comuni
2438c6e45d
png support: update database.sql, fix some typos, fix tinymce image browser
9 years ago
Fabio Comuni
7cc8c369cb
Add support for PNG images with alpha
9 years ago
Michael Johnston
76aa9b3037
api: add support for StatusNet-style media param to API
9 years ago
friendica
977625a53b
fix to wall_upload photos default permissions to use cid rather than uid.
9 years ago
friendica
a19ddb48ee
waitman gobble media upload via api patch
9 years ago
friendica
c6cdad946e
more fixes for textmode
9 years ago
friendica
8aa2552372
add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit)
9 years ago
Friendika
c30f523c62
more d* infrastructure for relaying signed messages and storing non-connected people details
10 years ago
Friendika
0bfb6314df
default uploaded photo permissions were wrong
10 years ago
Friendika
73b4faca5c
basic file upload/attach
10 years ago
fabrixxm
9f7878057f
update source strings
10 years ago