Skip to content

Releases: a-know/Pixela

v1.18.1

13 Aug 00:20
4bd89a7
Compare
Choose a tag to compare

Hello! Thank you for always using Pixela.

I made several small changes:

  • Changed behavior of post Pixel (POST request to /v1/users/<username>/graphics/<graphID> endpoint).
    • Previously: returned an error if the date was already posted.
    • From v1.18.1: If the date is already posted, update the information.
  • Return 200 OK for HEAD requests for each Pixela API endpoint.
  • Addressed missing support for the OPTIONS method on some API endpoints.
  • Fix the graph can be displayed if the graph ID is known, even if the isSecret of each graph is true.
  • トップページのリンクミスを修正しました。

In Japanese

こんにちは! いつも Pixela を使ってくれてありがとうございます。

以下のような小さな変更を複数実施しました。

  • Pixelの投稿/v1/users/<username>/graphs/<graphID> エンドポイントへの POST リクエスト)の挙動を変更しました。
    • これまで: すでに投稿済みの日付である場合、エラーを返していました。
    • v1.18.1 以降: すでに投稿済みの日付である場合、その情報を更新します。
  • Pixela の各APIエンドポイントに対する HEAD リクエストに対して 200 OK を返すようにしました。
  • 一部のAPIエンドポイントで OPTIONS メソッドのサポートが漏れていたものを対応しました。
    • #12
    • @ryosms さん、ありがとうございます!
  • 各グラフの isSecrettrue の場合でも、グラフIDを知っている場合にはグラフを表示できるように修正しました。
  • トップページのリンクミスを修正しました。

v1.18.0

05 May 23:09
4bd89a7
Compare
Choose a tag to compare

Hi! Pixela v1.18.0 now available!

  • You can now measure and record the time in Pixela.
    • The newly provided API endpoint is POST - /v1/users/<username>/graphs/<graphID>/stopwatch.
      • API docs is here.
      • Each time you make a request to this API, you can toggle between starting and ending the time measurement.
      • At the end of the measurement, the measured time is recorded as the quantity of the day (pixel) on the graph.
        • Since the number is recorded in minutes, the type of graph is float and the unit of the graph is minutes are recommended. :)
        • In addition, the number and the time of day of measurements are recorded in Pixel's optionalData.
      • Please note that it is not possible to measure the time across the day.
    • With this, Webhook also supports the stopwatch type.
      • API docs is here.
      • Please use this on a device that cannot specify a request header.

In Japanese

  • Pixela で時間の計測・記録ができるようになりました。
    • 新しく提供を開始したAPIのエンドポイントは POST - /v1/users/<username>/graphs/<graphID>/stopwatch です。
      • APIドキュメントはここです。
      • このAPIにリクエストするごとに、時間の計測開始と計測終了を切り替えることができます。
      • 計測終了時には、計測された時間をそのグラフの当日のQuantityとして記録します。
        • 分単位での数値として記録されますので、グラフのタイプは float 、グラフのunitは minutes をおすすめします。
        • また、計測回数や時間帯の情報が、当日のPixelの optionalData にも記録されます。
      • 日を跨いでの時間の計測はできませんので注意してください。
    • これに伴い、Webhook も stopwatch type をサポートしました。
      • APIドキュメントはここです。
      • リクエストヘッダを指定することができない端末などで利用してください。

v1.17.0

05 Apr 10:11
4bd89a7
Compare
Choose a tag to compare

Hi!

This is a time of tribulation for the whole world. I'm sure there are many people who do WFH (Work From Home).
This update may help such people. 🙏

  • A new property remindBy of Notification is now supported. API docs
    • The number from 0 to 23 is specified as a string. This represents the time of day.
    • If a number is specified for this property, the following operations will be performed automatically every day at the time of the number of this property.
      • Check the quantity of pixel for that day on the graph from which this notification is related.
      • If the check result does not satisfy the conditions ( condition , threshold ) of this notification rule, a notification will be sent.
    • The time zone set in the graph is used to perform this process.
    • You can also set this item to an empty strings ("") if you don't want this process.

