Simple History - Version 2.0.21

Version Description

(February 2015) =

  • Added: Updates via XML RPC are now logged, for example when using the WordPress app for iOS or Android. Supported actions for now is post/page created, edited, deleted, and media uploads.
  • Added: _xmlrpc_request is added to context of event when an event is initiated through a XML-RPC all.
  • Changed: RSS feed now has loglevel of event prepended to the title.
  • Changed: Options logger now only shows the first 250 chars of new and old option values. Really long values could make the log look strange.
  • Added: If constant SIMPLE_HISTORY_LOG_DEBUG is defined and true automatically adds $_GET, $_POST, and more info to each logged event. Mostly useful for the developer, but maybe some of you are a bit paranoid and want it too.
  • Updated: German translation updated.
Download this release

Release Info

Developer eskapism
Plugin Icon 128x128 Simple History
Version 2.0.21
Comparing to
See all releases

Code changes from version 2.0.20 to 2.0.21

SimpleHistory.php CHANGED
@@ -6,7 +6,7 @@
6
  class SimpleHistory {
7
 
8
  const NAME = "Simple History";
9
- const VERSION = "2.0.20";
10
 
11
  /**
12
  * Capability required to view the history log
@@ -119,27 +119,33 @@ class SimpleHistory {
119
  * @param SimpleHistory $SimpleHistory This class.
120
  */
121
  do_action("simple_history/after_init", $this);
122
-
123
- // @todo run this when a debug const is defined and true
124
- /*
125
- add_filter("simple_history/log_argument/context", function($context, $level, $message, $logger) {
126
 
127
- $context["_debug_get"] = $this->json_encode( $_GET );
128
- $context["_debug_post"] = $this->json_encode( $_POST );
129
- $context["_debug_server"] = $this->json_encode( $_SERVER );
130
- $context["_debug_php_sapi_name"] = php_sapi_name();
131
 
132
- global $argv;
133
- $context["_debug_argv"] = $this->json_encode( $argv );
134
 
135
- // $context["_debug_env"] = $this->json_encode( $_ENV );
136
-
137
- $context["_debug_constants"] = $this->json_encode( get_defined_constants(true) );
 
 
138
 
139
- return $context;
 
140
 
141
- }, 10, 4);
142
- */
 
 
 
 
 
 
 
 
 
 
143
 
144
  }
145
 
@@ -2331,7 +2337,7 @@ foreach ($arr_settings_tabs as $one_tab) {
2331
 
2332
  $results_other_sources_today = $wpdb->get_results($sql_other_sources);
2333
  wp_cache_set($cache_key, $results_other_sources_today, $cache_group);
2334
-
2335
  }
2336
 
2337
  $count_other_sources = sizeof($results_other_sources_today);
@@ -2448,7 +2454,7 @@ foreach ($arr_settings_tabs as $one_tab) {
2448
 
2449
  /**
2450
  * https://www.tollmanz.com/invalidation-schemes/
2451
- *
2452
  * @param $refresh bool
2453
  * @return string
2454
  */
6
  class SimpleHistory {
7
 
8
  const NAME = "Simple History";
9
+ const VERSION = "2.0.21";
10
 
11
  /**
12
  * Capability required to view the history log
119
  * @param SimpleHistory $SimpleHistory This class.
120
  */
121
  do_action("simple_history/after_init", $this);
 
 
 
 
122
 
123
+ // Add some extra info to each logged context when SIMPLE_HISTORY_LOG_DEBUG is set and true
124
+ if ( defined("SIMPLE_HISTORY_LOG_DEBUG") && SIMPLE_HISTORY_LOG_DEBUG ) {
 
 
125
 
126
+ add_filter("simple_history/log_argument/context", function($context, $level, $message, $logger) {
 
127
 
128
+ $sh = $GLOBALS["simple_history"];
129
+ $context["_debug_get"] = $sh->json_encode( $_GET );
130
+ $context["_debug_post"] = $sh->json_encode( $_POST );
131
+ $context["_debug_server"] = $sh->json_encode( $_SERVER );
132
+ $context["_debug_php_sapi_name"] = php_sapi_name();
133
 
134
+ global $argv;
135
+ $context["_debug_argv"] = $sh->json_encode( $argv );
136
 
137
+ $consts = get_defined_constants(true);
138
+ $consts = $consts["user"];
139
+ $context["_debug_user_constants"] = $sh->json_encode( $consts );
140
+
141
+ $postdata = file_get_contents("php://input");
142
+ $context["_debug_http_raw_post_data"] = $sh->json_encode( $postdata );
143
+
144
+ return $context;
145
+
146
+ }, 10, 4);
147
+
148
+ }
149
 
150
  }
151
 
2337
 
2338
  $results_other_sources_today = $wpdb->get_results($sql_other_sources);
2339
  wp_cache_set($cache_key, $results_other_sources_today, $cache_group);
2340
+
2341
  }
2342
 
2343
  $count_other_sources = sizeof($results_other_sources_today);
2454
 
2455
  /**
2456
  * https://www.tollmanz.com/invalidation-schemes/
2457
+ *
2458
  * @param $refresh bool
2459
  * @return string
2460
  */
dropins/SimpleHistoryRSSDropin.php CHANGED
@@ -181,7 +181,7 @@ class SimpleHistoryRSSDropin {
181
  $item_guid = home_url() . "?SimpleHistoryGuid=" . $row->id;
182
 
183
  #$item_title = wp_kses( $header_output . ": " . $text_output, array() );
184
- $item_title = wp_kses( $text_output, array() );
185
 
186
  $level_output = sprintf( __('Severity level: %1$s'), $this->sh->getLogLevelTranslated( $row->level ));
187
 
181
  $item_guid = home_url() . "?SimpleHistoryGuid=" . $row->id;
182
 
183
  #$item_title = wp_kses( $header_output . ": " . $text_output, array() );
184
+ $item_title = $this->sh->getLogLevelTranslated( $row->level ) . ": " . wp_kses( $text_output, array() );
185
 
186
  $level_output = sprintf( __('Severity level: %1$s'), $this->sh->getLogLevelTranslated( $row->level ));
187
 
examples.php CHANGED
@@ -3,6 +3,15 @@
3
  // No external calls allowed
4
  exit;
5
 
 
 
 
 
 
 
 
 
 
6
  /**
7
  * Some examples of filter usage and so on
8
  */
3
  // No external calls allowed
4
  exit;
5
 
6
+
7
+ /**
8
+ * Misc
9
+ */
10
+
11
+ // Add $_GET, $_POST, and more info to each logged event
12
+ define("SIMPLE_HISTORY_LOG_DEBUG", true);
13
+
14
+
15
  /**
16
  * Some examples of filter usage and so on
17
  */
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Simple History
4
  Plugin URI: http://simple-history.com
5
  Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
6
- Version: 2.0.20
7
  Author: Pär Thernström
8
  Author URI: http://simple-history.com/
9
  License: GPL2
3
  Plugin Name: Simple History
4
  Plugin URI: http://simple-history.com
5
  Description: Plugin that logs various things that occur in WordPress and then presents those events in a very nice GUI.
6
+ Version: 2.0.21
7
  Author: Pär Thernström
8
  Author URI: http://simple-history.com/
9
  License: GPL2
languages/simple-history-de_DE.mo CHANGED
Binary file
languages/simple-history-de_DE.po CHANGED
@@ -4,15 +4,15 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Simple History 2.0.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
- "POT-Creation-Date: 2015-01-20 21:16:38+00:00\n"
8
- "PO-Revision-Date: 2015-01-26 17:14+0100\n"
9
  "Last-Translator: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
10
  "Language-Team: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
11
  "Language: de_DE\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.7.3\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
@@ -22,151 +22,157 @@ msgstr ""
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
- #: SimpleHistory.php:447 SimpleHistory.php:709
26
  msgid "Settings"
27
  msgstr "Einstellungen"
28
 
29
- #: SimpleHistory.php:458
30
  msgid "Log (debug)"
31
  msgstr "Logbuch (Fehlersuche)"
32
 
33
- #: SimpleHistory.php:463
34
  msgid "Styles example (debug)"
35
  msgstr "Stil-Beispiel (Fehlersuche)"
36
 
37
  #. Plugin Name of the plugin/theme
38
- #: SimpleHistory.php:724
39
  msgid "Simple History"
40
  msgstr "Simple History"
41
 
42
- #: SimpleHistory.php:800
43
  msgid "Remove all log items?"
44
  msgstr "Alle Einträge im Logbuch entfernen?"
45
 
46
- #: SimpleHistory.php:802
47
  msgid "Go to the first page"
48
  msgstr "Gehe zur ersten Seite"
49
 
50
- #: SimpleHistory.php:803
51
  msgid "Go to the previous page"
52
  msgstr "Gehe zur vorherigen Seite"
53
 
54
- #: SimpleHistory.php:804
55
  msgid "Go to the next page"
56
  msgstr "Gehe zur nächsten Seite"
57
 
58
- #: SimpleHistory.php:805
59
  msgid "Go to the last page"
60
  msgstr "Gehe zur letzten Seite"
61
 
62
- #: SimpleHistory.php:806
63
  msgid "Current page"
64
  msgstr "Aktuelle Seite"
65
 
66
- #: SimpleHistory.php:808
67
  msgid "Oups, the log could not be loaded right now."
68
  msgstr "Hoppla, das Logbuch konnte eben nicht geladen werden."
69
 
70
- #: SimpleHistory.php:809
71
  msgid "Your search did not match any history events."
72
  msgstr "Deine Suche erbrachte keine Übereinstimmungen mit Ereignissen."
73
 
74
- #: SimpleHistory.php:1103 SimpleHistory.php:1206
75
  msgid "Simple History Settings"
76
  msgstr "Simple History Einstellungen"
77
 
78
- #: SimpleHistory.php:1137
79
  msgid "No valid callback found"
80
  msgstr "Kein valider Rückruf gefunden"
81
 
82
- #: SimpleHistory.php:1227
83
  msgid "Cleared database"
84
  msgstr "Datenbank geleert"
85
 
86
- #: SimpleHistory.php:1254
87
  msgid "Show history"
88
  msgstr "Zeige Logbuch"
89
 
90
- #: SimpleHistory.php:1267
91
  msgid "Number of items per page"
92
  msgstr "Zahl der Einträge pro Seite"
93
 
94
- #: SimpleHistory.php:1279
95
  msgid "Clear log"
96
  msgstr "Logbuch leeren"
97
 
98
- #: SimpleHistory.php:1419
99
  msgid "on the dashboard"
100
  msgstr "auf dem Dashboard"
101
 
102
- #: SimpleHistory.php:1424
103
  msgid "as a page under the dashboard menu"
104
  msgstr "als eine Seite im Dashboard-Menü"
105
 
106
- #: SimpleHistory.php:1440
107
  msgid "Items in the database are automatically removed after %1$s days."
108
  msgstr "Einträge in der Datenbank werden nach %1$s Tagen automatisch entfernt."
109
 
110
- #: SimpleHistory.php:1442
111
  msgid "Items in the database are kept forever."
112
  msgstr "Einträge in der Datenbank werden auf ewig behalten."
113
 
114
- #: SimpleHistory.php:1446
115
  msgid "Clear log now"
116
  msgstr "Logbuch jetzt leeren"
117
 
118
- #: SimpleHistory.php:1744
 
 
 
 
 
 
119
  msgid "+%1$s similar event"
120
  msgid_plural "+%1$s similar events"
121
  msgstr[0] "+%1$s gleichartiges Ereignis"
122
  msgstr[1] "+%1$s gleichartige Ereignisse"
123
 
124
- #: SimpleHistory.php:1751
125
  msgid "Loading…"
126
  msgstr "Lade..."
127
 
128
- #: SimpleHistory.php:1758
129
  msgid "Showing %1$s more"
130
  msgstr "Zeige %1$s mehr"
131
 
132
- #: SimpleHistory.php:1777
133
  msgid "Context data"
134
  msgstr "Kontext-Daten"
135
 
136
- #: SimpleHistory.php:1778
137
  msgid "This is potentially useful meta data that a logger has saved."
138
  msgstr ""
139
  "Dies sind potentiell nützliche Meta-Daten, die ein Logger abgespeichert hat."
140
 
141
- #: SimpleHistory.php:2243
142
  msgid "No events today so far."
143
  msgstr "Heute sind noch keine Ereignisse aufgetreten."
144
 
145
- #: SimpleHistory.php:2262
146
  msgid "One event today from one user."
147
  msgstr "Ein Ereignis heute von einem Benutzer."
148
 
149
- #: SimpleHistory.php:2268
150
  msgid "One event today from one source."
151
  msgstr "Ein Ereignis heute aus einer Quelle."
152
 
153
- #: SimpleHistory.php:2274
154
  msgid "%1$d events today from one user."
155
  msgstr "%1$d Ereignisse heute von einem Benutzer."
156
 
157
- #: SimpleHistory.php:2280
158
  msgid "%1$d events today from %2$d users."
159
  msgstr "%1$d Ereignisse heute von %2$d Benutzern."
160
 
161
- #: SimpleHistory.php:2286 SimpleHistory.php:2292
162
  msgid "%1$d events today from one user and one other source."
163
  msgstr "%1$d Ereignisse heute von einem Benutzer und einer anderen Quelle."
164
 
165
- #: SimpleHistory.php:2298
166
  msgid "%1$d events today from one user and %3$d other sources."
167
  msgstr "%1$d Ereignisse heute von einem Benutzer und %3$d anderen Quellen."
168
 
169
- #: SimpleHistory.php:2304
170
  msgid "%1$s events today from %2$d users and %3$d other sources."
171
  msgstr "%1$s Ereignisse heute von %2$d Benutzern und %3$d anderen Quellen."
172
 
@@ -289,7 +295,7 @@ msgstr "Test-Daten (Fehlersuche)"
289
  msgid "Stats"
290
  msgstr "Statistiken"
291
 
292
- #: dropins/SimpleHistorySidebarDropin.php:159 loggers/SimpleLogger.php:299
293
  msgid "Just now"
294
  msgstr "gerade eben"
295
 
@@ -301,27 +307,27 @@ msgstr ""
301
  "Simple History ist ein großartiges Plugin, aber zu seiner Benutzung muß Dein "
302
  "Server mindestens PHP 5.3 installiert haben (Du hast Version %s)."
303
 
304
- #: loggers/SimpleCommentsLogger.php:695
305
  msgid "Spam"
306
  msgstr "Spam"
307
 
308
- #: loggers/SimpleCommentsLogger.php:697
309
  msgid "Approved"
310
  msgstr "genehmigt"
311
 
312
- #: loggers/SimpleCommentsLogger.php:699
313
  msgid "Pending"
314
  msgstr "schwebend"
315
 
316
- #: loggers/SimpleCommentsLogger.php:713
317
  msgid "Trackback"
318
  msgstr "Trackback"
319
 
320
- #: loggers/SimpleCommentsLogger.php:715
321
  msgid "Pingback"
322
  msgstr "Pingback"
323
 
324
- #: loggers/SimpleCommentsLogger.php:717
325
  msgid "Comment"
326
  msgstr "Kommentar"
327
 
@@ -345,25 +351,25 @@ msgstr "von %s"
345
  msgid "%d occasions"
346
  msgstr "%d Vorkommnisse"
347
 
348
- #: loggers/SimpleLogger.php:205
349
  msgid "Deleted user (had id %1$s, email %2$s, login %3$s)"
350
  msgstr "gelöschter Benutzer (hatte ID %1$s, E-Mail %2$s, Login %3$s)"
351
 
352
- #: loggers/SimpleLogger.php:220
353
  msgid "Anonymous web user"
354
  msgstr "Anonymer Netz-Nutzer"
355
 
356
- #: loggers/SimpleLogger.php:228
357
  msgid "Anonymous user from %1$s"
358
  msgstr "Anonymer Benutzer von %1$s"
359
 
360
  #. translators: Date format for log row header, see http:php.net/date
361
- #: loggers/SimpleLogger.php:304
362
  msgid "M j, Y \\a\\t G:i"
363
  msgstr "j. M. Y \\u\\m G:i \\U\\h\\r"
364
 
365
  #. translators: 1: last modified date and time in human time diff-format
366
- #: loggers/SimpleLogger.php:312
367
  msgid "%1$s ago"
368
  msgstr "vor %1$s"
369
 
@@ -517,7 +523,7 @@ msgstr ""
517
  msgid "Section"
518
  msgstr "Abschnitt"
519
 
520
- #: loggers/SimpleUserLogger.php:23
521
  msgid ""
522
  "Failed to login to account with username \"{login_user_login}\" because an "
523
  "incorrect password was entered"
@@ -525,7 +531,7 @@ msgstr ""
525
  "Anmeldung mit dem Benutzernamen \"{login_user_login}\" fehlgeschlagen, weil "
526
  "ein falsches Paßwort eingegeben wurde"
527
 
528
- #: loggers/SimpleUserLogger.php:24
529
  msgid ""
530
  "Failed to login with username \"{failed_login_username}\" because no user "
531
  "with that username exists"
@@ -533,25 +539,25 @@ msgstr ""
533
  "Anmeldung mit dem Benutzernamen \"{failed_login_username}\" fehlgeschlagen, "
534
  "weil kein Benutzer mit diesem Namen existiert"
535
 
536
- #: loggers/SimpleUserLogger.php:25
537
  msgid "Logged in"
538
  msgstr "hat sich angemeldet"
539
 
540
- #: loggers/SimpleUserLogger.php:26
541
  msgid "Unknown user logged in"
542
  msgstr "Unbekannter Benutzer hat sich angemeldet"
543
 
544
- #: loggers/SimpleUserLogger.php:27
545
  msgid "Logged out"
546
  msgstr "hat sich abgemeldet"
547
 
548
- #: loggers/SimpleUserLogger.php:28
549
  msgid "Edited the profile for user {edited_user_login} ({edited_user_email})"
550
  msgstr ""
551
  "hat das Profil des Benutzers {edited_user_login} ({edited_user_email}) "
552
  "geändert"
553
 
554
- #: loggers/SimpleUserLogger.php:29
555
  msgid ""
556
  "Created user {created_user_login} ({created_user_email}) with role "
557
  "{created_user_role}"
@@ -559,23 +565,23 @@ msgstr ""
559
  "hat Benutzer {created_user_login} ({created_user_email}) mit der Rolle "
560
  "{created_user_role} erzeugt"
561
 
562
- #: loggers/SimpleUserLogger.php:30
563
  msgid "Deleted user {deleted_user_login} ({deleted_user_email})"
564
  msgstr "hat den Benutzer {deleted_user_login} ({deleted_user_email}) gelöscht"
565
 
566
- #: loggers/SimpleUserLogger.php:229
567
  msgid "Edited <a href=\"{edit_profile_link}\">your profile</a>"
568
  msgstr "hat <a href=\"{edit_profile_link}\">Dein Profil</a> geändert"
569
 
570
- #: loggers/SimpleUserLogger.php:233
571
  msgid "Edited <a href=\"{edit_profile_link}\">their profile</a>"
572
  msgstr "hat <a href=\"{edit_profile_link}\">deren Profil</a> geändert"
573
 
574
- #: loggers/SimpleUserLogger.php:242
575
  msgid "Edited your profile"
576
  msgstr "hat Dein Profil geändert"
577
 
578
- #: loggers/SimpleUserLogger.php:253
579
  msgid ""
580
  "Edited the profile for user <a href="
581
  "\"{edit_profile_link}\">{edited_user_login} ({edited_user_email})</a>"
@@ -654,33 +660,33 @@ msgstr "Pär Thernström"
654
  msgid "http://simple-history.com/"
655
  msgstr "http://simple-history.com/"
656
 
657
- #: SimpleHistory.php:190
658
  msgctxt ""
659
  "Message visible while waiting for log to load from server the first time"
660
  msgid "Loading history..."
661
  msgstr "Lade Historie..."
662
 
663
- #: SimpleHistory.php:227
664
  msgctxt "page n of n"
665
  msgid "of"
666
  msgstr "von"
667
 
668
- #: SimpleHistory.php:298
669
  msgctxt "API: not enought arguments passed"
670
  msgid "Not enough args specified"
671
  msgstr "Nicht genügend Argumente angegeben"
672
 
673
- #: SimpleHistory.php:1191
674
  msgctxt "dashboard menu name"
675
  msgid "Simple History"
676
  msgstr "Simple History"
677
 
678
- #: SimpleHistory.php:1316
679
  msgctxt "history page headline"
680
  msgid "Simple History"
681
  msgstr "Simple History"
682
 
683
- #: SimpleHistory.php:1570
684
  msgctxt "simple-history"
685
  msgid "Simple History removed one event that were older than {days} days"
686
  msgid_plural ""
@@ -691,82 +697,82 @@ msgstr[1] ""
691
  "Simple History hat {num_rows} Ereignisse entfernt welche älter als {days} "
692
  "Tage waren"
693
 
694
- #: SimpleHistory.php:1914
695
  msgctxt "Log level in gui"
696
  msgid "emergency"
697
  msgstr "Notfall"
698
 
699
- #: SimpleHistory.php:1918
700
  msgctxt "Log level in gui"
701
  msgid "alert"
702
  msgstr "Alarm"
703
 
704
- #: SimpleHistory.php:1922
705
  msgctxt "Log level in gui"
706
  msgid "critical"
707
  msgstr "Kritisch"
708
 
709
- #: SimpleHistory.php:1926
710
  msgctxt "Log level in gui"
711
  msgid "error"
712
  msgstr "Fehler"
713
 
714
- #: SimpleHistory.php:1930
715
  msgctxt "Log level in gui"
716
  msgid "warning"
717
  msgstr "Warnung"
718
 
719
- #: SimpleHistory.php:1934
720
  msgctxt "Log level in gui"
721
  msgid "notice"
722
  msgstr "Hinweis"
723
 
724
- #: SimpleHistory.php:1938
725
  msgctxt "Log level in gui"
726
  msgid "info"
727
  msgstr "Information"
728
 
729
- #: SimpleHistory.php:1942
730
  msgctxt "Log level in gui"
731
  msgid "debug"
732
  msgstr "Fehlersuche"
733
 
734
- #: SimpleHistory.php:1947
735
  msgctxt "Log level in gui"
736
  msgid "Emergency"
737
  msgstr "Notfall"
738
 
739
- #: SimpleHistory.php:1951
740
  msgctxt "Log level in gui"
741
  msgid "Alert"
742
  msgstr "Alarm"
743
 
744
- #: SimpleHistory.php:1955
745
  msgctxt "Log level in gui"
746
  msgid "Critical"
747
  msgstr "Kritisch"
748
 
749
- #: SimpleHistory.php:1959
750
  msgctxt "Log level in gui"
751
  msgid "Error"
752
  msgstr "Fehler"
753
 
754
- #: SimpleHistory.php:1963
755
  msgctxt "Log level in gui"
756
  msgid "Warning"
757
  msgstr "Warnung"
758
 
759
- #: SimpleHistory.php:1967
760
  msgctxt "Log level in gui"
761
  msgid "Notice"
762
  msgstr "Hinweis"
763
 
764
- #: SimpleHistory.php:1971
765
  msgctxt "Log level in gui"
766
  msgid "Info"
767
  msgstr "Information"
768
 
769
- #: SimpleHistory.php:1975
770
  msgctxt "Log level in gui"
771
  msgid "Debug"
772
  msgstr "Fehlersuche"
@@ -1161,35 +1167,35 @@ msgctxt "Comments logger: search"
1161
  msgid "Deleted comments"
1162
  msgstr "gelöschte Kommentare"
1163
 
1164
- #: loggers/SimpleCommentsLogger.php:612 loggers/SimpleCommentsLogger.php:625
1165
- #: loggers/SimpleCommentsLogger.php:639
1166
  msgctxt "comments logger - detailed output comment status"
1167
  msgid "Status"
1168
  msgstr "Status"
1169
 
1170
- #: loggers/SimpleCommentsLogger.php:614 loggers/SimpleCommentsLogger.php:627
1171
- #: loggers/SimpleCommentsLogger.php:641
1172
  msgctxt "comments logger - detailed output author"
1173
  msgid "Name"
1174
  msgstr "Name"
1175
 
1176
- #: loggers/SimpleCommentsLogger.php:615 loggers/SimpleCommentsLogger.php:628
1177
- #: loggers/SimpleCommentsLogger.php:642
1178
  msgctxt "comments logger - detailed output email"
1179
  msgid "Email"
1180
  msgstr "E-Mail"
1181
 
1182
- #: loggers/SimpleCommentsLogger.php:616 loggers/SimpleCommentsLogger.php:629
1183
  msgctxt "comments logger - detailed output content"
1184
  msgid "Content"
1185
  msgstr "Inhalt"
1186
 
1187
- #: loggers/SimpleCommentsLogger.php:643
1188
  msgctxt "comments logger - detailed output content"
1189
  msgid "Comment"
1190
  msgstr "Kommentar"
1191
 
1192
- #: loggers/SimpleCommentsLogger.php:769
1193
  msgctxt "comments logger - edit comment"
1194
  msgid "View/Edit"
1195
  msgstr "Betrachte/Ändere"
@@ -1204,42 +1210,42 @@ msgctxt "User logger: search"
1204
  msgid "WordPress core updates"
1205
  msgstr "WordPress-Kern-Aktualisierungen"
1206
 
1207
- #: loggers/SimpleUserLogger.php:55
1208
  msgctxt "User logger: search"
1209
  msgid "Users"
1210
  msgstr "Benutzer"
1211
 
1212
- #: loggers/SimpleUserLogger.php:56
1213
  msgctxt "User logger: search"
1214
  msgid "All user activity"
1215
  msgstr "Alle Benutzer-Aktivitäten"
1216
 
1217
- #: loggers/SimpleUserLogger.php:58
1218
  msgctxt "User logger: search"
1219
  msgid "Successful user logins"
1220
  msgstr "erfolgreiche Benutzer-Anmeldungen"
1221
 
1222
- #: loggers/SimpleUserLogger.php:62
1223
  msgctxt "User logger: search"
1224
  msgid "Failed user logins"
1225
  msgstr "fehlgeschlagene Benutzer-Anmeldungen"
1226
 
1227
- #: loggers/SimpleUserLogger.php:66
1228
  msgctxt "User logger: search"
1229
  msgid "User logouts"
1230
  msgstr "Benutzer-Abmeldungen"
1231
 
1232
- #: loggers/SimpleUserLogger.php:69
1233
  msgctxt "User logger: search"
1234
  msgid "Created users"
1235
  msgstr "Benutzer erzeugt"
1236
 
1237
- #: loggers/SimpleUserLogger.php:72
1238
  msgctxt "User logger: search"
1239
  msgid "User profile updates"
1240
  msgstr "Benutzerprofil-Aktualisierungen"
1241
 
1242
- #: loggers/SimpleUserLogger.php:75
1243
  msgctxt "User logger: search"
1244
  msgid "User deletions"
1245
  msgstr "Löschungen von Benutzern"
@@ -1254,7 +1260,7 @@ msgctxt "Export logger: search"
1254
  msgid "Created exports"
1255
  msgstr "erstellte Exporte"
1256
 
1257
- #: loggers/SimpleLogger.php:192
1258
  msgctxt "header output when initiator is the currently logged in user"
1259
  msgid "You"
1260
  msgstr "Dein eigener Benutzername"
@@ -1421,47 +1427,47 @@ msgctxt "Plugin logger: search"
1421
  msgid "Deleted plugins"
1422
  msgstr "gelöschte Plugins"
1423
 
1424
- #: loggers/SimplePluginLogger.php:858
1425
  msgctxt "plugin logger - detailed output version"
1426
  msgid "Version"
1427
  msgstr "Version"
1428
 
1429
- #: loggers/SimplePluginLogger.php:860
1430
  msgctxt "plugin logger - detailed output author"
1431
  msgid "Author"
1432
  msgstr "Autor"
1433
 
1434
- #: loggers/SimplePluginLogger.php:862
1435
  msgctxt "plugin logger - detailed output author"
1436
  msgid "Requires"
1437
  msgstr "erfordert"
1438
 
1439
- #: loggers/SimplePluginLogger.php:861
1440
  msgctxt "plugin logger - detailed output url"
1441
  msgid "URL"
1442
  msgstr "URL"
1443
 
1444
- #: loggers/SimplePluginLogger.php:863
1445
  msgctxt "plugin logger - detailed output compatible"
1446
  msgid "Compatible up to"
1447
  msgstr "kompatibel bis zu"
1448
 
1449
- #: loggers/SimplePluginLogger.php:864
1450
  msgctxt "plugin logger - detailed output downloaded"
1451
  msgid "Downloads"
1452
  msgstr "Downloads"
1453
 
1454
- #: loggers/SimplePluginLogger.php:924
1455
  msgctxt "plugin logger: plugin info thickbox title view all info"
1456
  msgid "View plugin info"
1457
  msgstr "Zeige Plugin-Info"
1458
 
1459
- #: loggers/SimplePluginLogger.php:939
1460
  msgctxt "plugin logger: plugin info thickbox title"
1461
  msgid "View plugin info"
1462
  msgstr "Zeige Plugin-Info"
1463
 
1464
- #: loggers/SimplePluginLogger.php:943
1465
  msgctxt "plugin logger: plugin info thickbox title"
1466
  msgid "View changelog"
1467
  msgstr "Zeige Changelog"
@@ -1536,12 +1542,12 @@ msgctxt "Theme logger: search"
1536
  msgid "Background of themes changed"
1537
  msgstr "geänderte Theme-Hintergründe"
1538
 
1539
- #: loggers/SimpleUserLogger.php:37
1540
  msgctxt "User destroys other login sessions for themself"
1541
  msgid "Logged out from all other sessions"
1542
  msgstr "hat sich von allen anderen Sitzungen abgemeldet"
1543
 
1544
- #: loggers/SimpleUserLogger.php:46
1545
  msgctxt "User destroys all login sessions for a user"
1546
  msgid "Logged out \"{user_display_name}\" from all sessions"
1547
  msgstr "hat den Benutzer \"{user_display_name}\" von allen Sitzungen abgemeldet"
4
  msgstr ""
5
  "Project-Id-Version: Simple History 2.0.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/Simple-History\n"
7
+ "POT-Creation-Date: 2015-01-26 15:41:57+00:00\n"
8
+ "PO-Revision-Date: 2015-02-15 19:00+0100\n"
9
  "Last-Translator: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
10
  "Language-Team: Ralph Stenzel <ralph@klein-aber-fein.de>\n"
11
  "Language: de_DE\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.7.4\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
+ #: SimpleHistory.php:504 SimpleHistory.php:765
26
  msgid "Settings"
27
  msgstr "Einstellungen"
28
 
29
+ #: SimpleHistory.php:515
30
  msgid "Log (debug)"
31
  msgstr "Logbuch (Fehlersuche)"
32
 
33
+ #: SimpleHistory.php:520
34
  msgid "Styles example (debug)"
35
  msgstr "Stil-Beispiel (Fehlersuche)"
36
 
37
  #. Plugin Name of the plugin/theme
38
+ #: SimpleHistory.php:780
39
  msgid "Simple History"
40
  msgstr "Simple History"
41
 
42
+ #: SimpleHistory.php:856
43
  msgid "Remove all log items?"
44
  msgstr "Alle Einträge im Logbuch entfernen?"
45
 
46
+ #: SimpleHistory.php:858
47
  msgid "Go to the first page"
48
  msgstr "Gehe zur ersten Seite"
49
 
50
+ #: SimpleHistory.php:859
51
  msgid "Go to the previous page"
52
  msgstr "Gehe zur vorherigen Seite"
53
 
54
+ #: SimpleHistory.php:860
55
  msgid "Go to the next page"
56
  msgstr "Gehe zur nächsten Seite"
57
 
58
+ #: SimpleHistory.php:861
59
  msgid "Go to the last page"
60
  msgstr "Gehe zur letzten Seite"
61
 
62
+ #: SimpleHistory.php:862
63
  msgid "Current page"
64
  msgstr "Aktuelle Seite"
65
 
66
+ #: SimpleHistory.php:864
67
  msgid "Oups, the log could not be loaded right now."
68
  msgstr "Hoppla, das Logbuch konnte eben nicht geladen werden."
69
 
70
+ #: SimpleHistory.php:865
71
  msgid "Your search did not match any history events."
72
  msgstr "Deine Suche erbrachte keine Übereinstimmungen mit Ereignissen."
73
 
74
+ #: SimpleHistory.php:1149 SimpleHistory.php:1250
75
  msgid "Simple History Settings"
76
  msgstr "Simple History Einstellungen"
77
 
78
+ #: SimpleHistory.php:1183
79
  msgid "No valid callback found"
80
  msgstr "Kein valider Rückruf gefunden"
81
 
82
+ #: SimpleHistory.php:1271
83
  msgid "Cleared database"
84
  msgstr "Datenbank geleert"
85
 
86
+ #: SimpleHistory.php:1298
87
  msgid "Show history"
88
  msgstr "Zeige Logbuch"
89
 
90
+ #: SimpleHistory.php:1311
91
  msgid "Number of items per page"
92
  msgstr "Zahl der Einträge pro Seite"
93
 
94
+ #: SimpleHistory.php:1323
95
  msgid "Clear log"
96
  msgstr "Logbuch leeren"
97
 
98
+ #: SimpleHistory.php:1462
99
  msgid "on the dashboard"
100
  msgstr "auf dem Dashboard"
101
 
102
+ #: SimpleHistory.php:1467
103
  msgid "as a page under the dashboard menu"
104
  msgstr "als eine Seite im Dashboard-Menü"
105
 
106
+ #: SimpleHistory.php:1483
107
  msgid "Items in the database are automatically removed after %1$s days."
108
  msgstr "Einträge in der Datenbank werden nach %1$s Tagen automatisch entfernt."
109
 
110
+ #: SimpleHistory.php:1485
111
  msgid "Items in the database are kept forever."
112
  msgstr "Einträge in der Datenbank werden auf ewig behalten."
113
 
114
+ #: SimpleHistory.php:1489
115
  msgid "Clear log now"
116
  msgstr "Logbuch jetzt leeren"
117
 
118
+ #: SimpleHistory.php:1533
119
+ msgid "The log for Simple History was cleared ({num_rows} rows were removed)."
120
+ msgstr ""
121
+ "Das Logbuch von Simple History wurde geleert ({num_rows} Zeilen wurden "
122
+ "entfernt)."
123
+
124
+ #: SimpleHistory.php:1793
125
  msgid "+%1$s similar event"
126
  msgid_plural "+%1$s similar events"
127
  msgstr[0] "+%1$s gleichartiges Ereignis"
128
  msgstr[1] "+%1$s gleichartige Ereignisse"
129
 
130
+ #: SimpleHistory.php:1800
131
  msgid "Loading…"
132
  msgstr "Lade..."
133
 
134
+ #: SimpleHistory.php:1807
135
  msgid "Showing %1$s more"
136
  msgstr "Zeige %1$s mehr"
137
 
138
+ #: SimpleHistory.php:1826
139
  msgid "Context data"
140
  msgstr "Kontext-Daten"
141
 
142
+ #: SimpleHistory.php:1827
143
  msgid "This is potentially useful meta data that a logger has saved."
144
  msgstr ""
145
  "Dies sind potentiell nützliche Meta-Daten, die ein Logger abgespeichert hat."
146
 
147
+ #: SimpleHistory.php:2302
148
  msgid "No events today so far."
149
  msgstr "Heute sind noch keine Ereignisse aufgetreten."
150
 
151
+ #: SimpleHistory.php:2321
152
  msgid "One event today from one user."
153
  msgstr "Ein Ereignis heute von einem Benutzer."
154
 
155
+ #: SimpleHistory.php:2327
156
  msgid "One event today from one source."
157
  msgstr "Ein Ereignis heute aus einer Quelle."
158
 
159
+ #: SimpleHistory.php:2333
160
  msgid "%1$d events today from one user."
161
  msgstr "%1$d Ereignisse heute von einem Benutzer."
162
 
163
+ #: SimpleHistory.php:2339
164
  msgid "%1$d events today from %2$d users."
165
  msgstr "%1$d Ereignisse heute von %2$d Benutzern."
166
 
167
+ #: SimpleHistory.php:2345 SimpleHistory.php:2351
168
  msgid "%1$d events today from one user and one other source."
169
  msgstr "%1$d Ereignisse heute von einem Benutzer und einer anderen Quelle."
170
 
171
+ #: SimpleHistory.php:2357
172
  msgid "%1$d events today from one user and %3$d other sources."
173
  msgstr "%1$d Ereignisse heute von einem Benutzer und %3$d anderen Quellen."
174
 
175
+ #: SimpleHistory.php:2363
176
  msgid "%1$s events today from %2$d users and %3$d other sources."
177
  msgstr "%1$s Ereignisse heute von %2$d Benutzern und %3$d anderen Quellen."
178
 
295
  msgid "Stats"
296
  msgstr "Statistiken"
297
 
298
+ #: dropins/SimpleHistorySidebarDropin.php:159 loggers/SimpleLogger.php:296
299
  msgid "Just now"
300
  msgstr "gerade eben"
301
 
307
  "Simple History ist ein großartiges Plugin, aber zu seiner Benutzung muß Dein "
308
  "Server mindestens PHP 5.3 installiert haben (Du hast Version %s)."
309
 
310
+ #: loggers/SimpleCommentsLogger.php:685
311
  msgid "Spam"
312
  msgstr "Spam"
313
 
314
+ #: loggers/SimpleCommentsLogger.php:687
315
  msgid "Approved"
316
  msgstr "genehmigt"
317
 
318
+ #: loggers/SimpleCommentsLogger.php:689
319
  msgid "Pending"
320
  msgstr "schwebend"
321
 
322
+ #: loggers/SimpleCommentsLogger.php:703
323
  msgid "Trackback"
324
  msgstr "Trackback"
325
 
326
+ #: loggers/SimpleCommentsLogger.php:705
327
  msgid "Pingback"
328
  msgstr "Pingback"
329
 
330
+ #: loggers/SimpleCommentsLogger.php:707
331
  msgid "Comment"
332
  msgstr "Kommentar"
333
 
351
  msgid "%d occasions"
352
  msgstr "%d Vorkommnisse"
353
 
354
+ #: loggers/SimpleLogger.php:203
355
  msgid "Deleted user (had id %1$s, email %2$s, login %3$s)"
356
  msgstr "gelöschter Benutzer (hatte ID %1$s, E-Mail %2$s, Login %3$s)"
357
 
358
+ #: loggers/SimpleLogger.php:218
359
  msgid "Anonymous web user"
360
  msgstr "Anonymer Netz-Nutzer"
361
 
362
+ #: loggers/SimpleLogger.php:226
363
  msgid "Anonymous user from %1$s"
364
  msgstr "Anonymer Benutzer von %1$s"
365
 
366
  #. translators: Date format for log row header, see http:php.net/date
367
+ #: loggers/SimpleLogger.php:301
368
  msgid "M j, Y \\a\\t G:i"
369
  msgstr "j. M. Y \\u\\m G:i \\U\\h\\r"
370
 
371
  #. translators: 1: last modified date and time in human time diff-format
372
+ #: loggers/SimpleLogger.php:309
373
  msgid "%1$s ago"
374
  msgstr "vor %1$s"
375
 
523
  msgid "Section"
524
  msgstr "Abschnitt"
525
 
526
+ #: loggers/SimpleUserLogger.php:22
527
  msgid ""
528
  "Failed to login to account with username \"{login_user_login}\" because an "
529
  "incorrect password was entered"
531
  "Anmeldung mit dem Benutzernamen \"{login_user_login}\" fehlgeschlagen, weil "
532
  "ein falsches Paßwort eingegeben wurde"
533
 
534
+ #: loggers/SimpleUserLogger.php:23
535
  msgid ""
536
  "Failed to login with username \"{failed_login_username}\" because no user "
537
  "with that username exists"
539
  "Anmeldung mit dem Benutzernamen \"{failed_login_username}\" fehlgeschlagen, "
540
  "weil kein Benutzer mit diesem Namen existiert"
541
 
542
+ #: loggers/SimpleUserLogger.php:24
543
  msgid "Logged in"
544
  msgstr "hat sich angemeldet"
545
 
546
+ #: loggers/SimpleUserLogger.php:25
547
  msgid "Unknown user logged in"
548
  msgstr "Unbekannter Benutzer hat sich angemeldet"
549
 
550
+ #: loggers/SimpleUserLogger.php:26
551
  msgid "Logged out"
552
  msgstr "hat sich abgemeldet"
553
 
554
+ #: loggers/SimpleUserLogger.php:27
555
  msgid "Edited the profile for user {edited_user_login} ({edited_user_email})"
556
  msgstr ""
557
  "hat das Profil des Benutzers {edited_user_login} ({edited_user_email}) "
558
  "geändert"
559
 
560
+ #: loggers/SimpleUserLogger.php:28
561
  msgid ""
562
  "Created user {created_user_login} ({created_user_email}) with role "
563
  "{created_user_role}"
565
  "hat Benutzer {created_user_login} ({created_user_email}) mit der Rolle "
566
  "{created_user_role} erzeugt"
567
 
568
+ #: loggers/SimpleUserLogger.php:29
569
  msgid "Deleted user {deleted_user_login} ({deleted_user_email})"
570
  msgstr "hat den Benutzer {deleted_user_login} ({deleted_user_email}) gelöscht"
571
 
572
+ #: loggers/SimpleUserLogger.php:227
573
  msgid "Edited <a href=\"{edit_profile_link}\">your profile</a>"
574
  msgstr "hat <a href=\"{edit_profile_link}\">Dein Profil</a> geändert"
575
 
576
+ #: loggers/SimpleUserLogger.php:231
577
  msgid "Edited <a href=\"{edit_profile_link}\">their profile</a>"
578
  msgstr "hat <a href=\"{edit_profile_link}\">deren Profil</a> geändert"
579
 
580
+ #: loggers/SimpleUserLogger.php:240
581
  msgid "Edited your profile"
582
  msgstr "hat Dein Profil geändert"
583
 
584
+ #: loggers/SimpleUserLogger.php:251
585
  msgid ""
586
  "Edited the profile for user <a href="
587
  "\"{edit_profile_link}\">{edited_user_login} ({edited_user_email})</a>"
660
  msgid "http://simple-history.com/"
661
  msgstr "http://simple-history.com/"
662
 
663
+ #: SimpleHistory.php:249
664
  msgctxt ""
665
  "Message visible while waiting for log to load from server the first time"
666
  msgid "Loading history..."
667
  msgstr "Lade Historie..."
668
 
669
+ #: SimpleHistory.php:286
670
  msgctxt "page n of n"
671
  msgid "of"
672
  msgstr "von"
673
 
674
+ #: SimpleHistory.php:357
675
  msgctxt "API: not enought arguments passed"
676
  msgid "Not enough args specified"
677
  msgstr "Nicht genügend Argumente angegeben"
678
 
679
+ #: SimpleHistory.php:1235
680
  msgctxt "dashboard menu name"
681
  msgid "Simple History"
682
  msgstr "Simple History"
683
 
684
+ #: SimpleHistory.php:1359
685
  msgctxt "history page headline"
686
  msgid "Simple History"
687
  msgstr "Simple History"
688
 
689
+ #: SimpleHistory.php:1619
690
  msgctxt "simple-history"
691
  msgid "Simple History removed one event that were older than {days} days"
692
  msgid_plural ""
697
  "Simple History hat {num_rows} Ereignisse entfernt welche älter als {days} "
698
  "Tage waren"
699
 
700
+ #: SimpleHistory.php:1963
701
  msgctxt "Log level in gui"
702
  msgid "emergency"
703
  msgstr "Notfall"
704
 
705
+ #: SimpleHistory.php:1967
706
  msgctxt "Log level in gui"
707
  msgid "alert"
708
  msgstr "Alarm"
709
 
710
+ #: SimpleHistory.php:1971
711
  msgctxt "Log level in gui"
712
  msgid "critical"
713
  msgstr "Kritisch"
714
 
715
+ #: SimpleHistory.php:1975
716
  msgctxt "Log level in gui"
717
  msgid "error"
718
  msgstr "Fehler"
719
 
720
+ #: SimpleHistory.php:1979
721
  msgctxt "Log level in gui"
722
  msgid "warning"
723
  msgstr "Warnung"
724
 
725
+ #: SimpleHistory.php:1983
726
  msgctxt "Log level in gui"
727
  msgid "notice"
728
  msgstr "Hinweis"
729
 
730
+ #: SimpleHistory.php:1987
731
  msgctxt "Log level in gui"
732
  msgid "info"
733
  msgstr "Information"
734
 
735
+ #: SimpleHistory.php:1991
736
  msgctxt "Log level in gui"
737
  msgid "debug"
738
  msgstr "Fehlersuche"
739
 
740
+ #: SimpleHistory.php:1996
741
  msgctxt "Log level in gui"
742
  msgid "Emergency"
743
  msgstr "Notfall"
744
 
745
+ #: SimpleHistory.php:2000
746
  msgctxt "Log level in gui"
747
  msgid "Alert"
748
  msgstr "Alarm"
749
 
750
+ #: SimpleHistory.php:2004
751
  msgctxt "Log level in gui"
752
  msgid "Critical"
753
  msgstr "Kritisch"
754
 
755
+ #: SimpleHistory.php:2008
756
  msgctxt "Log level in gui"
757
  msgid "Error"
758
  msgstr "Fehler"
759
 
760
+ #: SimpleHistory.php:2012
761
  msgctxt "Log level in gui"
762
  msgid "Warning"
763
  msgstr "Warnung"
764
 
765
+ #: SimpleHistory.php:2016
766
  msgctxt "Log level in gui"
767
  msgid "Notice"
768
  msgstr "Hinweis"
769
 
770
+ #: SimpleHistory.php:2020
771
  msgctxt "Log level in gui"
772
  msgid "Info"
773
  msgstr "Information"
774
 
775
+ #: SimpleHistory.php:2024
776
  msgctxt "Log level in gui"
777
  msgid "Debug"
778
  msgstr "Fehlersuche"
1167
  msgid "Deleted comments"
1168
  msgstr "gelöschte Kommentare"
1169
 
1170
+ #: loggers/SimpleCommentsLogger.php:602 loggers/SimpleCommentsLogger.php:615
1171
+ #: loggers/SimpleCommentsLogger.php:629
1172
  msgctxt "comments logger - detailed output comment status"
1173
  msgid "Status"
1174
  msgstr "Status"
1175
 
1176
+ #: loggers/SimpleCommentsLogger.php:604 loggers/SimpleCommentsLogger.php:617
1177
+ #: loggers/SimpleCommentsLogger.php:631
1178
  msgctxt "comments logger - detailed output author"
1179
  msgid "Name"
1180
  msgstr "Name"
1181
 
1182
+ #: loggers/SimpleCommentsLogger.php:605 loggers/SimpleCommentsLogger.php:618
1183
+ #: loggers/SimpleCommentsLogger.php:632
1184
  msgctxt "comments logger - detailed output email"
1185
  msgid "Email"
1186
  msgstr "E-Mail"
1187
 
1188
+ #: loggers/SimpleCommentsLogger.php:606 loggers/SimpleCommentsLogger.php:619
1189
  msgctxt "comments logger - detailed output content"
1190
  msgid "Content"
1191
  msgstr "Inhalt"
1192
 
1193
+ #: loggers/SimpleCommentsLogger.php:633
1194
  msgctxt "comments logger - detailed output content"
1195
  msgid "Comment"
1196
  msgstr "Kommentar"
1197
 
1198
+ #: loggers/SimpleCommentsLogger.php:759
1199
  msgctxt "comments logger - edit comment"
1200
  msgid "View/Edit"
1201
  msgstr "Betrachte/Ändere"
1210
  msgid "WordPress core updates"
1211
  msgstr "WordPress-Kern-Aktualisierungen"
1212
 
1213
+ #: loggers/SimpleUserLogger.php:54
1214
  msgctxt "User logger: search"
1215
  msgid "Users"
1216
  msgstr "Benutzer"
1217
 
1218
+ #: loggers/SimpleUserLogger.php:55
1219
  msgctxt "User logger: search"
1220
  msgid "All user activity"
1221
  msgstr "Alle Benutzer-Aktivitäten"
1222
 
1223
+ #: loggers/SimpleUserLogger.php:57
1224
  msgctxt "User logger: search"
1225
  msgid "Successful user logins"
1226
  msgstr "erfolgreiche Benutzer-Anmeldungen"
1227
 
1228
+ #: loggers/SimpleUserLogger.php:61
1229
  msgctxt "User logger: search"
1230
  msgid "Failed user logins"
1231
  msgstr "fehlgeschlagene Benutzer-Anmeldungen"
1232
 
1233
+ #: loggers/SimpleUserLogger.php:65
1234
  msgctxt "User logger: search"
1235
  msgid "User logouts"
1236
  msgstr "Benutzer-Abmeldungen"
1237
 
1238
+ #: loggers/SimpleUserLogger.php:68
1239
  msgctxt "User logger: search"
1240
  msgid "Created users"
1241
  msgstr "Benutzer erzeugt"
1242
 
1243
+ #: loggers/SimpleUserLogger.php:71
1244
  msgctxt "User logger: search"
1245
  msgid "User profile updates"
1246
  msgstr "Benutzerprofil-Aktualisierungen"
1247
 
1248
+ #: loggers/SimpleUserLogger.php:74
1249
  msgctxt "User logger: search"
1250
  msgid "User deletions"
1251
  msgstr "Löschungen von Benutzern"
1260
  msgid "Created exports"
1261
  msgstr "erstellte Exporte"
1262
 
1263
+ #: loggers/SimpleLogger.php:190
1264
  msgctxt "header output when initiator is the currently logged in user"
1265
  msgid "You"
1266
  msgstr "Dein eigener Benutzername"
1427
  msgid "Deleted plugins"
1428
  msgstr "gelöschte Plugins"
1429
 
1430
+ #: loggers/SimplePluginLogger.php:887
1431
  msgctxt "plugin logger - detailed output version"
1432
  msgid "Version"
1433
  msgstr "Version"
1434
 
1435
+ #: loggers/SimplePluginLogger.php:889
1436
  msgctxt "plugin logger - detailed output author"
1437
  msgid "Author"
1438
  msgstr "Autor"
1439
 
1440
+ #: loggers/SimplePluginLogger.php:891
1441
  msgctxt "plugin logger - detailed output author"
1442
  msgid "Requires"
1443
  msgstr "erfordert"
1444
 
1445
+ #: loggers/SimplePluginLogger.php:890
1446
  msgctxt "plugin logger - detailed output url"
1447
  msgid "URL"
1448
  msgstr "URL"
1449
 
1450
+ #: loggers/SimplePluginLogger.php:892
1451
  msgctxt "plugin logger - detailed output compatible"
1452
  msgid "Compatible up to"
1453
  msgstr "kompatibel bis zu"
1454
 
1455
+ #: loggers/SimplePluginLogger.php:893
1456
  msgctxt "plugin logger - detailed output downloaded"
1457
  msgid "Downloads"
1458
  msgstr "Downloads"
1459
 
1460
+ #: loggers/SimplePluginLogger.php:953
1461
  msgctxt "plugin logger: plugin info thickbox title view all info"
1462
  msgid "View plugin info"
1463
  msgstr "Zeige Plugin-Info"
1464
 
1465
+ #: loggers/SimplePluginLogger.php:968
1466
  msgctxt "plugin logger: plugin info thickbox title"
1467
  msgid "View plugin info"
1468
  msgstr "Zeige Plugin-Info"
1469
 
1470
+ #: loggers/SimplePluginLogger.php:972
1471
  msgctxt "plugin logger: plugin info thickbox title"
1472
  msgid "View changelog"
1473
  msgstr "Zeige Changelog"
1542
  msgid "Background of themes changed"
1543
  msgstr "geänderte Theme-Hintergründe"
1544
 
1545
+ #: loggers/SimpleUserLogger.php:36
1546
  msgctxt "User destroys other login sessions for themself"
1547
  msgid "Logged out from all other sessions"
1548
  msgstr "hat sich von allen anderen Sitzungen abgemeldet"
1549
 
1550
+ #: loggers/SimpleUserLogger.php:45
1551
  msgctxt "User destroys all login sessions for a user"
1552
  msgid "Logged out \"{user_display_name}\" from all sessions"
1553
  msgstr "hat den Benutzer \"{user_display_name}\" von allen Sitzungen abgemeldet"
loggers/SimpleLogger.php CHANGED
@@ -940,6 +940,13 @@ class SimpleLogger {
940
 
941
  }
942
 
 
 
 
 
 
 
 
943
  /**
944
  * Filter data to be saved to db
945
  *
940
 
941
  }
942
 
943
+ // Detect XML-RPC calls and append to context, if not already there
944
+ if ( defined("XMLRPC_REQUEST") && XMLRPC_REQUEST && ! isset( $context["_xmlrpc_request"] ) ) {
945
+
946
+ $context["_xmlrpc_request"] = true;
947
+
948
+ }
949
+
950
  /**
951
  * Filter data to be saved to db
952
  *
loggers/SimpleMediaLogger.php CHANGED
@@ -50,6 +50,8 @@ class SimpleMediaLogger extends SimpleLogger
50
 
51
  add_action("admin_init", array($this, "on_admin_init"));
52
 
 
 
53
  }
54
 
55
  function on_admin_init() {
@@ -60,6 +62,40 @@ class SimpleMediaLogger extends SimpleLogger
60
 
61
  }
62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  /**
64
  * Modify plain output to inlcude link to post
65
  */
50
 
51
  add_action("admin_init", array($this, "on_admin_init"));
52
 
53
+ add_action( 'xmlrpc_call_success_mw_newMediaObject', array($this, "on_mw_newMediaObject"), 10, 2 );
54
+
55
  }
