They are supposed to check Wakapi's web stack and endpoints, including response codes, headers and data on a syntactical level, rather than checking the actual content that is returned. API testsĪPI tests are implemented as black box tests, which interact with a fully-fledged, standalone Wakapi through HTTP requests. | grep -v '/muety/wakapi/scripts ' ` -json -coverprofile=coverage/coverage.out. While there is no way to accomplish this directly through the web UI, we provide an easy-to-use Python script instead. You can export your coding activity from Wakapi to CSV in the form of raw heartbeats. To "force" it to sync, simply bring up the plugin main dialog. Note: the plugin will only sync heartbeats once in a while, so it might take some time for them to appear on Wakapi. API URL: (alternatively, replace v with your self-hosted instance hostname).API Key: Your personal API key (get it at v).Configure it like so (see screenshot below):. Install the browser extension from the official store ( Firefox, Chrome).Follow these instructions to get started: Visited websites will appear as "files" in the summary. The browser-wakatime plugin enables you to track your web surfing in WakaTime (and Wakapi, of course). other options plugin_wakatime: yes plugin_wakatime_token: $ # Required plugin_wakatime_days: 7 # Display last week stats plugin_wakatime_sections: time, projects, projects-graphs # Display time and projects sections, along with projects graphs plugin_wakatime_limit: 4 # Show 4 entries per graph plugin_wakatime_url: # Wakatime url endpoint plugin_wakatime_user. CockroachDB ( cloud-native, distributed, Postgres-compatible API).MariaDB ( open-source MySQL alternative).MySQL ( recommended, because most extensively tested). As a consequence, a set of different relational databases is supported. Probability of tracing a heartbeat request in Sentry Probability of tracing a request in Sentry ) (if using mailwhale mail provider)ĭSN for to integrate Sentry for error logging and tracing (leave empty to disable) Whether the SMTP server requires TLS encryption ( false for STARTTLS or no encryption) SMTP server address for sending mail (if using smtp mail provider) Implementation to use for sending mails (one of ) for password resets)ĭefault sender address for outgoing mails (ignored for MailWhale) Whether to allow Wakapi to send e-mail (e.g. Whether to ignore schema auto-migration failures when starting up Whether to use TLS encryption for database connection (Postgres and CockroachDB only) Whether to expose Prometheus metrics under /api/metricsĭatabase UNIX socket (alternative to host) (for MySQL only)ĭatabase type (one of sqlite3, mysql, postgres, cockroach)ĭatabase connection charset (for MySQL only) Whether to disable landing page (useful for personal instances) Lifetime of authentication cookies in seconds or 0 to use Session cookies Whether or not to allow cookies over HTTP URL at which your Wakapi instance can be found publicly Web base path (change when running behind a proxy under a sub-path) Path of SSL server private key (leave blank to not use HTTPS) Path of SSL server certificate (leave blank to not use HTTPS) Permission mode to create UNIX socket with UNIX socket to listen on (leave blank to disable UNIX socket) IPv6 network address to listen on (leave blank to disable IPv6) IPv4 network address to listen on (leave blank to disable IPv4) Maximum retention period in months for user data (heartbeats) (-1 for unlimited) from Dicebear or Gravatar)Īpp.support_contact address to display as a support contact on the page URL template for external user avatar images (e.g. Maximum acceptable age of a heartbeat (see ParseDuration) Number of days after which to consider a user inactive (only for metrics) Size of batches of heartbeats to insert to the database during importing from external services When to perform data cleanup operations (see app.data_retention_months) One or multiple times of day at which to re-calculate the leaderboard Week day and time at which to send e-mail reports Time of day at which to periodically run summary generation for all users Whether to use development- or production settings You can specify configuration options either via a config file (default: config.yml, customizable through the -c argument) or via environment variables. Optionally, you can set up a client-side proxy in addition. # Your Wakapi server URL or '' when using the cloud server api_url = # Your Wakapi API key (get it from the web interface after having created an account) api_key = 406fe41f-6d69-4183-a4cc-121e0c524c2b
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |