Commit Graph

14396 Commits

Author SHA1 Message Date
Michael f09a8609df Better separation between queries with or without result 2017-03-07 17:16:17 +00:00
Hypolite Petovan 97378893cd Switch nurl and addr lookups
- nurl lookup is more frequent than addr lookup, saves queries
2017-03-06 16:26:04 -05:00
Hypolite Petovan 89f0b85905 Split slow catch-all query into three fast queries
Thanks @annando for the tip.
2017-03-06 16:19:12 -05:00
Hypolite Petovan 116b9e1c1f Use Probe::uri instead of probe_url()
- Moved file inclusion to enable lazy loading
2017-03-06 06:01:08 -05:00
Hypolite Petovan ff64beeb4e Reformatted get_contact()
- Resolved one `@todo` (the catch-all contact query)
- Improved code readability by naming variables
- Code standards compliance
2017-03-06 05:37:01 -05:00
Hypolite Petovan 4931ecafbb Rewriting of do_like()
- Fix behavior where event actions had to be performed twice to switch
from one to another
- Simplify the contact data retrieval
- Make sure contact-id, owner-id and author-id are correctly set
2017-03-06 05:28:01 -05:00
Michael d686bdcf09 Quickfix for SQL commands that should return "true" instead of an empty array 2017-03-06 10:10:22 +00:00
Hypolite Petovan 67ae0fed7f Fix response "self" assigment
- Switch from unreliable `uid` matching to `author-id` using
public_contact()
2017-03-06 05:07:17 -05:00
Hypolite Petovan da5bbe8b50 Add public_contact() function
- Add function to retrieve the public contact id (uid = 0) of the
current logged-in user
2017-03-06 05:06:05 -05:00
Michael 2ea50d9c47 Emulation for the mysqli behaviour when executing insert, update, ... 2017-03-05 23:59:53 +00:00
Michael 07516c318c We now support PDO for database connections as well 2017-03-05 21:56:50 +00:00
Tobias Diekershoff 9cbab5cd7a Merge pull request #3212 from annando/followup2-profile
Second followup for profile issue
2017-03-05 13:29:48 +01:00
Michael Vogel 7867f6fcef Merge pull request #3211 from tobiasd/3.5.1rc
DE translation and one solved issue for the CHANGELOG
2017-03-05 13:09:28 +01:00
Tobias Diekershoff 67dda52f4b issue solved 2017-03-05 12:41:02 +01:00
Tobias Diekershoff 5097c74d21 DE translations 2017-03-05 12:40:31 +01:00
Michael 2775adfdf5 Second followup for profile issue 2017-03-05 11:07:10 +00:00
Tobias Diekershoff ad9303868b Merge pull request #3209 from annando/followup-3196
Follow up for issue 3196: We need an index hint for performance issues
2017-03-04 09:41:00 +01:00
Michael 8690b97c27 Follow up for issue 3196: We need an index hint for performance issues 2017-03-04 08:25:47 +00:00
Hypolite Petovan 3ea830e221 Strip @hubzilla.server part from guid for autoscrolling purpuses 2017-03-03 21:45:36 -05:00
Michael Vogel 9ccb6072b8 Merge pull request #3205 from tobiasd/20170226-issue3187
Bugfix issue 3187
2017-03-03 21:36:37 +01:00
Tobias Diekershoff 1d667d7a45 tag change 2017-03-03 17:18:09 +01:00
Tobias Diekershoff 0d83082343 regenerated master messages.po file 2017-03-03 10:31:10 +01:00
Tobias Diekershoff 2fa9f76e67 better wording and placeholder for name 2017-03-03 10:28:29 +01:00
Hypolite Petovan 024908a3ec Delete frio obsolete Colors.php library 2017-03-02 19:00:22 -05:00
Hypolite Petovan ebdc9667f7 Improve readability
- Move CSS block above the temporary block
- Add template description
2017-03-02 11:30:41 -05:00
Michael Vogel 372b660aa1 Merge pull request #3201 from tobiasd/20170302-changelog
issues solved
2017-03-02 10:16:14 +01:00
Tobias Diekershoff 3476820529 issues solved 2017-03-02 09:05:24 +01:00
Tobias Diekershoff e66ad9d6bd Merge pull request #3199 from annando/issue-3196
Bugfix Issue 3196: Not all forum posts weren't shown
2017-03-02 07:29:45 +01:00
Michael 5c92e97173 Added index for performance issues 2017-03-02 05:46:44 +00:00
Hypolite Petovan 57ce6cf5da Improve pagination on frio theme
- Add pager class discrimination
- Change links order to first / prev / 1 / ... / 10 / next / last
- Enable dynamic pagination coloring
- Prevent click on disabled links
2017-03-01 23:41:54 -05:00
Hypolite Petovan 21cad46d19 Backward compatibility for theme other than frio
- Add .pager .disabled CSS rule
2017-03-01 23:40:34 -05:00
Hypolite Petovan 07aefe61bf Update paginate_data()
- Formatting: Normalize quotes, spaces, braces
- Add "disabled" CSS class to links previously ommitted
- Add "previous" and "next" CSS classes to minimal pager links
- Add main pager CSS class depending on type
2017-03-01 23:26:49 -05:00
Hypolite Petovan a3cd804ff1 Fix default paginate.tpl
Adding missing curly braces
2017-03-01 23:23:14 -05:00
Michael 3ab845dcf3 Issue 3196: Not all forum posts weren't shown 2017-03-01 21:47:10 +00:00
Michael Vogel c23298b4c9 Merge pull request #3193 from tobiasd/20170228-CHANGELOG
this line is superfluous by now
2017-02-28 09:30:35 +01:00
Tobias Diekershoff 59bfc3f4a8 this line is superfluous by now 2017-02-28 08:21:33 +01:00
Tobias Diekershoff 1046f2573c Merge pull request #3192 from annando/gstools-isnt-anymore
The service at gstools.org doesn't exist anymore.
2017-02-28 07:35:04 +01:00
Michael c829dc8e71 The service at gstools.org doesn't exist anymore. 2017-02-28 06:26:50 +00:00
Michael cc86d8ea14 Language data won't be displayed anymore (it was experimental stuff) 2017-02-27 23:59:05 +00:00
Michael 997e94555b The old pager is removed 2017-02-27 21:46:37 +00:00
Michael 39386ded36 "old_share" is removed 2017-02-27 21:26:37 +00:00
Tobias Diekershoff 7442ce3d6d change Fan/Admirer to Subscriber 2017-02-26 16:47:11 +01:00
Tobias Diekershoff 86c6c48bd8 Merge pull request #3190 from annando/bugfix-dbstructure
Bugfix: "ALTER IGNORE" was missing on structure and index alteration
2017-02-26 10:05:02 +01:00
Michael 6bd59cd094 Bugfix: "ALTER IGNORE" was missing on structure and index change 2017-02-26 08:36:05 +00:00
Tobias Diekershoff b850eb248a Merge pull request #3188 from annando/bugfix-fetch_url
Bugfix: the curl option CURLOPT_SSL_VERIFYHOST is problematic
2017-02-26 04:19:22 +01:00
Michael da8a48f89e Bugfix: the curl option CURLOPT_SSL_VERIFYHOST is problematic 2017-02-25 13:59:24 +00:00
Michael Vogel 450b1fa6ff Merge pull request #3186 from tobiasd/20170224-changelog
small update for the CHANGELOG
2017-02-25 00:17:10 +01:00
Tobias Diekershoff 3f27c8bb0a issues closed 2017-02-24 19:41:07 +01:00
Tobias Diekershoff ed675b94d1 Merge pull request #3185 from annando/3.5.1rc
New version string for RC
2017-02-24 19:29:37 +01:00
Michael bd793e5987 New version string for RC 2017-02-24 15:02:16 +00:00