56
 
57
  function on_admin_init() {
62
 
63
  }
64
 
65
+ /**
66
+ * Filter that fires after a new attachment has been added via the XML-RPC MovableType API.
67
+ *
68
+ * @since 2.0.21
69
+ *
70
+ * @param int $id ID of the new attachment.
71
+ * @param array $args An array of arguments to add the attachment.
72
+ */
73
+ function on_mw_newMediaObject($attachment_id, $args) {
74
+
75
+ $attachment_post = get_post( $attachment_id );
76
+ $filename = esc_html( wp_basename( $attachment_post->guid ) );
77
+ $mime = get_post_mime_type( $attachment_post );
78
+ $file = get_attached_file( $attachment_id );
79
+ $file_size = false;
80
+
81
+ if ( file_exists( $file ) ) {
82
+ $file_size = filesize( $file );
83
+ }
84
+
85
+ $this->infoMessage(
86
+ 'attachment_created',
87
+ array(
88
+ "post_type" => get_post_type( $attachment_post ),
89
+ "attachment_id" => $attachment_id,
90
+ "attachment_title" => get_the_title( $attachment_post ),
91
+ "attachment_filename" => $filename,
92
+ "attachment_mime" => $mime,
93
+ "attachment_filesize" => $file_size
94
+ )
95
+ );
96
+
97
+ }
98
+
99
  /**
100
  * Modify plain output to inlcude link to post
101
  */
