Commit graph

116 commits

Author SHA1 Message Date
Hypolite Petovan f79df56a56 Change Friendica self-hosting URL 2017-08-01 21:34:09 -04:00
Hypolite Petovan 687eef90f7 Fix upcoming killme() in index.php change
- Add killme() in controllers instead of relying on index.php
- Fix formatting
2017-08-01 21:33:50 -04:00
Hypolite Petovan 4601c4bd8a Fix "PHP Warning: session_write_close(): Failed to write session data (user)" errors
- Changed returning true when there's a session ID but no session data
in ref_session_write()
- Moved session.php requires around
2017-08-01 21:02:24 -04:00
Hypolite Petovan 9633d3393f Merge branch 'master' of https://github.com/Hypolite/dir 2017-08-01 19:40:15 -04:00
Hypolite Petovan e5416b0023 Fix deprecated constant MYSQL_ASSOC
- Add maintenance HTML file
2017-08-01 19:39:34 -04:00
Michael Vogel a5a186f911 Merge pull request #23 from tobiasd/20170801-vagrant
Vagrant > 1.5 needs an additional parameter
2017-08-01 22:20:49 +02:00
Tobias Diekershoff 8aea4acc54 Vagrant > 1.5 needs an additional parameter 2017-08-01 17:04:03 +02:00
Hypolite Petovan 98406dfcaf Fix deprecated constant MYSQL_ASSOC
- Add maintenance HTML file
2017-06-25 10:17:26 -04:00
Michael Vogel b38d171b08 Merge pull request #22 from Hypolite/master
Re-enable forward zrl to profile pages
2017-06-03 08:01:48 +02:00
Hypolite Petovan fb159c2862 Re-enable forward zrl to profile pages 2017-06-02 22:45:30 -04:00
Michael Vogel 9a4ac58f67 Merge pull request #21 from Hypolite/bug/fix-dba-missing-db
Fix missing $db when session write on exit
2017-05-17 14:33:17 +02:00
Hypolite Petovan 2cabf7f37b Generalize the use of killme()
- Add fail condition to q()
2017-05-12 00:05:06 -04:00
Hypolite Petovan 381e68edc7 Remove closedb() 2017-05-12 00:04:37 -04:00
Hypolite Petovan 5559df82a6 Formatting 2017-05-12 00:04:04 -04:00
Hypolite Petovan 4ea1211ea8 Move q errno check inside db existence check
- Remove if ! function_exists
- Fix formatting
2017-05-11 23:29:56 -04:00
Hypolite Petovan 7eada3d4da Merge pull request #20 from Hypolite/bug/hide-stats-and-help
Hide unfinished Stats and Help pages
2017-05-11 23:07:34 -04:00
Hypolite Petovan e7bfa257b5 Merge pull request #19 from Quix0r/rewrites/privacy-decentralized-fixes
Rewrites/privacy decentralized fixes
2017-05-11 11:09:01 -04:00
Roland Häder d400ed3342
Rewrite:
- don't download files - more worse JavaScript - from external CDNs
- this is a security nightmare when the remote CDN is compromised and starts
  distributing worms/trojan horses (see NSA scandal)
- this will give them away your user's IP addresses
- removed no longer used js/main.js as there is assets/js/main.js around
- moved css/js files in their own folder (assets/<css|js>)
- removed executable right from include/dba.php, no need for this

