mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-12 17:07:23 +01:00
Add copyright to source files
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from logs.TailFile import TailFile
|
||||
from mail.PostfixLogHandler import PostfixLogHandler
|
||||
from mail.DovecotLogHandler import DovecotLogHandler
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
class DatabaseConnectionFactory(object):
|
||||
def connect(self):
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
# -*- indent-tabs-mode: t; tab-width: 4; python-indent-offset: 4; -*-
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
import threading
|
||||
import queue
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
|
||||
class Prunable(object):
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
import threading
|
||||
import logging
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import os, stat
|
||||
import sqlite3
|
||||
import logging
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
# -*- indent-tabs-mode: t; tab-width: 4; python-indent-offset: 4; -*-
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
import sqlite3
|
||||
import os, stat
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import datetime
|
||||
import pytz
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
'''subclass this and override methods to handle log output'''
|
||||
class ReadLineHandler(object):
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
'''subclass this and override all methods to persist the position of
|
||||
the log file that has been processed so far.
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from .ReadPositionStore import ReadPositionStore
|
||||
|
||||
import threading
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import threading
|
||||
import os
|
||||
import logging
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import logging
|
||||
import re
|
||||
import datetime
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import logging
|
||||
import re
|
||||
import datetime
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import logging
|
||||
import re
|
||||
import datetime
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
class PostfixLogParser(object):
|
||||
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
#!/bin/bash
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
# load a mail.log file into the current test vm's capture.sqlite
|
||||
#
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
#!/bin/bash
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
#
|
||||
# interactively load a mail.log file and create a capture.sqlite
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
|
||||
|
||||
class DictQuery(object):
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
def load_env_vars_from_file(fn):
|
||||
# Load settings from a KEY=VALUE file.
|
||||
env = {}
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
def safe_int(str, default_value=0):
|
||||
try:
|
||||
return int(str)
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
import { BvTable, ConnectionDisposition, DateFormatter } from "./charting.js";
|
||||
import { spinner } from "../../ui-common/page-header.js";
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
import { ChartPrefs, NumberFormatter, ChartVue } from "./charting.js";
|
||||
|
||||
export default Vue.component('chart-multi-line-timeseries', {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
import { ChartPrefs, NumberFormatter, ChartVue } from "./charting.js";
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
/*
|
||||
stacked bar chart
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
export default Vue.component('chart-table', {
|
||||
props: {
|
||||
items: Array,
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
|
||||
export class ChartPrefs {
|
||||
static get colors() {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
import { DateRange, DateFormatter } from "./charting.js";
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
/*
|
||||
* reports index page
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
import { spinner } from "../../ui-common/page-header.js";
|
||||
|
||||
export default Vue.component('message-headers-view', {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
import page_layout from '../../ui-common/page-layout.js';
|
||||
import reports_page_header from './reports-page-header.js';
|
||||
import date_range_picker from './date-range-picker.js';
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
|
||||
import page_layout from '../../ui-common/page-layout.js';
|
||||
import reports_page_header from './reports-page-header.js';
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
|
||||
import chart_multi_line_timeseries from "./chart-multi-line-timeseries.js";
|
||||
import chart_stacked_bar_timeseries from "./chart-stacked-bar-timeseries.js";
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
/*
|
||||
set of charts/tables showing messages received from internet servers
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
/*
|
||||
set of charts/tables showing messages sent by local users
|
||||
- number of messages sent over time
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
/*
|
||||
details on the activity of a remote sender (envelope from)
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
/*
|
||||
details on the activity of a user
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
import page_header from '../../ui-common/page-header.js';
|
||||
|
||||
export default Vue.component('reports-page-header', {
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
import { ValueError } from '../../ui-common/exceptions.js';
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/////
|
||||
///// This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
///// https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
///// details.
|
||||
/////
|
||||
|
||||
/*
|
||||
* This component adds <wbr> elements after all characters given by
|
||||
* `break_chars` in the given text.
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import datetime
|
||||
import threading
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import datetime
|
||||
import bisect
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from .exceptions import (InvalidArgsError)
|
||||
from .select_list_suggestions import select_list_suggestions
|
||||
from .messages_sent import messages_sent
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import datetime
|
||||
from .DictCache import DictCache
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
class MiabLdapError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
import logging
|
||||
from .Timeseries import Timeseries
|
||||
from .exceptions import InvalidArgsError
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from .Timeseries import Timeseries
|
||||
from .exceptions import InvalidArgsError
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from .Timeseries import Timeseries
|
||||
from .exceptions import InvalidArgsError
|
||||
from .top import select_top
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from .Timeseries import Timeseries
|
||||
from .exceptions import InvalidArgsError
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from .Timeseries import Timeseries
|
||||
from .exceptions import InvalidArgsError
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from .Timeseries import Timeseries
|
||||
from .exceptions import InvalidArgsError
|
||||
import logging
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
def select_top(c, select, start, end, y, fields, field_types):
|
||||
'''`c` is a cursor
|
||||
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
#####
|
||||
##### This file is part of Mail-in-a-Box-LDAP which is released 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. See file LICENSE or go to
|
||||
##### https://github.com/downtownallday/mailinabox-ldap for full license
|
||||
##### details.
|
||||
#####
|
||||
|
||||
from .Timeseries import Timeseries
|
||||
from .exceptions import InvalidArgsError
|
||||
|
||||
|
||||
Reference in New Issue
Block a user