loggers/SimpleOptionsLogger.php CHANGED
@@ -240,7 +240,7 @@ class SimpleOptionsLogger extends SimpleLogger
240
  </tr>
241
  ',
242
  __("New value", "simple-history"),
243
- esc_html( $context["new_value"] )
244
  );
245
 
246
  $output .= sprintf(
@@ -251,7 +251,7 @@ class SimpleOptionsLogger extends SimpleLogger
251
  </tr>
252
  ',
253
  __("Old value", "simple-history"),
254
- esc_html( $context["old_value"] )
255
  );
256
  }
257
 
240
  </tr>
241
  ',
242
  __("New value", "simple-history"),
243
+ esc_html( mb_strimwidth( $context["new_value"], 0, 250, "..." ) )
244
  );
245
 
246
  $output .= sprintf(
251
  </tr>
252
  ',
253
  __("Old value", "simple-history"),
254
+ esc_html( mb_strimwidth( $context["old_value"], 0, 250, "..." ) )
255
  );
256
  }
257
 
loggers/SimplePostLogger.php CHANGED
@@ -1,5 +1,74 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  /**
4
  * Logs changes to posts and pages, including custom post types
5
  */
@@ -13,8 +82,89 @@ class SimplePostLogger extends SimpleLogger
13
 
14
  add_action("admin_init", array($this, "on_admin_init"));
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
 