Signed-off-by: Roland Häder <roland@mxchange.org>
2017-05-11 16:49:02 +02:00
Benjamin Lorteau 9105272d4f Hide unfinished Stats and Help pages 2017-05-11 10:45:37 -04:00
Roland Häder 96ad5a1d39
no executable flag needed for this file
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-05-11 16:39:01 +02:00
Michael Vogel c45a2c1454 Merge pull request #18 from Hypolite/feature/redesign-prototype
Redesign prototype merge
2017-05-06 08:10:18 +02:00
Hypolite Petovan 2360b60e3d Plugins: Remove App.net, add Facebook through Buffer 2017-05-06 01:20:46 -04:00
Hypolite Petovan 901c66186e Fix mobile styles
- Use Flex box instead of text alignment for top bar
2017-05-05 23:34:57 -04:00
Hypolite Petovan a93184b38d Update CSS spacing
- Added space after colons
- Added space befor braces
2017-05-04 21:36:59 -04:00
Hypolite Petovan de87a461c0 Redesign directory page display
- Updated profile card display, added description and tags
- Added column display for profiles
- Tweaked reset button behavior
2017-05-04 21:35:43 -04:00
Hypolite Petovan 9af47634e3 Update search page display 2017-05-04 21:34:21 -04:00
Hypolite Petovan a35dab70b8 Remove Google webfont 2017-05-04 21:26:45 -04:00
Hypolite Petovan f297c670b3 Move App to src 2017-05-01 23:09:26 -04:00
Hypolite Petovan 68c1939d12 Enforcing standards ahead of moving App to src 2017-05-01 22:57:21 -04:00
Hypolite Petovan 0747ce0e6e Add yet more documentation about ft_min_word_len 2017-05-01 21:42:00 -04:00
Hypolite Petovan 0159e73544 Fixes yet another PHP notice 2017-04-20 23:42:21 -04:00
Hypolite Petovan a8dc2e65f4 Merge branch 'master' into feature/redesign-prototype
# Conflicts:
#	.gitignore
#	.htconfig.php
#	.htconfig.php-dist
#	boot.php
#	include/dba.php
#	mod/health.php
#	util/htconfig.vagrant.php
2017-04-20 22:33:41 -04:00
Hypolite Petovan 3095c9cad3 Fix fulltext earch
- Add fulltext index on multiple columns in the profile table
- Remove "IN BOOLEAN MODE"
- Add documentation about ft_min_word_len
2017-04-20 22:24:17 -04:00
Hypolite Petovan 280d55f183 Fix yet more PHP Notices 2017-04-20 22:03:34 -04:00
Hypolite Petovan 783c15c207 Fix PHP notices all around
- Improve SQL query formatting
- Revert spaces to tabs after PHP CS Fixer
2017-04-20 21:41:47 -04:00
Hypolite Petovan 750f081078 Enforce coding standards in include/dba.php 2017-04-20 19:59:57 -04:00
Hypolite Petovan 5fb56281d0 Enforce coding standards in include/directory.php 2017-04-20 19:57:26 -04:00
Hypolite Petovan 34a5adb9e9 Enforce coding standards in index.php 2017-04-20 19:53:51 -04:00
Hypolite Petovan e82a1e3816 Fix use warning
- Standards enforcing
2017-04-20 19:41:07 -04:00
Hypolite Petovan 31d3cb4889 Merge branch 'feature/redesign-prototype' of https://github.com/tugelbend/dir into feature/redesign-prototype 2017-04-20 19:32:52 -04:00
Hypolite Petovan 5c719ba34e Fix PHP notice about undefined index q 2017-03-22 00:36:44 -04:00
Hypolite Petovan dff9a77968 Trim trailing spaces in boot.php 2017-03-22 00:36:44 -04:00
Hypolite Petovan 52a19916e2 Fix readme headers 2017-03-22 00:36:44 -04:00
Hypolite Petovan 7277e29c63 Add default htconfig.php
Remove final .htconfig.php
2017-03-22 00:36:44 -04:00
Roland Häder 2e18a053bb
Continued:
- moved JS of Raphael (seems to be a lib?) to own sub folder
- removed redundant jquery-1.4.2.min.js
- added version number to almost all JS files (see cache-busting)

Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-01 20:31:41 +01:00
Roland Häder 6eafd24872
this file needs executable right again ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-01 20:22:12 +01:00
Roland Häder ae04088e39
converted Windows -> Linux as this seems to be the common LF
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-01 20:21:06 +01:00
Roland Häder 12e4bff880
Continued with cleanups:
- removed some empty lines at bottom of files
- added new-line character at end of file (as this else may confuse some old
  editors)
- moved JavaScript files out of "include" into own "js"
- if you set <basename>, you don't need full URLs in linked JavaScript files
  and CSS files

Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-01 20:19:12 +01:00
Roland Häder 1940f6b499
removed no needed empty lines
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-01 20:04:12 +01:00
Roland Häder c353b31569
Cleanups:
- don't commit files that are being ignored, better provide a "template" file
  that needs copying to the right file and ignore the file that will have local
  changes like config files will always have.
- fixed CHMOD, no need for executable flag here as the server won't execute
  these files, but only load (read) them
- fixed E_NOTICE in boot.php when entrance/index page (no parameter) is being
  called

Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-01 20:00:32 +01:00