It can be used as a reminder, so to speak. I hope this update helps those of you who are imposing daily tasks on yourself. 🙏

v1.16.0

15 Mar 13:45
4bd89a7
Compare
Choose a tag to compare

Hi! With the end of winter, I brought in a release! :)

  • Added support for dark mode.
    • You can display the perfect svg for dark mode.
      • https://pixe.la/v1/users/a-know/graphs/test-graph?appearance=dark
    • This is also available in short mode and line mode.
      • https://pixe.la/v1/users/a-know/graphs/test-graph?mode=short&appearance=dark
      • https://pixe.la/v1/users/a-know/graphs/test-graph?mode=line&appearance=dark
    • In the simple HTML mode, the display mode automatically switches based on the OS appearance settings.
      • https://pixe.la/v1/users/a-know/graphs/test-graph.html?mode=simple
  • Paging in HTML mode is now only available to Pixela supporters.
    • I decided to limit the data by paging because it is difficult to cache and it is costly. Please understand.

v1.15.1

15 Jan 12:18
4bd89a7
Compare
Choose a tag to compare

Hi! Today, I made a small fix.

  • Enabled to post int value to float type graph.

v1.15.0

03 Jan 05:18
4bd89a7
Compare
Choose a tag to compare

Renewal service toppage!! https://pixe.la/
A Happy New Year!! 🎉 🎉 🎉

v1.14.0

19 Nov 13:34
4bd89a7
Compare
Choose a tag to compare

It's getting colder, is not it? Please don't catch a cold... ❄️

  • Added support for a new display mode, badge !
    • ex. https://pixe.la/v1/users/a-know/graphs/test-graph?mode=badge
    • When this mode is specified, it is displayed in the badge format often seen in GitHub README.
      • スクリーンショット 2019-11-19 18 37 58
    • This badge represents information for the last 49 days with 7 pixels. That is, one pixel corresponds to one week's worth of information.
    • The type of the graph is used for the badge label text.
    • When pasting this badge on GitHub, I recommend that you specify the GitHub image URL in the purgeCacheURLs of the graph. see: https://docs.pixe.la/entry/put-graph

Combined with the recently released GitHub Actions, you can express your repository's activity in Pixela!

v1.13.0

21 Sep 14:31
89a2700
Compare
Choose a tag to compare

Today, I am announcing a big release!

  • Notification feature has been released!
    • To use this feature, you need to create a Channel with notification methods and a Notification with notification rules.
      • See this page for information on creating Channel.
      • See this page for information on creating Notification.
    • Currently, only slack is available for channel type.
    • Currently, you can only compare posted and updated quantities against thresholds. Four comparison methods are supported:.
    • If you want to create multiple notifications for a graph, you must be a Pixela supporter. see: https://github.com/a-know/Pixela/wiki/How-to-support-Pixela-by-Patreon-%EF%BC%8F-Use-Limited-Features
      • You don't have to be a Pixela supporter to create a single notification for a graph. Anyone can create single notification.

v1.12.1

16 Jun 12:02
89a2700
Compare
Choose a tag to compare

Japan where I am, is now rainy season. ☔️

  • GET /v1/users/<username>/graphs/<graphID>.html supports mode parameter.
    • You can specify either simple or simple-short for mode.
    • You can get a very simple html response by specifying this parameter. Useful in combination with iframe tags.
      • ex. <iframe src="https://pixe.la/v1/users/a-know/graphs/test-graph.html?mode=simple" height="155" width="720" frameborder="0"></iframe>

v1.12.0

02 Jun 03:48
89a2700
Compare
Choose a tag to compare

I will deliver new features for users today! 😄

  • Graph now supports the publishOptionalData property!
    • If this property is true, each pixel's optionalData will be added to the generated SVG data as a data-optional attribute.
      • On the other hand, be careful because the data-tippy-content attribute is removed.
    • This feature is limited for Pixela Supporter.
  • Fixed a problem where the gradation was not good for graphs that consisted only of small values( #9 ).