18
  /**
19
  * Get array with information about this logger
20
  *
@@ -70,6 +220,72 @@ class SimplePostLogger extends SimpleLogger
70
 
71
  }
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  /**
74
  * Called when a post is restored from the trash
75
  */
1
  <?php
2
 
3
+ /*
4
+ - vid start av app: login, körs titt som tätt
5
+ - XMLRPC_REQUEST": true
6
+ do_action( 'xmlrpc_call', 'wp.editPost' );
7
+
8
+ * All built-in XML-RPC methods use the action xmlrpc_call, with a parameter
9
+ * equal to the method's name, e.g., wp.getUsersBlogs, wp.newPost, etc.
10
+ do_action( 'xmlrpc_call', 'wp.getUsersBlogs' );
11
+ */
12
+
13
+
14
+
15
+ /**
16
+ * Fires after a new category has been successfully created via XML-RPC.
17
+ *
18
+ * @since 3.4.0
19
+ *
20
+ * @param int $cat_id ID of the new category.
21
+ * @param array $args An array of new category arguments.
22
+ */
23
+ # do_action( 'xmlrpc_call_success_wp_newCategory', $cat_id, $args );
24
+
25
+
26
+ /**
27
+ * Fires after a category has been successfully deleted via XML-RPC.
28
+ *
29
+ * @since 3.4.0
30
+ *
31
+ * @param int $category_id ID of the deleted category.
32
+ * @param array $args An array of arguments to delete the category.
33
+ */
34
+ # do_action( 'xmlrpc_call_success_wp_deleteCategory', $category_id, $args );
35
+
36
+
37
+ /**
38
+ * Fires after a comment has been successfully deleted via XML-RPC.
39
+ *
40
+ * @since 3.4.0
41
+ *
42
+ * @param int $comment_ID ID of the deleted comment.
43
+ * @param array $args An array of arguments to delete the comment.
44
+ */
45
+ # do_action( 'xmlrpc_call_success_wp_deleteComment', $comment_ID, $args );
46
+
47
+
48
+ /**
49
+ * Fires after a comment has been successfully updated via XML-RPC.
50
+ *
51
+ * @since 3.4.0
52
+ *
53
+ * @param int $comment_ID ID of the updated comment.
54
+ * @param array $args An array of arguments to update the comment.
55
+ */
56
+ # do_action( 'xmlrpc_call_success_wp_editComment', $comment_ID, $args );
57
+
58
+
59
+ /**
60
+ * Fires after a new comment has been successfully created via XML-RPC.
61
+ *
62
+ * @since 3.4.0
63
+ *
64
+ * @param int $comment_ID ID of the new comment.
65
+ * @param array $args An array of new comment arguments.
66
+ */
67
+ # do_action( 'xmlrpc_call_success_wp_newComment', $comment_ID, $args );
68
+
69
+
70
+
71
+
72
  /**
73
  * Logs changes to posts and pages, including custom post types
74
  */
82
 
83
  add_action("admin_init", array($this, "on_admin_init"));
84
 
85
+ $this->add_xml_rpc_hooks();
86
+
87
+ }
88
+
89
+ /**
90
+ * Filters to XML RPC calls needs to be added early, admin_init is to late
91
+ */
92
+ function add_xml_rpc_hooks() {
93
+
94
+ // Debug: log all XML-RPC requests
95
+ /*
96
+ add_action("xmlrpc_call", function($method) {
97
+ SimpleLogger()->debug("XML-RPC call for method '{method}'", array("method" => $method));
98
+ }, 10, 1);
99
+ */
100
+
101
+ add_action('xmlrpc_call_success_blogger_newPost', array($this, "on_xmlrpc_newPost"), 10, 2);
102
+ add_action('xmlrpc_call_success_mw_newPost', array($this, "on_xmlrpc_newPost"), 10,2 );
103
+
104
+ add_action('xmlrpc_call_success_blogger_editPost', array($this, "on_xmlrpc_editPost"), 10, 2);
105
+ add_action('xmlrpc_call_success_mw_editPost', array($this, "on_xmlrpc_editPost"), 10, 2);
106
+
107
+ add_action('xmlrpc_call_success_blogger_deletePost', array($this, "on_xmlrpc_deletePost"), 10, 2);
108
+ add_action('xmlrpc_call_success_wp_deletePage', array($this, "on_xmlrpc_deletePost"), 10, 2);
109
+
110
+ add_action("xmlrpc_call", array($this, "on_xmlrpc_call"), 10, 1);
111
+
112
+ }
113
+
114
+ function on_xmlrpc_call($method) {
115
+
116
+ $arr_methods_to_act_on = array(
117
+ "wp.deletePost"
118
+ );
119
+
120
+ $raw_post_data = null;
121
+ $message = null;
122
+ $context = array();
123
+
124
+ if ( in_array( $method, $arr_methods_to_act_on ) ) {
125
+
126
+ // Setup common stuff
127
+ $raw_post_data = file_get_contents("php://input");
128
+ $context["wp.deletePost.xmldata"] = $this->simpleHistory->json_encode( $raw_post_data );
129
+ $message = new IXR_Message( $raw_post_data );
130
+
131
+ if ( ! $message->parse() ) {
132
+ return;
133
+ }
134
+
135
+ $context["wp.deletePost.xmlrpc_message"] = $this->simpleHistory->json_encode( $message );
136
+ $context["wp.deletePost.xmlrpc_message.messageType"] = $this->simpleHistory->json_encode( $message->messageType );
137
+ $context["wp.deletePost.xmlrpc_message.methodName"] = $this->simpleHistory->json_encode( $message->methodName );
138
+ $context["wp.deletePost.xmlrpc_message.messageParams"] = $this->simpleHistory->json_encode( $message->params );
139
+
140
+ // Actions for delete post
141
+ if ( "wp.deletePost" == $method ) {
142
+
143
+ // 4 params, where the last is the post id
144
+ if ( ! isset( $message->params[3] ) ) {
145
+ return;
146
+ }
147
+
148
+ $post_ID = $message->params[3];
149
+
150
+ $post = get_post( $post_ID );
151
+
152
+ $context = array(
153
+ "post_id" => $post->ID,
154
+ "post_type" => get_post_type( $post ),
155
+ "post_title" => get_the_title( $post )
156
+ );
157
+
158
+ $this->infoMessage( "post_trashed", $context );
159
+
160
+
161
+ } // if delete post
162
+
163
+ }
164
+
165
  }
166
 
167
+
168
  /**
169
  * Get array with information about this logger
170
  *
220
 
221
  }
222
 
223
+ /**
224
+ * Fires after a post has been successfully deleted via the XML-RPC Blogger API.
225
+ *
226
+ * @since 2.0.21
227
+ *
228
+ * @param int $post_ID ID of the deleted post.
229
+ * @param array $args An array of arguments to delete the post.
230
+ */
231
+ function on_xmlrpc_deletePost($post_ID, $args) {
232
+
233
+ $post = get_post( $post_ID );
234
+
235
+ $context = array(
236
+ "post_id" => $post->ID,
237
+ "post_type" => get_post_type( $post ),
238
+ "post_title" => get_the_title( $post )
239
+ );
240
+
241
+ $this->infoMessage( "post_deleted", $context );
242
+
243
+ }
244
+
245
+ /**
246
+ * Fires after a post has been successfully updated via the XML-RPC API.
247
+ *
248
+ * @since 2.0.21
249
+ *
250
+ * @param int $post_ID ID of the updated post.
251
+ * @param array $args An array of arguments for the post to edit.
252
+ */
253
+ function on_xmlrpc_editPost($post_ID, $args) {
254
+
255
+ $post = get_post( $post_ID );
256
+
257
+ $context = array(
258
+ "post_id" => $post->ID,
259
+ "post_type" => get_post_type( $post ),
260
+ "post_title" => get_the_title( $post )
261
+ );
262
+
263
+ $this->infoMessage( "post_updated", $context );
264
+
265
+ }
266
+
267
+ /**
268
+ * Fires after a new post has been successfully created via the XML-RPC API.
269
+ *
270
+ * @since 2.0.21
271
+ *
272
+ * @param int $post_ID ID of the new post.
273
+ * @param array $args An array of new post arguments.
274
+ */
275
+ function on_xmlrpc_newPost($post_ID, $args) {
276
+
277
+ $post = get_post( $post_ID );
278
+
279
+ $context = array(
280
+ "post_id" => $post->ID,
281
+ "post_type" => get_post_type( $post ),
282
+ "post_title" => get_the_title( $post )
283
+ );
284
+
285
+ $this->infoMessage( "post_created", $context );
286
+
287
+ }
288
+
289
  /**
290
  * Called when a post is restored from the trash
291
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://eskapism.se/sida/donate/
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin, syslog, feed, activity, stream
5
  Requires at least: 3.6.0
6
  Tested up to: 4.1
7
- Stable tag: 2.0.20
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
@@ -111,6 +111,15 @@ initiated by a specific user.
111
 
112
  == Changelog ==
113
 
 
 
 
 
 
 
 
 
 
114
  = 2.0.20 (February 2015) =
115
 
116
  - Added: changes via [WP-CLI](http://wp-cli.org) is now detected (was previously shown as "other").
4
  Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin, syslog, feed, activity, stream
5
  Requires at least: 3.6.0
6
  Tested up to: 4.1
7
+ Stable tag: 2.0.21
8
 
9
  View changes made by users within WordPress. See who created a page, uploaded an attachment or approved an comment, and more.
10
 
111
 
112
  == Changelog ==
113
 
114
+ = 2.0.21 (February 2015) =
115
+
116
+ - Added: Updates via XML RPC are now logged, for example when using the WordPress app for iOS or Android. Supported actions for now is post/page created, edited, deleted, and media uploads.
117
+ - Added: `_xmlrpc_request` is added to context of event when an event is initiated through a XML-RPC all.
118
+ - Changed: RSS feed now has loglevel of event prepended to the title.
119
+ - Changed: Options logger now only shows the first 250 chars of new and old option values. Really long values could make the log look strange.
120
+ - Added: If constant SIMPLE_HISTORY_LOG_DEBUG is defined and true automatically adds $_GET, $_POST, and more info to each logged event. Mostly useful for the developer, but maybe some of you are a bit paranoid and want it too.
121
+ - Updated: German translation updated.
122
+
123
  = 2.0.20 (February 2015) =
124
 
125
  - Added: changes via [WP-CLI](http://wp-cli.org) is now detected (was previously shown as "other").